Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@onekeyfe/cross-inpage-provider-core

Package Overview
Dependencies
Maintainers
2
Versions
135
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 1.1.43 to 1.1.44

8

dist/cjs/debug/browser.js

@@ -21,2 +21,3 @@ "use strict";

const consts_1 = require("../consts");
const lodash_1 = require("lodash");
const ms_1 = __importDefault(require("ms"));

@@ -226,3 +227,8 @@ const storageKey = consts_1.DEBUG_LOGGER_STORAGE_KEY;

else {
yield exportsBrowser.storage.removeItem(storageKey);
if ((0, lodash_1.isNil)(namespaces)) {
yield exportsBrowser.storage.removeItem(storageKey);
}
else {
yield exportsBrowser.storage.setItem(storageKey, '');
}
}

@@ -229,0 +235,0 @@ }

5

dist/cjs/JsBridgeBase.js

@@ -17,8 +17,8 @@ "use strict";

/* eslint-disable @typescript-eslint/ban-ts-comment */
const CrossEventEmitter_1 = require("./CrossEventEmitter");
const isPlainObject_1 = __importDefault(require("lodash/isPlainObject"));
const isString_1 = __importDefault(require("lodash/isString"));
const CrossEventEmitter_1 = require("./CrossEventEmitter");
const loggers_1 = require("./loggers");
const cross_inpage_provider_errors_1 = require("@onekeyfe/cross-inpage-provider-errors");
const cross_inpage_provider_types_1 = require("@onekeyfe/cross-inpage-provider-types");
const cross_inpage_provider_errors_1 = require("@onekeyfe/cross-inpage-provider-errors");
const versionInfo_1 = __importDefault(require("./versionInfo"));

@@ -35,2 +35,3 @@ function toPlainError(errorInfo) {

className: errorInfo.className,
autoToast: errorInfo.autoToast,
};

@@ -37,0 +38,0 @@ }

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const version = '1.1.43';
const version = '1.1.44';
const versionBuild = '2020-0101-1';

@@ -5,0 +5,0 @@ exports.default = {

@@ -16,2 +16,3 @@ /* eslint-disable */

import { DEBUG_LOGGER_STORAGE_KEY } from '../consts';
import { isNil } from 'lodash';
import humanize from 'ms';

@@ -221,3 +222,8 @@ const storageKey = DEBUG_LOGGER_STORAGE_KEY;

else {
yield exportsBrowser.storage.removeItem(storageKey);
if (isNil(namespaces)) {
yield exportsBrowser.storage.removeItem(storageKey);
}
else {
yield exportsBrowser.storage.setItem(storageKey, '');
}
}

@@ -224,0 +230,0 @@ }

import { CrossEventEmitter } from './CrossEventEmitter';
import { IInjectedProviderNamesStrings, IJsBridgeConfig, IJsBridgeMessagePayload, IJsonRpcResponse, IDebugLogger } from '@onekeyfe/cross-inpage-provider-types';
import { IDebugLogger, IInjectedProviderNamesStrings, IJsBridgeConfig, IJsBridgeMessagePayload, IJsonRpcResponse } from '@onekeyfe/cross-inpage-provider-types';
declare function isLegacyExtMessage(payload: unknown): boolean;

@@ -4,0 +4,0 @@ declare abstract class JsBridgeBase extends CrossEventEmitter {

@@ -11,8 +11,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

/* eslint-disable @typescript-eslint/ban-ts-comment */
import { CrossEventEmitter } from './CrossEventEmitter';
import isPlainObject from 'lodash/isPlainObject';
import isString from 'lodash/isString';
import { CrossEventEmitter } from './CrossEventEmitter';
import { appDebugLogger, consoleErrorInDev } from './loggers';
import { web3Errors } from '@onekeyfe/cross-inpage-provider-errors';
import { IJsBridgeMessageTypes, } from '@onekeyfe/cross-inpage-provider-types';
import { web3Errors } from '@onekeyfe/cross-inpage-provider-errors';
import versionInfo from './versionInfo';

@@ -29,2 +29,3 @@ function toPlainError(errorInfo) {

className: errorInfo.className,
autoToast: errorInfo.autoToast,
};

@@ -31,0 +32,0 @@ }

@@ -1,2 +0,2 @@

const version = '1.1.43';
const version = '1.1.44';
const versionBuild = '2020-0101-1';

@@ -3,0 +3,0 @@ export default {

{
"name": "@onekeyfe/cross-inpage-provider-core",
"version": "1.1.43",
"version": "1.1.44",
"keywords": [

@@ -32,5 +32,5 @@ "cross-inpage-provider"

"dependencies": {
"@onekeyfe/cross-inpage-provider-errors": "1.1.43",
"@onekeyfe/cross-inpage-provider-events": "1.1.43",
"@onekeyfe/cross-inpage-provider-types": "1.1.43",
"@onekeyfe/cross-inpage-provider-errors": "1.1.44",
"@onekeyfe/cross-inpage-provider-events": "1.1.44",
"@onekeyfe/cross-inpage-provider-types": "1.1.44",
"events": "^3.3.0",

@@ -40,3 +40,3 @@ "lodash": "^4.17.21",

},
"gitHead": "9be95a09209e5dce1aa2af3847f6f8c48d226624"
"gitHead": "a6b373f9438503447b69f35c407add9d7df9fb35"
}
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