otter-bridge
Advanced tools
Comparing version 0.0.3-alpha.11 to 0.0.3-alpha.12
@@ -27,3 +27,3 @@ declare enum GameType { | ||
constructor(gameType?: GameType, gameName?: string); | ||
private _setSid; | ||
init(): Promise<void>; | ||
env(): Promise<envResult>; | ||
@@ -30,0 +30,0 @@ reportFirebase(params: IFirebaseLogParams): Promise<any>; |
@@ -94,5 +94,4 @@ "use strict"; | ||
console.warn(this._gameType); | ||
this._setSid(); | ||
} | ||
_setSid() { | ||
init() { | ||
return __async(this, null, function* () { | ||
@@ -99,0 +98,0 @@ try { |
{ | ||
"name": "otter-bridge", | ||
"version": "0.0.3-alpha.11", | ||
"version": "0.0.3-alpha.12", | ||
"description": "Otter game web jsbridge", | ||
@@ -5,0 +5,0 @@ "files": [ |
@@ -58,6 +58,5 @@ import URI from "urijs"; | ||
console.warn(this._gameType); | ||
this._setSid(); | ||
} | ||
private async _setSid() { | ||
async init() { | ||
try { | ||
@@ -64,0 +63,0 @@ const sidRes = await OtterBridge.instance.callHandler( |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
36606
686