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.41 to 2.0.0-beta.42

2

dist/connex.min.js.LICENSE.txt

@@ -10,2 +10,4 @@ /*!

/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
/**

@@ -12,0 +14,0 @@ * [js-sha3]{@link https://github.com/emn178/js-sha3}

/// <reference types="@vechain/connex-types" />
/// <reference types="@vechain/connex-framework/dist/driver-interface" />
/** the driver implements vendor methods only */
export declare class DriverVendorOnly implements Connex.Driver {

@@ -21,2 +22,7 @@ private readonly buddy;

}
export declare function create(nodeUrl: string, genesis: Connex.Thor.Block): Connex.Driver;
/**
* create full driver
* @param nodeUrl the url of thor node
* @param genesis the enforced genesis block
*/
export declare function createFull(nodeUrl: string, genesis: Connex.Thor.Block): Connex.Driver;

21

dist/driver.js

@@ -0,8 +1,12 @@

/* eslint-disable @typescript-eslint/no-unused-vars */
import { DriverNoVendor, SimpleNet } from '@vechain/connex-driver';
import { loadLibrary } from './script-loader';
const BUDDY_SRC = 'https://unpkg.com/@vechain/connex-wallet-buddy@0.0';
import randomBytes from 'randombytes';
import { blake2b256 } from 'thor-devkit';
const BUDDY_SRC = 'https://unpkg.com/@vechain/connex-wallet-buddy@0.1';
const BUDDY_LIB_NAME = 'ConnexWalletBuddy';
/** the driver implements vendor methods only */
export class DriverVendorOnly {
constructor(genesisId) {
this.buddy = loadLibrary(BUDDY_SRC, BUDDY_LIB_NAME).then(lib => lib.create(genesisId));
this.buddy = loadLibrary(BUDDY_SRC, BUDDY_LIB_NAME).then(lib => lib.create(genesisId, () => randomBytes(16).toString('hex'), val => blake2b256(val).toString('hex')));
}

@@ -41,7 +45,12 @@ get genesis() { throw new Error('not implemented'); }

const cache = {};
export function create(nodeUrl, genesis) {
const key = JSON.stringify({
/**
* create full driver
* @param nodeUrl the url of thor node
* @param genesis the enforced genesis block
*/
export function createFull(nodeUrl, genesis) {
const key = blake2b256(JSON.stringify({
nodeUrl,
genesis
});
})).toString('hex');
let driver = cache[key];

@@ -53,2 +62,2 @@ if (!driver) {

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJpdmVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL2RyaXZlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsY0FBYyxFQUFFLFNBQVMsRUFBRSxNQUFNLHdCQUF3QixDQUFBO0FBQ2xFLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQTtBQUc3QyxNQUFNLFNBQVMsR0FBRyxvREFBb0QsQ0FBQTtBQUN0RSxNQUFNLGNBQWMsR0FBRyxtQkFBbUIsQ0FBQTtBQUUxQyxNQUFNLE9BQU8sZ0JBQWdCO0lBRXpCLFlBQVksU0FBaUI7UUFDekIsSUFBSSxDQUFDLEtBQUssR0FBRyxXQUFXLENBQ3BCLFNBQVMsRUFDVCxjQUFjLENBQ2pCLENBQUMsSUFBSSxDQUFDLEdBQUcsQ0FBQyxFQUFFLENBQUMsR0FBRyxDQUFDLE1BQU0sQ0FBQyxTQUFTLENBQUMsQ0FBQyxDQUFBO0lBQ3hDLENBQUM7SUFDRCxJQUFJLE9BQU8sS0FBd0IsTUFBTSxJQUFJLEtBQUssQ0FBQyxpQkFBaUIsQ0FBQyxDQUFBLENBQUMsQ0FBQztJQUN2RSxJQUFJLElBQUksS0FBaUMsTUFBTSxJQUFJLEtBQUssQ0FBQyxpQkFBaUIsQ0FBQyxDQUFBLENBQUMsQ0FBQztJQUM3RSxRQUFRLEtBQTBDLE1BQU0sSUFBSSxLQUFLLENBQUMsaUJBQWlCLENBQUMs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E7UUFDdEMsSUFBSSxDQUFDLEVBQUUsR0FBRyxJQUFJLGdCQUFnQixDQUFDLE9BQU8sQ0FBQyxFQUFFLENBQUMsQ0FBQTtJQUM5QyxDQUFDO0lBQ0QsTUFBTSxDQUFDLEdBQTRCLEVBQUUsT0FBZ0M7UUFDakUsT0FBTyxJQUFJLENBQUMsRUFBRSxDQUFDLE1BQU0sQ0FBQyxHQUFHLEVBQUUsT0FBTyxDQUFDLENBQUE7SUFDdkMsQ0FBQztJQUNELFFBQVEsQ0FBQyxHQUE4QixFQUFFLE9BQWtDO1FBQ3ZFLE9BQU8sSUFBSSxDQUFDLEVBQUUsQ0FBQyxRQUFRLENBQUMsR0FBRyxFQUFFLE9BQU8sQ0FBQyxDQUFBO0lBQ3pDLENBQUM7Q0FDSjtBQUVELE1BQU0sS0FBSyxHQUErQixFQUFFLENBQUE7QUFFNUM7Ozs7R0FJRztBQUNILE1BQU0sVUFBVSxVQUFVLENBQUMsT0FBZSxFQUFFLE9BQTBCO0lBQ2xFLE1BQU0sR0FBRyxHQUFHLFVBQVUsQ0FBQyxJQUFJLENBQUMsU0FBUyxDQUFDO1FBQ2xDLE9BQU87UUFDUCxPQUFPO0tBQ1YsQ0FBQyxDQUFDLENBQUMsUUFBUSxDQUFDLEtBQUssQ0FBQyxDQUFBO0lBRW5CLElBQUksTUFBTSxHQUFHLEtBQUssQ0FBQyxHQUFHLENBQUMsQ0FBQTtJQUN2QixJQUFJLENBQUMsTUFBTSxFQUFFO1FBQ1QsS0FBSyxDQUFDLEdBQUcsQ0FBQyxHQUFHLE1BQU0sR0FBRyxJQUFJLFVBQVUsQ0FBQyxPQUFPLEVBQUUsT0FBTyxDQUFDLENBQUE7S0FDekQ7SUFDRCxPQUFPLE1BQU0sQ0FBQTtBQUNqQixDQUFDIn0=
/// <reference types="@vechain/connex-types" />
/// <reference types="@vechain/connex-framework/dist/driver-interface" />
/** Vendor class which can work standalone to provides signing-services only */
declare class VendorClass implements Connex.Vendor {

@@ -11,2 +12,3 @@ sign: Connex.Vendor['sign'];

};
/** Connex class */
declare class ConnexClass implements Connex {

@@ -13,0 +15,0 @@ static readonly Vendor: typeof VendorClass;

import { Framework } from '@vechain/connex-framework';
import { genesisBlocks } from './config';
import { compat1 } from './compat';
import { create as createDriver, DriverVendorOnly } from './driver';
import { createFull, DriverVendorOnly } from './driver';
import { newVendor } from '@vechain/connex-framework';
/** convert options.network to Connex.Thor.Block */
function normalizeNetwork(n) {

@@ -19,2 +20,3 @@ n = n || 'main';

}
/** convert network name to genesis id */
function normalizeGenesisId(id) {

@@ -31,2 +33,3 @@ id = id || 'main';

}
/** Vendor class which can work standalone to provides signing-services only */
class VendorClass {

@@ -36,5 +39,8 @@ constructor(genesisId) {

try {
// to detect injected connex
const injected = (window || {}).connex;
if (injected && injected.thor.genesis.id === genesisId) {
// injected genesis id matched
if (/^1\./.test(injected.version)) {
// wrap v1 vendor to v2
return compat1(injected).vendor;

@@ -50,4 +56,3 @@ }

get sign() {
// eslint-disable-next-line @typescript-eslint/unbound-method
return vendor.sign;
return vendor.sign.bind(vendor);
}

@@ -57,2 +62,3 @@ };

}
/** Connex class */
class ConnexClass {

@@ -62,5 +68,8 @@ constructor(opts) {

try {
// to detect injected connex
const injected = (window || {}).connex;
if (injected && injected.thor.genesis.id === genesis.id) {
// injected genesis id matched
if (/^1\./.test(injected.version)) {
// wrap v1 to v2
return compat1(injected);

@@ -72,3 +81,3 @@ }

catch ( /**/_a) { /**/ }
const driver = createDriver(opts.nodeUrl, genesis);
const driver = createFull(opts.nodeUrl, genesis);
const framework = new Framework(driver);

@@ -84,2 +93,2 @@ return {

export { ConnexClass as Connex };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUF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EsNEJBQTRCO1lBQzVCLE1BQU0sUUFBUSxHQUFJLENBQUMsTUFBTSxJQUFJLEVBQUUsQ0FBUyxDQUFDLE1BQU0sQ0FBQTtZQUMvQyxJQUFJLFFBQVEsSUFBSSxRQUFRLENBQUMsSUFBSSxDQUFDLE9BQU8sQ0FBQyxFQUFFLEtBQUssT0FBTyxDQUFDLEVBQUUsRUFBRTtnQkFDckQsOEJBQThCO2dCQUM5QixJQUFJLE1BQU0sQ0FBQyxJQUFJLENBQUMsUUFBUSxDQUFDLE9BQU8sQ0FBQyxFQUFFO29CQUMvQixnQkFBZ0I7b0JBQ2hCLE9BQU8sT0FBTyxDQUFDLFFBQVEsQ0FBQyxDQUFBO2lCQUMzQjtnQkFDRCxPQUFPLFFBQVEsQ0FBQTthQUNsQjtTQUNKO1FBQUMsUUFBUSxJQUFJLElBQU4sRUFBRSxJQUFJLEVBQUU7UUFFaEIsTUFBTSxNQUFNLEdBQUcsVUFBVSxDQUFDLElBQUksQ0FBQyxPQUFPLEVBQUUsT0FBTyxDQUFDLENBQUE7UUFDaEQsTUFBTSxTQUFTLEdBQUcsSUFBSSxTQUFTLENBQUMsTUFBTSxDQUFDLENBQUE7UUFDdkMsT0FBTztZQUNILElBQUksSUFBSSxLQUFLLE9BQU8sU0FBUyxDQUFDLElBQUksQ0FBQSxDQUFDLENBQUM7WUFDcEMsSUFBSSxNQUFNLEtBQUssT0FBTyxTQUFTLENBQUMsTUFBTSxDQUFBLENBQUMsQ0FBQztTQUMzQyxDQUFBO0lBQ0wsQ0FBQzs7QUExQmUsa0JBQU0sR0FBRyxXQUFXLENBQUE7QUE2QnhDLGVBQWUsV0FBVyxDQUFBO0FBQzFCLE9BQU8sRUFBRSxXQUFXLElBQUksTUFBTSxFQUFFLENBQUEifQ==
{
"name": "@vechain/connex",
"version": "2.0.0-beta.41",
"version": "2.0.0-beta.42",
"description": "Standard interface to connect DApp with VeChain and user",

@@ -37,3 +37,3 @@ "main": "dist/index.js",

"@types/randombytes": "^2.0.0",
"@vechain/connex-wallet-buddy": "0.0.4",
"@vechain/connex-wallet-buddy": "^0.1.0",
"buffer": "^5.6.1",

@@ -47,8 +47,8 @@ "crypto-browserify": "^3.12.0",

"dependencies": {
"@vechain/connex-driver": "^2.0.0-beta.41",
"@vechain/connex-driver": "^2.0.0-beta.42",
"@vechain/connex-framework": "^2.0.0-beta.38",
"detect-browser": "^5.2.0",
"randombytes": "^2.1.0"
"randombytes": "^2.1.0",
"thor-devkit": "^2.0.1"
},
"gitHead": "2a75d5437f5ba83e21e30651853eeb45e15d98b7"
"gitHead": "21b634d68909ced214bf18ce7428b8ca243cc25c"
}

@@ -5,2 +5,4 @@ # Connex

Provides the bundled Connex library running in browser.
## License

@@ -7,0 +9,0 @@

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