🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

sunmi-bridge

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sunmi-bridge - npm Package Compare versions

Comparing version
1.2.1
to
1.2.2
+10
-0
dist/index.d.ts

@@ -19,2 +19,6 @@ /// <reference types="ua-parser-js" />

}
interface pushToSunmiStore {
url: string;
data?: object;
}
interface ShowLoadingOption {

@@ -31,2 +35,6 @@ content?: string;

userId: string;
sunmiStore: {
ssToken: string;
source: string;
};
sunmiOpen: {

@@ -47,2 +55,4 @@ appId: string;

pushWindow(params: SunmiJS.PushWindowOption): void;
pushToSunmiStore(params: SunmiJS.pushToSunmiStore): void;
popSunmiStore(params: any): void;
pushWindowWithClose(params: SunmiJS.PushWindowOption): void;

@@ -49,0 +59,0 @@ callUp(phone: number): void;

@@ -57,2 +57,8 @@ "use strict";

}
pushToSunmiStore(params) {
SunmiJSBridge.call('pushToSunmiStore', params);
}
popSunmiStore(params) {
SunmiJSBridge.call('popSunmiStore', params);
}
// 打开新窗口

@@ -94,2 +100,6 @@ pushWindowWithClose(params) {

userId: '',
sunmiStore: {
ssToken: '',
source: ''
},
sunmiOpen: {

@@ -96,0 +106,0 @@ appId: '',

+1
-1
{
"name": "sunmi-bridge",
"version": "1.2.1",
"version": "1.2.2",
"description": "this is a javascript bridge",

@@ -5,0 +5,0 @@ "main": "dist/index.js",