@onekeyfe/cross-inpage-provider-core
Advanced tools
Comparing version 0.0.10 to 0.0.11
@@ -35,2 +35,3 @@ "use strict"; | ||
__exportStar(require("./JsBridgeSimple"), exports); | ||
__exportStar(require("./JsBridgeIframe"), exports); | ||
__exportStar(require("./CrossEventEmitter"), exports); | ||
@@ -37,0 +38,0 @@ const consts = __importStar(require("./consts")); |
@@ -42,2 +42,3 @@ "use strict"; | ||
exports.isLegacyExtMessage = isLegacyExtMessage; | ||
const globalWindow = typeof window !== 'undefined' ? window : global; | ||
const BRIDGE_EVENTS = { | ||
@@ -163,3 +164,3 @@ message: 'message', | ||
type, | ||
origin: ((_a = global === null || global === void 0 ? void 0 : global.location) === null || _a === void 0 ? void 0 : _a.origin) || '', | ||
origin: ((_a = globalWindow === null || globalWindow === void 0 ? void 0 : globalWindow.location) === null || _a === void 0 ? void 0 : _a.origin) || '', | ||
remoteId, | ||
@@ -166,0 +167,0 @@ scope, |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const version = '0.0.10'; | ||
const version = '0.0.11'; | ||
const versionBuild = '2020-0101-1'; | ||
@@ -5,0 +5,0 @@ exports.default = { |
@@ -7,2 +7,3 @@ export * from './JsBridgeBase'; | ||
export * from './JsBridgeSimple'; | ||
export * from './JsBridgeIframe'; | ||
export * from './CrossEventEmitter'; | ||
@@ -9,0 +10,0 @@ import * as consts from './consts'; |
@@ -7,2 +7,3 @@ export * from './JsBridgeBase'; | ||
export * from './JsBridgeSimple'; | ||
export * from './JsBridgeIframe'; | ||
export * from './CrossEventEmitter'; | ||
@@ -9,0 +10,0 @@ import * as consts from './consts'; |
@@ -35,2 +35,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
} | ||
const globalWindow = typeof window !== 'undefined' ? window : global; | ||
const BRIDGE_EVENTS = { | ||
@@ -156,3 +157,3 @@ message: 'message', | ||
type, | ||
origin: ((_a = global === null || global === void 0 ? void 0 : global.location) === null || _a === void 0 ? void 0 : _a.origin) || '', | ||
origin: ((_a = globalWindow === null || globalWindow === void 0 ? void 0 : globalWindow.location) === null || _a === void 0 ? void 0 : _a.origin) || '', | ||
remoteId, | ||
@@ -159,0 +160,0 @@ scope, |
@@ -1,2 +0,2 @@ | ||
const version = '0.0.10'; | ||
const version = '0.0.11'; | ||
const versionBuild = '2020-0101-1'; | ||
@@ -3,0 +3,0 @@ export default { |
{ | ||
"name": "@onekeyfe/cross-inpage-provider-core", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"keywords": [ | ||
@@ -32,5 +32,5 @@ "cross-inpage-provider" | ||
"dependencies": { | ||
"@onekeyfe/cross-inpage-provider-errors": "^0.0.10", | ||
"@onekeyfe/cross-inpage-provider-events": "^0.0.10", | ||
"@onekeyfe/cross-inpage-provider-types": "^0.0.10", | ||
"@onekeyfe/cross-inpage-provider-errors": "^0.0.11", | ||
"@onekeyfe/cross-inpage-provider-events": "^0.0.11", | ||
"@onekeyfe/cross-inpage-provider-types": "^0.0.11", | ||
"events": "^3.3.0", | ||
@@ -40,3 +40,3 @@ "lodash": "^4.17.21", | ||
}, | ||
"gitHead": "3aee90f0d27a9e231176d5b6568ac6012282a6e1" | ||
"gitHead": "683998581e441551f80819891e7866316fa6d383" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
151368
54
3711
+ Added@onekeyfe/cross-inpage-provider-errors@0.0.11(transitive)
+ Added@onekeyfe/cross-inpage-provider-events@0.0.11(transitive)
+ Added@onekeyfe/cross-inpage-provider-types@0.0.11(transitive)
- Removed@onekeyfe/cross-inpage-provider-errors@0.0.10(transitive)
- Removed@onekeyfe/cross-inpage-provider-events@0.0.10(transitive)
- Removed@onekeyfe/cross-inpage-provider-types@0.0.10(transitive)