@onekeyfe/cross-inpage-provider-core
Advanced tools
Comparing version 2.0.0-alpha.12 to 2.0.0-alpha.13
@@ -31,13 +31,9 @@ "use strict"; | ||
const switchNetworkNotification = (networkChangedText) => { | ||
console.log('====>1'); | ||
if ((0, notification_1.isInSameOriginIframe)()) { | ||
console.log('====>2'); | ||
return; | ||
} | ||
if (instance) { | ||
console.log('====>3'); | ||
instance.dismiss(); | ||
instance = null; | ||
} | ||
console.log('===>4'); | ||
instance = (0, notification_1.default)({ | ||
@@ -44,0 +40,0 @@ dismissible: false, |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const version = '2.0.0-alpha.12'; | ||
const version = '2.0.0-alpha.13'; | ||
const versionBuild = '2020-0101-1'; | ||
@@ -5,0 +5,0 @@ exports.default = { |
@@ -5,13 +5,9 @@ import notification, { isInSameOriginIframe } from "./notification"; | ||
export const switchNetworkNotification = (networkChangedText) => { | ||
console.log('====>1'); | ||
if (isInSameOriginIframe()) { | ||
console.log('====>2'); | ||
return; | ||
} | ||
if (instance) { | ||
console.log('====>3'); | ||
instance.dismiss(); | ||
instance = null; | ||
} | ||
console.log('===>4'); | ||
instance = notification({ | ||
@@ -18,0 +14,0 @@ dismissible: false, |
@@ -1,2 +0,2 @@ | ||
const version = '2.0.0-alpha.12'; | ||
const version = '2.0.0-alpha.13'; | ||
const versionBuild = '2020-0101-1'; | ||
@@ -3,0 +3,0 @@ export default { |
{ | ||
"name": "@onekeyfe/cross-inpage-provider-core", | ||
"version": "2.0.0-alpha.12", | ||
"version": "2.0.0-alpha.13", | ||
"keywords": [ | ||
@@ -32,5 +32,5 @@ "cross-inpage-provider" | ||
"dependencies": { | ||
"@onekeyfe/cross-inpage-provider-errors": "2.0.0-alpha.12", | ||
"@onekeyfe/cross-inpage-provider-events": "2.0.0-alpha.12", | ||
"@onekeyfe/cross-inpage-provider-types": "2.0.0-alpha.12", | ||
"@onekeyfe/cross-inpage-provider-errors": "2.0.0-alpha.13", | ||
"@onekeyfe/cross-inpage-provider-events": "2.0.0-alpha.13", | ||
"@onekeyfe/cross-inpage-provider-types": "2.0.0-alpha.13", | ||
"events": "^3.3.0", | ||
@@ -43,3 +43,3 @@ "lodash-es": "^4.17.21", | ||
}, | ||
"gitHead": "cac152562e94842da458c2c9a8bafc3652aa1fcd" | ||
"gitHead": "db8004374a15e1434a86aad7224d4bd8a35774e2" | ||
} |
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
191967
4923
+ Added@onekeyfe/cross-inpage-provider-errors@2.0.0-alpha.13(transitive)
+ Added@onekeyfe/cross-inpage-provider-events@2.0.0-alpha.13(transitive)
+ Added@onekeyfe/cross-inpage-provider-types@2.0.0-alpha.13(transitive)
- Removed@onekeyfe/cross-inpage-provider-errors@2.0.0-alpha.12(transitive)
- Removed@onekeyfe/cross-inpage-provider-events@2.0.0-alpha.12(transitive)
- Removed@onekeyfe/cross-inpage-provider-types@2.0.0-alpha.12(transitive)
Updated@onekeyfe/cross-inpage-provider-errors@2.0.0-alpha.13
Updated@onekeyfe/cross-inpage-provider-events@2.0.0-alpha.13