1.3.2 • Published 3 years ago
@gosynthschool/game-utils v1.3.2
Usage
Installation
yarn add @gosynthschool/game-utils
Tools
Poll to move to the active game
Add this to your client code:
import { pollGoSynth } from "@gosynthschool/game-utils";
import jwt_decode from "jwt-decode";
//get the current game id
let decodedToken: User = jwt_decode(jwt);
//pass it into the poller
pollGoSynth(decodedToken.game);
Development
To publish this package
any commit to main will release a new version? right? its not working right now.
After publishing, to get the latest in your project
yarn upgrade @gosynthschool/game-utils
1.2.7
3 years ago
1.3.2
3 years ago
1.3.0
3 years ago
1.2.9
3 years ago
1.2.4
4 years ago
1.2.3
4 years ago
1.2.2
4 years ago
1.2.1
4 years ago
1.2.0
4 years ago
1.1.7
4 years ago
1.1.6
4 years ago
1.1.3
4 years ago
1.1.1
4 years ago
1.1.2
4 years ago
1.0.12
4 years ago
1.0.11
4 years ago
1.0.10
4 years ago
1.0.9
4 years ago
1.0.8
4 years ago
1.0.7
4 years ago
1.0.6
4 years ago
1.0.5
4 years ago