@33cn/wallet-js-bridge
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -567,2 +567,2 @@ "use strict"; | ||
} | ||
exports.default = jsBridge; | ||
exports.jsBridge = jsBridge; |
"use strict"; | ||
// import server from "./server"; | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; | ||
result["default"] = mod; | ||
return result; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -15,3 +8,6 @@ // const port = 8080; | ||
// }); | ||
const jsBridge = __importStar(require("./fe33-jsbridge")); | ||
exports.jsBridge = jsBridge; | ||
const fe33_jsbridge_1 = require("./fe33-jsbridge"); | ||
exports.jsBridge = fe33_jsbridge_1.jsBridge; | ||
exports.default = { | ||
jsBridge: fe33_jsbridge_1.jsBridge | ||
}; |
{ | ||
"name": "@33cn/wallet-js-bridge", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -16,3 +16,3 @@ const ANDROID = 1; | ||
export default class jsBridge { | ||
export class jsBridge { | ||
@@ -19,0 +19,0 @@ curApp: number = 1; |
@@ -9,6 +9,10 @@ // import server from "./server"; | ||
import * as jsBridge from './fe33-jsbridge' | ||
import { jsBridge } from './fe33-jsbridge' | ||
export default { | ||
jsBridge: jsBridge | ||
} | ||
export { | ||
jsBridge | ||
} |
45486
1245