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

@vechain/connex

Package Overview
Dependencies
Maintainers
2
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vechain/connex - npm Package Compare versions

Comparing version 2.0.0-beta.28 to 2.0.0-beta.29

7

dist/connex.min.js.LICENSE.txt
/*!
* Determine if an object is a Buffer
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/
/*!
* The buffer module from node.js, for the browser.

@@ -3,0 +10,0 @@ *

12

dist/driver.js

@@ -30,3 +30,7 @@ import { DriverNoVendor, SimpleNet } from '@vechain/connex-driver';

try {
head = JSON.parse(localStorage.getItem(headCacheKey) || '');
const cachedHead = JSON.parse(localStorage.getItem(headCacheKey) || '');
// use the cachedHead if not too old
if (cachedHead.timestamp * 1000 > Date.now() - 3600 * 1000) {
head = cachedHead;
}
}

@@ -36,3 +40,5 @@ catch ( /** */_a) { /** */ }

window.addEventListener('pagehide', () => {
localStorage.setItem(headCacheKey, JSON.stringify(driver.head));
if (driver.head.timestamp > Date.now() - 300 * 1000) {
localStorage.setItem(headCacheKey, JSON.stringify(driver.head));
}
});

@@ -42,2 +48,2 @@ }

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJpdmVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL2RyaXZlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsY0FBYyxFQUFFLFNBQVMsRUFBRSxNQUFNLHdCQUF3QixDQUFBO0FBQ2xFLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQTtBQUc3QyxNQUFNLFNBQVMsR0FBRyxvREFBb0QsQ0FBQTtBQUN0RSxNQUFNLGNBQWMsR0FBRyxtQkFBbUIsQ0FBQTtBQUUxQyxNQUF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BQUksQ0FBQyxHQUFHLEVBQUUsR0FBRyxHQUFHLEdBQUcsSUFBSSxFQUFFO2dCQUNqRCxZQUFZLENBQUMsT0FBTyxDQUFDLFlBQVksRUFBRSxJQUFJLENBQUMsU0FBUyxDQUFDLE1BQU0sQ0FBQyxJQUFJLENBQUMsQ0FBQyxDQUFBO2FBQ2xFO1FBQ0wsQ0FBQyxDQUFDLENBQUE7S0FDTDtJQUNELE9BQU8sTUFBTSxDQUFBO0FBQ2pCLENBQUMifQ==
{
"name": "@vechain/connex",
"version": "2.0.0-beta.28",
"version": "2.0.0-beta.29",
"description": "Standard interface to connect DApp with VeChain and user",

@@ -46,8 +46,8 @@ "main": "dist/index.js",

"dependencies": {
"@vechain/connex-driver": "^2.0.0-beta.23",
"@vechain/connex-framework": "^2.0.0-beta.18",
"@vechain/connex-driver": "^2.0.0-beta.29",
"@vechain/connex-framework": "^2.0.0-beta.29",
"detect-browser": "^5.2.0",
"randombytes": "^2.1.0"
},
"gitHead": "5652ca474acfa0cf7a121d5a16cef89a5568671a"
"gitHead": "bdcbb14c1dd1e75a3e9821c2fed1be46e2992fbb"
}

Sorry, the diff of this file is too big to display

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