otter-bridge
Advanced tools
Comparing version 0.0.3-alpha.10 to 0.0.3-alpha.11
@@ -98,6 +98,9 @@ "use strict"; | ||
return __async(this, null, function* () { | ||
const sidRes = yield OtterBridge.instance.callHandler( | ||
_BridgeHandler.HANDLER_ENUM.getSid | ||
); | ||
this._sid = sidRes; | ||
try { | ||
const sidRes = yield OtterBridge.instance.callHandler( | ||
_BridgeHandler.HANDLER_ENUM.getSid | ||
); | ||
this._sid = sidRes; | ||
} catch (e) { | ||
} | ||
}); | ||
@@ -104,0 +107,0 @@ } |
{ | ||
"name": "otter-bridge", | ||
"version": "0.0.3-alpha.10", | ||
"version": "0.0.3-alpha.11", | ||
"description": "Otter game web jsbridge", | ||
@@ -5,0 +5,0 @@ "files": [ |
@@ -62,2 +62,3 @@ import URI from "urijs"; | ||
private async _setSid() { | ||
try { | ||
const sidRes = await OtterBridge.instance.callHandler( | ||
@@ -67,2 +68,3 @@ BridgeHandler.HANDLER_ENUM.getSid, | ||
this._sid = sidRes; | ||
} catch {} | ||
} | ||
@@ -69,0 +71,0 @@ |
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
36767
689