Socket
Socket
Sign inDemoInstall

@onekeyfe/cross-inpage-provider-core

Package Overview
Dependencies
Maintainers
0
Versions
129
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@onekeyfe/cross-inpage-provider-core - npm Package Compare versions

Comparing version 2.0.0-alpha.12 to 2.0.0-alpha.13

4

dist/cjs/notification/switchNetworkNotification.js

@@ -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,

2

dist/cjs/versionInfo.js
"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"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc