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
132
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 0.0.9 to 0.0.10

9

dist/cjs/injectedFactory.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/* eslint-disable @typescript-eslint/ban-ts-comment */
function createCodeWithScriptTag({ code }) {

@@ -19,7 +20,7 @@ // script id check, only inject once.

const s = document.createElement('script');
s.setAttribute('async', 'false');
s.setAttribute('defer', 'false');
s.setAttribute('data-onekey-injected', 'true');
s.removeAttribute('async');
s.removeAttribute('defer');
s.setAttribute('data-onekey-injected', 'yes');
if (code) {
s.textContent = JSON.stringify(code);
s.textContent = code;
}

@@ -26,0 +27,0 @@ if (file) {

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

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

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

/* eslint-disable @typescript-eslint/ban-ts-comment */
function createCodeWithScriptTag({ code }) {

@@ -17,7 +18,7 @@ // script id check, only inject once.

const s = document.createElement('script');
s.setAttribute('async', 'false');
s.setAttribute('defer', 'false');
s.setAttribute('data-onekey-injected', 'true');
s.removeAttribute('async');
s.removeAttribute('defer');
s.setAttribute('data-onekey-injected', 'yes');
if (code) {
s.textContent = JSON.stringify(code);
s.textContent = code;
}

@@ -24,0 +25,0 @@ if (file) {

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

const version = '0.0.9';
const version = '0.0.10';
const versionBuild = '2020-0101-1';

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

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

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

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

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

},
"gitHead": "1a531ca7434eca9b6704760cb0221df3cfdbe4d5"
"gitHead": "3aee90f0d27a9e231176d5b6568ac6012282a6e1"
}
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