@onekeyfe/cross-inpage-provider-core
Advanced tools
Comparing version 0.0.13 to 0.0.14
@@ -15,7 +15,11 @@ "use strict"; | ||
window.addEventListener('message', (event) => { | ||
// TODO source whitelist | ||
/** | ||
* This origin is not guaranteed to be the current or future origin of the window | ||
* temporarily comment this line | ||
*/ | ||
// if (event.origin !== options.origin) { | ||
// return; | ||
// } | ||
var _a, _b, _c; | ||
// TODO source whitelist | ||
if (event.origin !== options.origin) { | ||
return; | ||
} | ||
const eventData = event.data; | ||
@@ -22,0 +26,0 @@ const config = (_a = options.bridge) === null || _a === void 0 ? void 0 : _a.bridgeConfig; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const version = '0.0.13'; | ||
const version = '0.0.14'; | ||
const versionBuild = '2020-0101-1'; | ||
@@ -5,0 +5,0 @@ exports.default = { |
@@ -12,7 +12,11 @@ /* eslint-disable @typescript-eslint/no-unsafe-call */ | ||
window.addEventListener('message', (event) => { | ||
// TODO source whitelist | ||
/** | ||
* This origin is not guaranteed to be the current or future origin of the window | ||
* temporarily comment this line | ||
*/ | ||
// if (event.origin !== options.origin) { | ||
// return; | ||
// } | ||
var _a, _b, _c; | ||
// TODO source whitelist | ||
if (event.origin !== options.origin) { | ||
return; | ||
} | ||
const eventData = event.data; | ||
@@ -19,0 +23,0 @@ const config = (_a = options.bridge) === null || _a === void 0 ? void 0 : _a.bridgeConfig; |
@@ -1,2 +0,2 @@ | ||
const version = '0.0.13'; | ||
const version = '0.0.14'; | ||
const versionBuild = '2020-0101-1'; | ||
@@ -3,0 +3,0 @@ export default { |
{ | ||
"name": "@onekeyfe/cross-inpage-provider-core", | ||
"version": "0.0.13", | ||
"version": "0.0.14", | ||
"keywords": [ | ||
@@ -32,5 +32,5 @@ "cross-inpage-provider" | ||
"dependencies": { | ||
"@onekeyfe/cross-inpage-provider-errors": "^0.0.13", | ||
"@onekeyfe/cross-inpage-provider-events": "^0.0.13", | ||
"@onekeyfe/cross-inpage-provider-types": "^0.0.13", | ||
"@onekeyfe/cross-inpage-provider-errors": "^0.0.14", | ||
"@onekeyfe/cross-inpage-provider-events": "^0.0.14", | ||
"@onekeyfe/cross-inpage-provider-types": "^0.0.14", | ||
"events": "^3.3.0", | ||
@@ -40,3 +40,3 @@ "lodash": "^4.17.21", | ||
}, | ||
"gitHead": "2dfe2910cf3a333649382f1124c44f7c53c90ecd" | ||
"gitHead": "4f3553ee77ad334d4be4d606455d9533562afdeb" | ||
} |
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
151933
3724
+ Added@onekeyfe/cross-inpage-provider-errors@0.0.14(transitive)
+ Added@onekeyfe/cross-inpage-provider-events@0.0.14(transitive)
+ Added@onekeyfe/cross-inpage-provider-types@0.0.14(transitive)
- Removed@onekeyfe/cross-inpage-provider-errors@0.0.13(transitive)
- Removed@onekeyfe/cross-inpage-provider-events@0.0.13(transitive)
- Removed@onekeyfe/cross-inpage-provider-types@0.0.13(transitive)