1.3.2 • Published 2 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
2 years ago
1.3.2
2 years ago
1.3.0
2 years ago
1.2.9
2 years ago
1.2.4
3 years ago
1.2.3
3 years ago
1.2.2
3 years ago
1.2.1
3 years ago
1.2.0
3 years ago
1.1.7
3 years ago
1.1.6
3 years ago
1.1.3
3 years ago
1.1.1
3 years ago
1.1.2
3 years ago
1.0.12
3 years ago
1.0.11
3 years ago
1.0.10
3 years ago
1.0.9
3 years ago
1.0.8
3 years ago
1.0.7
3 years ago
1.0.6
3 years ago
1.0.5
3 years ago