Skip to content

Commit

Permalink
feat(all): forcing version number upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
rallieon committed Feb 10, 2023
1 parent 951ae3b commit 430a104
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"url": "https://github.com/playhaste/haste-sdk/issues"
},
"dependencies": {
"@hastearcade/models": "^1.4.0",
"@hastearcade/models": "^2.1.0",
"axios": "^0.21.1",
"jsonwebtoken": "^9.0.0",
"jwks-rsa": "^2.0.4"
Expand Down
2 changes: 1 addition & 1 deletion packages/server/src/api/haste.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export class Haste {

public static async getPlayerDetails(playerAccessToken: string, authUrl = 'auth.hastearcade.com') {
if (isBrowser())
throw new Error(`getPlayerDetails may only be called from a server environment. Do not use in browser please.`);
throw new Error(`getPlayerDetails may only be called from a server environment. Do not use in browser.`);
const jwt = await validateAuthenticationToken(playerAccessToken, authUrl);
const playerId = jwt['https://hastearcade.com/playerId'] as string;
const email = jwt['https://hastearcade.com/email'] as string;
Expand Down
2 changes: 1 addition & 1 deletion packages/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"payout"
],
"dependencies": {
"@hastearcade/models": "^1.4.0",
"@hastearcade/models": "^2.1.0",
"@types/axios": "^0.14.0",
"@types/uuid": "^8.3.3",
"axios": "^0.21.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/web/src/api/hasteClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export class HasteClient {
public static build(signinUrl = 'https://authclient.hastearcade.com') {
if (!isBrowser())
throw new Error(
`Haste client build can only be called from a browser based environment. If you are on running @hastearcade/web on a server, please use the server package instead.`,
`Haste client build can only be called from the browser. If you are on running @hastearcade/web on a server, please use the server package instead.`,
);

return new HasteClient({
Expand Down

0 comments on commit 430a104

Please sign in to comment.