diff --git a/package.json b/package.json index f307ddb9..ab7c8c98 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@openforge/capacitor-game-connect", - "version": "1.0.2", + "version": "1.0.3", "description": "Use Game Services and Game Connect", "main": "dist/plugin.cjs.js", "module": "dist/esm/index.js", diff --git a/src/definitions.ts b/src/definitions.ts index 05adf85c..97238388 100644 --- a/src/definitions.ts +++ b/src/definitions.ts @@ -4,7 +4,10 @@ export interface CapacitorGameConnectPlugin { * * */ - signIn(): Promise; + signIn(): Promise<{ + player_name: string; + player_id: string; + }>; /** * * Method to display the Leaderboards