New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

otter-bridge

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

otter-bridge - npm Package Compare versions

Comparing version

to
0.0.3-alpha.0

2

dist/index.d.ts

@@ -10,3 +10,3 @@ declare class BridgeHandlers {

constructor(gameType?: string);
nativeBack(): void;
nativeBack(): Promise<any>;
getToken(): Promise<any>;

@@ -13,0 +13,0 @@ bizRequest(params?: any): Promise<any>;

@@ -77,3 +77,7 @@ "use strict";

nativeBack() {
OtterBridge.instance.callHandler(_BridgeHandlers.HANDLER_ENUM.nativeBack);
return __async(this, null, function* () {
return yield OtterBridge.instance.callHandler(
_BridgeHandlers.HANDLER_ENUM.nativeBack
);
});
}

@@ -80,0 +84,0 @@ getToken() {

{
"name": "otter-bridge",
"version": "0.0.2",
"version": "0.0.3-alpha.0",
"description": "Otter game web jsbridge",

@@ -5,0 +5,0 @@ "files": [

@@ -36,4 +36,6 @@ import Env from "./env";

nativeBack() {
OtterBridge.instance.callHandler(BridgeHandlers.HANDLER_ENUM.nativeBack);
async nativeBack() {
return await OtterBridge.instance.callHandler(
BridgeHandlers.HANDLER_ENUM.nativeBack,
);
}

@@ -40,0 +42,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

Sorry, the diff of this file is not supported yet