New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@tronweb3/tronwallet-abstract-adapter

Package Overview
Dependencies
Maintainers
3
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tronweb3/tronwallet-abstract-adapter - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

4

lib/cjs/adapter.js

@@ -15,2 +15,6 @@ "use strict";

/**
* If adapter is checking the wallet, the state is Loading.
*/
AdapterState["Loading"] = "Loading";
/**
* If wallet is not installed, the state is NotFound.

@@ -17,0 +21,0 @@ */

6

lib/cjs/utils.js

@@ -31,3 +31,3 @@ "use strict";

}
const interval = setInterval(checkAndDispose, 3000);
const interval = setInterval(checkAndDispose, 500);
disposers.push(() => clearInterval(interval));

@@ -43,4 +43,4 @@ if (document.readyState === 'loading') {

checkAndDispose();
// stop all task after 5min
setTimeout(dispose, 5 * 60 * 1000);
// stop all task after 1min
setTimeout(dispose, 60 * 1000);
}

@@ -47,0 +47,0 @@ exports.checkAdapterState = checkAdapterState;

@@ -9,2 +9,6 @@ import EventEmitter from 'eventemitter3';

/**
* If adapter is checking the wallet, the state is Loading.
*/
AdapterState["Loading"] = "Loading";
/**
* If wallet is not installed, the state is NotFound.

@@ -11,0 +15,0 @@ */

@@ -27,3 +27,3 @@ /**

}
const interval = setInterval(checkAndDispose, 3000);
const interval = setInterval(checkAndDispose, 500);
disposers.push(() => clearInterval(interval));

@@ -39,4 +39,4 @@ if (document.readyState === 'loading') {

checkAndDispose();
// stop all task after 5min
setTimeout(dispose, 5 * 60 * 1000);
// stop all task after 1min
setTimeout(dispose, 60 * 1000);
}

@@ -43,0 +43,0 @@ /**

@@ -35,2 +35,6 @@ import EventEmitter from 'eventemitter3';

/**
* If adapter is checking the wallet, the state is Loading.
*/
Loading = "Loading",
/**
* If wallet is not installed, the state is NotFound.

@@ -37,0 +41,0 @@ */

{
"name": "@tronweb3/tronwallet-abstract-adapter",
"version": "1.1.0",
"version": "1.1.1",
"author": "tronprotocol",

@@ -5,0 +5,0 @@ "repository": {

@@ -39,2 +39,6 @@ import EventEmitter from 'eventemitter3';

/**
* If adapter is checking the wallet, the state is Loading.
*/
Loading = 'Loading',
/**
* If wallet is not installed, the state is NotFound.

@@ -41,0 +45,0 @@ */

@@ -30,3 +30,3 @@ /**

const interval = setInterval(checkAndDispose, 3000);
const interval = setInterval(checkAndDispose, 500);
disposers.push(() => clearInterval(interval));

@@ -44,4 +44,4 @@

checkAndDispose();
// stop all task after 5min
setTimeout(dispose, 5 * 60 * 1000);
// stop all task after 1min
setTimeout(dispose, 60 * 1000);
}

@@ -48,0 +48,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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