diff --git a/package.json b/package.json index 95c4f3e..3f34bdf 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "aptoplay-core", "author": "Catze-Labs", "license": "MIT", - "version": "1.0.4", + "version": "1.0.5", "description": "Aptos Gaming TS library", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/src/AptoPlay.ts b/src/AptoPlay.ts index 46f76ff..0e80b5f 100644 --- a/src/AptoPlay.ts +++ b/src/AptoPlay.ts @@ -275,7 +275,9 @@ export class AptoPlay { * @param {string} sessionTicket - The sessionTicket generated by PlayFab when user login or register. * @returns {string} Return PlayFabId of user. */ - public async validateAndGetPlayFabIdBySessionTicket(sessionTicket: string) { + public async validateAndGetPlayFabIdBySessionTicket( + sessionTicket: string + ): Promise { const path = '/Server/AuthenticateSessionTicket'; const params = { SessionTicket: sessionTicket