@vechain/connex
Advanced tools
Comparing version 2.0.11 to 2.0.12
@@ -5,3 +5,3 @@ /// <reference types="@vechain/connex-types" /> | ||
export declare function compat1(connex1: Connex1): Connex; | ||
declare interface Connex1 { | ||
export declare interface Connex1 { | ||
readonly version: string; | ||
@@ -11,3 +11,3 @@ readonly thor: Connex1.Thor; | ||
} | ||
declare namespace Connex1 { | ||
export declare namespace Connex1 { | ||
interface Thor { | ||
@@ -107,2 +107,4 @@ readonly genesis: Thor.Block; | ||
transactions: string[]; | ||
com?: boolean; | ||
isFinalized?: boolean; | ||
isTrunk: boolean; | ||
@@ -271,2 +273,1 @@ }; | ||
} | ||
export {}; |
@@ -22,3 +22,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
const s = t1.status; | ||
return Object.assign(Object.assign({}, s), { head: Object.assign(Object.assign({}, s.head), { gasLimit: 20000000 }) }); | ||
return Object.assign(Object.assign({}, s), { head: Object.assign(Object.assign({}, s.head), { gasLimit: 20000000 }), finalized: '0000000000000000000000000000000000000000000000000000000000000000' }); | ||
}, | ||
@@ -237,2 +237,2 @@ ticker: () => { | ||
}; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcGF0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL2NvbXBhdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7QUFBQSxPQUFPLEVBQUUsR0FBRyxFQUFFLE1BQU0sYUFBYSxDQUFBO0FBQ2pDLE9BQU8sS0FBSyxDQUFDLE1BQU0sc0NBQXNDLENBQUE7QUFFekQsbUNBQW1DO0FBQ25DLE1BQU0sVUFBVSxPQUFPLENBQUMsT0FBZ0I7SUFDcEMsTUFBTSxFQUFFLEdBQUcsT0FBTyxDQUFDLElBQUksQ0FBQTtJQUN2QixNQUFNLEVBQUUsR0FBRyxPQUFPLENBQUMsTUFBTSxDQUFBO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QUFBLENBQUMsQ0FBQztnQkFDekMsS0FBSyxLQUFLLE9BQU8sQ0FBQyxJQUFJLENBQUMsc0RBQXNELENBQUMsQ0FBQyxDQUFDLE9BQU8sSUFBSSxDQUFBLENBQUMsQ0FBQztnQkFDN0YsS0FBSyxDQUFDLE1BQU0sRUFBRSxLQUFLO29CQUNmLE9BQU8sTUFBTSxDQUFDLEtBQUssQ0FBQyxNQUFNLEVBQUUsS0FBSyxDQUFDLENBQUMsSUFBSSxDQUFDLE1BQU0sQ0FBQyxFQUFFLENBQUMsTUFBTSxDQUFDLEdBQUcsQ0FBQyxDQUFDLENBQUMsRUFBRTt3QkFDN0QsTUFBTSxLQUFLLG1DQUF5RSxDQUFDLEtBQUUsT0FBTyxFQUFFLEVBQUUsR0FBQyxDQUFBO3dCQUNuRyxLQUFLLENBQUMsT0FBTyxHQUFHLEtBQUssQ0FBQyxNQUFNLENBQUMsS0FBSyxDQUFDLElBQUksRUFBRSxLQUFLLENBQUMsTUFBTSxDQUFDLENBQUE7d0JBQ3RELE9BQU8sS0FBSyxDQUFBO29CQUNoQixDQUFDLENBQUMsQ0FBQyxDQUFBO2dCQUNQLENBQUM7YUFDSixDQUFBO1FBQ0wsQ0FBQztLQUNKLENBQUE7QUFDTCxDQUFDLENBQUEifQ== |
/// <reference types="@vechain/connex-types" /> | ||
/// <reference types="@vechain/connex-framework/dist/driver-interface" /> | ||
import type * as ConnexWalletBuddy from '@vechain/connex-wallet-buddy'; | ||
declare type ConnexSigner = ReturnType<typeof ConnexWalletBuddy.create>; | ||
export declare type ExtensionSigner = { | ||
newConnexSigner: (genesisId: string) => ConnexSigner; | ||
}; | ||
/** the driver implements vendor methods only */ | ||
export declare class DriverVendorOnly implements Connex.Driver { | ||
private readonly buddy; | ||
constructor(genesisId: string); | ||
private readonly signer; | ||
constructor(genesisId: string, useExtension: boolean); | ||
get genesis(): Connex.Thor.Block; | ||
@@ -21,2 +26,3 @@ get head(): Connex.Thor.Status['head']; | ||
signCert(msg: Connex.Vendor.CertMessage, options: Connex.Driver.CertOptions): Promise<Connex.Vendor.CertResponse>; | ||
private initSigner; | ||
} | ||
@@ -28,2 +34,3 @@ /** | ||
*/ | ||
export declare function createFull(node: string, genesis: Connex.Thor.Block): Connex.Driver; | ||
export declare function createFull(node: string, genesis: Connex.Thor.Block, useExtension: boolean): Connex.Driver; | ||
export {}; |
@@ -10,4 +10,4 @@ /* eslint-disable @typescript-eslint/no-unused-vars */ | ||
export class DriverVendorOnly { | ||
constructor(genesisId) { | ||
this.buddy = loadLibrary(BUDDY_SRC, BUDDY_LIB_NAME).then(lib => lib.create(genesisId, () => randomBytes(16).toString('hex'), val => blake2b256(val).toString('hex'))); | ||
constructor(genesisId, useExtension) { | ||
this.signer = this.initSigner(genesisId, useExtension); | ||
} | ||
@@ -27,13 +27,19 @@ get genesis() { throw new Error('not implemented'); } | ||
signTx(msg, options) { | ||
return this.buddy.then(b => b.signTx(msg, options)); | ||
return this.signer.then(b => b.signTx(msg, options)); | ||
} | ||
signCert(msg, options) { | ||
return this.buddy.then(b => b.signCert(msg, options)); | ||
return this.signer.then(b => b.signCert(msg, options)); | ||
} | ||
initSigner(genesisId, useExtension) { | ||
if (useExtension) { | ||
return Promise.resolve(window.vechain.newConnexSigner(genesisId)); | ||
} | ||
return loadLibrary(BUDDY_SRC, BUDDY_LIB_NAME).then(lib => lib.create(genesisId, () => randomBytes(16).toString('hex'), val => blake2b256(val).toString('hex'))); | ||
} | ||
} | ||
/** fully implemented Connex.Driver */ | ||
class FullDriver extends DriverNoVendor { | ||
constructor(node, genesis) { | ||
constructor(node, genesis, useExtension) { | ||
super(new SimpleNet(node), genesis); | ||
this.vd = new DriverVendorOnly(genesis.id); | ||
this.vd = new DriverVendorOnly(genesis.id, useExtension); | ||
} | ||
@@ -53,13 +59,14 @@ signTx(msg, options) { | ||
*/ | ||
export function createFull(node, genesis) { | ||
export function createFull(node, genesis, useExtension) { | ||
const key = blake2b256(JSON.stringify({ | ||
node, | ||
genesis | ||
genesis, | ||
useExtension | ||
})).toString('hex'); | ||
let driver = cache[key]; | ||
if (!driver) { | ||
cache[key] = driver = new FullDriver(node, genesis); | ||
cache[key] = driver = new FullDriver(node, genesis, useExtension); | ||
} | ||
return driver; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJpdmVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL2RyaXZlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxzREFBc0Q7QUFDdEQsT0FBTyxFQUFFLGNBQWMsRUFBRSxTQUFTLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQTtBQUNsRSxPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0saUJBQWlCLENBQUE7QUFFN0MsT0FBTyxXQUFXLE1BQU0sYUFBYSxDQUFBO0FBQ3JDLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxhQUFhLENBQUE7QUFFeEMsTUFBTSxTQUFTLEdBQUcsb0RBQW9ELENBQUE7QUFDdEUsTUFBTSxjQUFjLEdBQUcsbUJBQW1CLENBQUE7QUFFMUMsZ0RBQWdEO0FBQ2hELE1BQU0sT0FBTyxnQkFBZ0I7SUFFekIsWUFBWSxTQUFpQjtRQUN6QixJQUFJLENBQUMsS0FBSyxHQUFHLFdBQVcsQ0FDcEIsU0FBUyxFQUNULGNBQWMsQ0FDakIsQ0FBQyxJQUFJLENBQUMsR0FBRyxDQUFDLEVBQUUsQ0FBQyxHQUFHLENBQUMsTUFBTSxDQUNwQixTQUFTLEVBQ1QsR0FBRyxFQUFFLENBQUMsV0FBVyxDQUFDLEVBQUUsQ0FBQyxDQUFDLFFBQVEsQ0FBQyxLQUFLLENBQUMsRUFDckMsR0FBRyxDQUFDLEVBQUUsQ0FBQyxVQUFVLENBQUMsR0FBRyxDQUFDLENBQUMsUUFBUSxDQUFDLEtBQUssQ0FBQyxDQUN6QyxD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dBQUcsRUFBRSxPQUFPLENBQUMsQ0FBQTtJQUN6QyxDQUFDO0NBQ0o7QUFFRCxNQUFNLEtBQUssR0FBK0IsRUFBRSxDQUFBO0FBRTVDOzs7O0dBSUc7QUFDSCxNQUFNLFVBQVUsVUFBVSxDQUFDLElBQVksRUFBRSxPQUEwQixFQUFFLFlBQXFCO0lBQ3RGLE1BQU0sR0FBRyxHQUFHLFVBQVUsQ0FBQyxJQUFJLENBQUMsU0FBUyxDQUFDO1FBQ2xDLElBQUk7UUFDSixPQUFPO1FBQ1AsWUFBWTtLQUNmLENBQUMsQ0FBQyxDQUFDLFFBQVEsQ0FBQyxLQUFLLENBQUMsQ0FBQTtJQUVuQixJQUFJLE1BQU0sR0FBRyxLQUFLLENBQUMsR0FBRyxDQUFDLENBQUE7SUFDdkIsSUFBSSxDQUFDLE1BQU0sRUFBRTtRQUNULEtBQUssQ0FBQyxHQUFHLENBQUMsR0FBRyxNQUFNLEdBQUcsSUFBSSxVQUFVLENBQUMsSUFBSSxFQUFFLE9BQU8sRUFBRSxZQUFZLENBQUMsQ0FBQTtLQUNwRTtJQUNELE9BQU8sTUFBTSxDQUFBO0FBQ2pCLENBQUMifQ== |
/// <reference types="@vechain/connex-types" /> | ||
/// <reference types="@vechain/connex-framework/dist/driver-interface" /> | ||
import { Connex1 } from './compat'; | ||
import { ExtensionSigner } from './driver'; | ||
declare global { | ||
interface Window { | ||
connex?: Connex1; | ||
vechain?: ExtensionSigner; | ||
} | ||
} | ||
/** Vendor class which can work standalone to provides signing-services only */ | ||
declare class VendorClass implements Connex.Vendor { | ||
sign: Connex.Vendor['sign']; | ||
constructor(genesisId?: 'main' | 'test' | string); | ||
constructor(genesisId?: 'main' | 'test' | string, noV1Compat?: boolean, noExtension?: boolean); | ||
} | ||
@@ -20,2 +28,4 @@ /** options for creating Connex object */ | ||
noV1Compat?: boolean; | ||
/** the flag to disable compatible vechain browser extensions */ | ||
noExtension?: boolean; | ||
}; | ||
@@ -22,0 +32,0 @@ /** Connex class */ |
@@ -34,18 +34,21 @@ import { Framework } from '@vechain/connex-framework'; | ||
class VendorClass { | ||
constructor(genesisId) { | ||
constructor(genesisId, noV1Compat = false, noExtension = false) { | ||
genesisId = normalizeGenesisId(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; | ||
if (!noV1Compat) { | ||
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; | ||
} | ||
} | ||
return injected.vendor; | ||
} | ||
catch ( /**/_a) { /**/ } | ||
} | ||
catch ( /**/_a) { /**/ } | ||
const driver = new DriverVendorOnly(genesisId); | ||
// detect the extension injected vechain | ||
const useExtension = !noExtension && !!window.vechain; | ||
const driver = new DriverVendorOnly(genesisId, useExtension); | ||
const vendor = newVendor(driver); | ||
@@ -66,3 +69,3 @@ return { | ||
// to detect injected connex | ||
const injected = (window || {}).connex; | ||
const injected = window.connex; | ||
if (injected && injected.thor.genesis.id === genesis.id) { | ||
@@ -78,3 +81,5 @@ // injected genesis id matched | ||
} | ||
const driver = createFull(opts.node, genesis); | ||
// detect the extension injected vechain | ||
const useExtension = !opts.noExtension && !!window.vechain; | ||
const driver = createFull(opts.node, genesis, useExtension); | ||
const framework = new Framework(driver); | ||
@@ -90,2 +95,2 @@ return { | ||
export { ConnexClass as Connex }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVM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QUMsQ0FBQTtRQUMzRCxNQUFNLFNBQVMsR0FBRyxJQUFJLFNBQVMsQ0FBQyxNQUFNLENBQUMsQ0FBQTtRQUN2QyxPQUFPO1lBQ0gsSUFBSSxJQUFJLEtBQUssT0FBTyxTQUFTLENBQUMsSUFBSSxDQUFBLENBQUMsQ0FBQztZQUNwQyxJQUFJLE1BQU0sS0FBSyxPQUFPLFNBQVMsQ0FBQyxNQUFNLENBQUEsQ0FBQyxDQUFDO1NBQzNDLENBQUE7SUFDTCxDQUFDOztBQTdCZSxrQkFBTSxHQUFHLFdBQVcsQ0FBQTtBQWdDeEMsZUFBZSxXQUFXLENBQUE7QUFDMUIsT0FBTyxFQUFFLFdBQVcsSUFBSSxNQUFNLEVBQUUsQ0FBQSJ9 |
{ | ||
"name": "@vechain/connex", | ||
"version": "2.0.11", | ||
"version": "2.0.12", | ||
"description": "Standard interface to connect DApp with VeChain and user", | ||
@@ -46,8 +46,8 @@ "main": "dist/connex.js", | ||
"dependencies": { | ||
"@vechain/connex-driver": "^2.0.10", | ||
"@vechain/connex-framework": "^2.0.10", | ||
"@vechain/connex-driver": "^2.0.12", | ||
"@vechain/connex-framework": "^2.0.12", | ||
"randombytes": "^2.1.0", | ||
"thor-devkit": "^2.0.5" | ||
}, | ||
"gitHead": "5f3fd4abdf42500c372b585e41f31d52ca2fd48f" | ||
"gitHead": "8c6f2e9a8e7a2836e91388281c088552bf8f64c3" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3962076
27960