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

@vechain/connex-driver

Package Overview
Dependencies
Maintainers
2
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vechain/connex-driver - npm Package Compare versions

Comparing version 1.2.1 to 2.0.0-2.0.0-beta.5.0

8

dist/cache.d.ts

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

/// <reference types="@vechain/connex" />
/// <reference types="@vechain/connex-types" />
export declare class Cache {

@@ -11,3 +11,3 @@ private readonly irreversible;

getTx(txid: string, fetch: () => Promise<Connex.Thor.Transaction | null>): Promise<Connex.Thor.Transaction | null>;
getReceipt(txid: string, fetch: () => Promise<Connex.Thor.Receipt | null>): Promise<Connex.Thor.Receipt | null>;
getReceipt(txid: string, fetch: () => Promise<Connex.Thor.Transaction.Receipt | null>): Promise<Connex.Thor.Transaction.Receipt | null>;
getAccount(addr: string, revision: string, fetch: () => Promise<Connex.Thor.Account>): Promise<Connex.Thor.Account>;

@@ -19,8 +19,8 @@ /**

* @param fetch to fetch value when cache missing
* @param ties array of tied addresses, as the gist to invalidate cache key. undefined means the key is always
* @param hints array of tied addresses, as the gist to invalidate cache key. undefined means the key is always
* invalidated on different revision.
*/
getTied(key: string, revision: string, fetch: () => Promise<any>, ties?: string[]): Promise<any>;
getTied(key: string, revision: string, fetch: () => Promise<any>, hints?: string[]): Promise<any>;
private findSlot;
private isIrreversible;
}

@@ -12,2 +12,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.Cache = void 0;
const LRU = require("lru-cache");

@@ -153,6 +154,6 @@ const bloom_1 = require("thor-devkit/dist/bloom");

* @param fetch to fetch value when cache missing
* @param ties array of tied addresses, as the gist to invalidate cache key. undefined means the key is always
* @param hints array of tied addresses, as the gist to invalidate cache key. undefined means the key is always
* invalidated on different revision.
*/
getTied(key, revision, fetch, ties) {
getTied(key, revision, fetch, hints) {
return __awaiter(this, void 0, void 0, function* () {

@@ -169,7 +170,7 @@ const found = this.findSlot(revision);

}
if (!slot.bloom || !ties) {
if (!slot.bloom || !hints) {
break;
}
// if ties.length === 0, never invalidate cache
if (ties.some(t => testBytesHex(slot.bloom, t))) {
// if hints.length === 0, never invalidate cache
if (hints.some(t => testBytesHex(slot.bloom, t))) {
// might be dirty

@@ -233,2 +234,2 @@ break;

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FjaGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvY2FjaGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7QUFBQSxpQ0FBZ0M7QUFDaEMsa0RBQThDO0FBQzlDLCtDQUFvQztBQUVwQyxNQUFNLFVBQVUsR0FBRyxFQUFFLENBQUE7QUFZckIsTUFBYSxLQUFLO0lBQWxCO1FBQ3FCLGlCQUFZLEdBQUc7WUFDNUIsTUFBTSxFQUFFLElBQUksR0FBRyxDQUFxQyxHQUFHLENBQUM7WUFDeEQsR0FBRyxFQUFFLElBQUksR0FBRyxDQUFrQyxHQUFHLENBQUM7WUFDbEQsUUFBUSxFQUFFLElBQUksR0FBRyxDQUE4QixHQUFHLENBQUM7U0FDdEQsQ0FBQTtRQUNnQixXQUFNLEdBQVcsRUFBRSxDQUFBO0lBc054QyxDQUFDO0lBcE5VLGNBQWMsQ0FDakIsSUFBZ0MsRUFDaEMsS0FBbUMsRUFDbkMsS0FBeUI7UUFFekIsT0FBTyxJQUFJLENBQUMsTUFBTSxDQUFDLE1BQU0sR0FBRyxDQUFDLEVBQUU7WUFDM0IsTUFBTSxHQUFHLEdBQUcsSUFBSSxDQUFDLE1BQU0sQ0FBQyxJQUFJLENBQUMsTUFBTSxDQUFDLE1BQU0sR0FBRyxDQUFDLENBQUMsQ0FBQTtZQUMvQyxJQUFJLEdBQUcsQ0FBQyxFQUFFLEtBQUssSUFBSSxDQUFDLEVBQUUsRU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0FBRyxDQUFDLE9BQU8sQ0FBQzthQUN4QyxLQUFLLENBQUMsU0FBUyxHQUFHLElBQUksQ0FBQyxhQUFhLENBQUM7YUFDckMsS0FBSyxDQUFDLGtCQUFrQixDQUFDO2FBQ3pCLGtCQUFrQixDQUFDLElBQUksQ0FBQzthQUN4QixJQUFJLENBQUMsSUFBSSxDQUFDLEdBQUcsQ0FBQyxNQUFNLENBQUM7YUFDckIsUUFBUSxDQUFDLEVBQUUsQ0FBQyxDQUFBO0lBQ3JCLENBQUM7Q0FDSiJ9

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

export declare function sleep(ms: number): Promise<unknown>;
export declare function sleep(ms: number): Promise<void>;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.sleep = void 0;
function sleep(ms) {

@@ -7,2 +8,2 @@ return new Promise(resolve => setTimeout(resolve, ms));

exports.sleep = sleep;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL2NvbW1vbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUNBLFNBQWdCLEtBQUssQ0FBQyxFQUFVO0lBQzVCLE9BQU8sSUFBSSxPQUFPLENBQUMsT0FBTyxDQUFDLEVBQUUsQ0FBQyxVQUFVLENBQUMsT0FBTyxFQUFFLEVBQUUsQ0FBQyxDQUFDLENBQUE7QUFDMUQsQ0FBQztBQUZELHNCQUVDIn0=
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL2NvbW1vbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFDQSxTQUFnQixLQUFLLENBQUMsRUFBVTtJQUM1QixPQUFPLElBQUksT0FBTyxDQUFDLE9BQU8sQ0FBQyxFQUFFLENBQUMsVUFBVSxDQUFDLE9BQU8sRUFBRSxFQUFFLENBQUMsQ0FBQyxDQUFBO0FBQzFELENBQUM7QUFGRCxzQkFFQyJ9
/// <reference types="node" />
/// <reference types="@vechain/connex-framework/dist/driver-interface" />
import * as Http from 'http';
import * as Https from 'https';
import { DriverInterface } from './driver-interface';
export declare class DriverHost {

@@ -12,3 +12,3 @@ private readonly wss;

export declare namespace DriverHost {
type Acceptor = (ws: WebSocket, request: Http.IncomingMessage, genesisId?: string) => Promise<DriverInterface>;
type Acceptor = (ws: WebSocket, request: Http.IncomingMessage, genesisId?: string) => Promise<Connex.Driver>;
}

@@ -12,5 +12,5 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.DriverHost = void 0;
const WS = require("ws/index");
const json_rpc_1 = require("@vechain/json-rpc");
const options_1 = require("./options");
const methods = [

@@ -29,3 +29,2 @@ 'pollHead',

'signCert',
'isAddressOwned',
];

@@ -38,5 +37,5 @@ class DriverHost {

});
this.wss.on('connection', (ws, req) => __awaiter(this, void 0, void 0, function* () {
this.wss.on('connection', (ws, req) => {
this.handleConnection(ws, req, acceptor);
}));
});
}

@@ -57,6 +56,4 @@ close() {

rpc.receive(data, isRequest).catch(err => {
if (!options_1.options.disableErrorLog) {
// tslint:disable-next-line: no-console
console.warn('receive jsonrpc payload: ', err);
}
// tslint:disable-next-line: no-console
console.warn('receive jsonrpc payload: ', err);
});

@@ -83,2 +80,3 @@ });

}
// eslint-disable-next-line @typescript-eslint/no-unsafe-call
return driver[method](...args);

@@ -91,2 +89,2 @@ };

exports.DriverHost = DriverHost;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJpdmVyLWhvc3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvZHJpdmVyLWhvc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7QUFBQSwrQkFBOEI7QUFDOUIsZ0RBQT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WlDLENBQUE7UUFFckMsR0FBRyxDQUFDLEtBQUssQ0FBQyxNQUFNLENBQUMsRUFBRTtZQUNmLElBQUksTUFBTSxLQUFLLFNBQVMsRUFBRTtnQkFDdEIsT0FBTyxDQUFPLFNBQWtCLEVBQUUsRUFBRTtvQkFDaEMsSUFBSSxNQUFNLEVBQUU7d0JBQ1IsTUFBTSxJQUFJLEtBQUssQ0FBQyxrQkFBa0IsQ0FBQyxDQUFBO3FCQUN0QztvQkFDRCxNQUFNLEdBQUcsTUFBTSxRQUFRLENBQUMsRUFBUyxFQUFFLEdBQUcsRUFBRSxTQUFTLENBQUMsQ0FBQTtvQkFDbEQsT0FBTzt3QkFDSCxPQUFPLEVBQUUsTUFBTSxDQUFDLE9BQU87d0JBQ3ZCLElBQUksRUFBRSxNQUFNLENBQUMsSUFBSTtxQkFDcEIsQ0FBQTtnQkFDTCxDQUFDLENBQUEsQ0FBQTthQUNKO1lBQ0QsSUFBSSxPQUFPLENBQUMsUUFBUSxDQUFDLE1BQWEsQ0FBQyxFQUFFO2dCQUNqQyxPQUFPLENBQUMsR0FBRyxJQUFXLEVBQUUsRUFBRTtvQkFDdEIsSUFBSSxDQUFDLE1BQU0sRUFBRTt3QkFDVCxNQUFNLElBQUksS0FBSyxDQUFDLGNBQWMsQ0FBQyxDQUFBO3FCQUNsQztvQkFDRCw2REFBNkQ7b0JBQzdELE9BQVEsTUFBYyxDQUFDLE1BQU0sQ0FBQyxDQUFDLEdBQUcsSUFBSSxDQUFDLENBQUE7Z0JBQzNDLENBQUMsQ0FBQTthQUNKO1FBQ0wsQ0FBQyxDQUFDLENBQUE7SUFDTixDQUFDO0NBQ0o7QUEvREQsZ0NBK0RDIn0=

@@ -1,7 +0,7 @@

/// <reference types="@vechain/connex" />
/// <reference types="@vechain/connex-types" />
/// <reference types="@vechain/connex-framework/dist/driver-interface" />
import { Net } from './interfaces';
import { DriverInterface } from './driver-interface';
/** class implements DriverInterface leaves out Vendor related methods */
export declare class DriverNoVendor implements DriverInterface {
private readonly net;
/** class implements Connex.Driver leaves out Vendor related methods */
export declare class DriverNoVendor implements Connex.Driver {
protected readonly net: Net;
readonly genesis: Connex.Thor.Block;

@@ -15,21 +15,14 @@ head: Connex.Thor.Status['head'];

close(): void;
pollHead(): Promise<{
id: string;
number: number;
timestamp: number;
parentID: string;
txsFeatures?: number | undefined;
}>;
pollHead(): Promise<Connex.Thor.Status['head']>;
getBlock(revision: string | number): Promise<Connex.Thor.Block | null>;
getTransaction(id: string, allowPending: boolean): Promise<Connex.Thor.Transaction | null>;
getReceipt(id: string): Promise<Connex.Thor.Receipt | null>;
getReceipt(id: string): Promise<Connex.Thor.Transaction.Receipt | null>;
getAccount(addr: string, revision: string): Promise<Connex.Thor.Account>;
getCode(addr: string, revision: string): Promise<any>;
getStorage(addr: string, key: string, revision: string): Promise<any>;
explain(arg: DriverInterface.ExplainArg, revision: string, cacheTies?: string[]): Promise<any>;
filterEventLogs(arg: DriverInterface.FilterEventLogsArg): Promise<any>;
filterTransferLogs(arg: DriverInterface.FilterTransferLogsArg): Promise<any>;
signTx(msg: DriverInterface.SignTxArg, option: DriverInterface.SignTxOption): Promise<DriverInterface.SignTxResult>;
signCert(msg: DriverInterface.SignCertArg, options: DriverInterface.SignCertOption): Promise<DriverInterface.SignCertResult>;
isAddressOwned(addr: string): Promise<boolean>;
getCode(addr: string, revision: string): Promise<Connex.Thor.Account.Code>;
getStorage(addr: string, key: string, revision: string): Promise<Connex.Thor.Account.Storage>;
explain(arg: Connex.Driver.ExplainArg, revision: string, cacheHints?: string[]): Promise<Connex.VM.Output[]>;
filterEventLogs(arg: Connex.Driver.FilterEventLogsArg): Promise<Connex.Thor.Filter.Row<'event'>[]>;
filterTransferLogs(arg: Connex.Driver.FilterTransferLogsArg): Promise<Connex.Thor.Filter.Row<'transfer'>[]>;
signTx(msg: Connex.Vendor.TxMessage, options: Connex.Driver.TxOptions): Promise<Connex.Vendor.TxResponse>;
signCert(msg: Connex.Vendor.CertMessage, options: Connex.Driver.CertOptions): Promise<Connex.Vendor.CertResponse>;
protected mergeRequest(req: () => Promise<any>, ...keyParts: any[]): Promise<any>;

@@ -36,0 +29,0 @@ protected httpGet(path: string, query?: Record<string, string>): Promise<any>;

@@ -12,2 +12,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.DriverNoVendor = void 0;
const promint_1 = require("./promint");

@@ -17,4 +18,3 @@ const cache_1 = require("./cache");

const common_1 = require("./common");
const options_1 = require("./options");
/** class implements DriverInterface leaves out Vendor related methods */
/** class implements Connex.Driver leaves out Vendor related methods */
class DriverNoVendor {

@@ -41,3 +41,3 @@ constructor(net, genesis, initialHead) {

}
this.headTrackerLoop();
void this.headTrackerLoop();
}

@@ -78,5 +78,5 @@ // close the driver to prevent mem leak

}
explain(arg, revision, cacheTies) {
explain(arg, revision, cacheHints) {
const cacheKey = `explain-${blake2b_1.blake2b256(JSON.stringify(arg)).toString('hex')}`;
return this.cache.getTied(cacheKey, revision, () => this.httpPost('accounts/*', arg, { revision }), cacheTies);
return this.cache.getTied(cacheKey, revision, () => this.httpPost('accounts/*', arg, { revision }), cacheHints);
}

@@ -91,3 +91,3 @@ filterEventLogs(arg) {

}
signTx(msg, option) {
signTx(msg, options) {
throw new Error('not implemented');

@@ -98,5 +98,2 @@ }

}
isAddressOwned(addr) {
return Promise.resolve(false);
}
//////

@@ -106,2 +103,3 @@ mergeRequest(req, ...keyParts) {

const pending = this.pendingRequests[key];
// eslint-disable-next-line @typescript-eslint/no-misused-promises
if (pending) {

@@ -172,6 +170,2 @@ return pending;

catch (err) {
if (!options_1.options.disableErrorLog) {
// tslint:disable-next-line: no-console
console.warn('headTracker(http):', err);
}
if (err instanceof promint_1.InterruptedError) {

@@ -186,6 +180,2 @@ break;

catch (err) {
if (!options_1.options.disableErrorLog) {
// tslint:disable-next-line: no-console
console.warn('headTracker(ws):', err);
}
if (err instanceof promint_1.InterruptedError) {

@@ -233,2 +223,2 @@ break;

exports.DriverNoVendor = DriverNo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LElBQUksRUFBRSxDQUFDLENBQUE7b0JBQzVDLE1BQU0sSUFBSSxHQUFTLElBQUksQ0FBQyxLQUFLLENBQUMsSUFBSSxDQUFDLENBQUE7b0JBQ25DLElBQUksQ0FBQyxJQUFJLENBQUMsUUFBUSxJQUFJLElBQUksQ0FBQyxFQUFFLEtBQUssSUFBSSxDQUFDLElBQUksQ0FBQyxFQUFFLElBQUksSUFBSSxDQUFDLE1BQU0sSUFBSSxJQUFJLENBQUMsSUFBSSxDQUFDLE1BQU0sRUFBRTt3QkFDL0UsSUFBSSxDQUFDLElBQUksR0FBRzs0QkFDUixFQUFFLEVBQUUsSUFBSSxDQUFDLEVBQUU7NEJBQ1gsTUFBTSxFQUFFLElBQUksQ0FBQyxNQUFNOzRCQUNuQixTQUFTLEVBQUUsSUFBSSxDQUFDLFNBQVM7NEJBQ3pCLFFBQVEsRUFBRSxJQUFJLENBQUMsUUFBUTs0QkFDdkIsV0FBVyxFQUFFLElBQUksQ0FBQyxXQUFXO3lCQUNoQyxDQUFBO3dCQUNELElBQUksQ0FBQyxLQUFLLENBQUMsY0FBYyxDQUFDLElBQUksQ0FBQyxJQUFJLEVBQUUsRUFBRSxDQUFDLEVBQUUsSUFBSSxDQUFDLENBQUMsRUFBRSxJQUFJLEVBQUUsSUFBSSxDQUFDLEtBQUssRUFBRSxDQUFDLENBQUE7d0JBQ3JFLElBQUksQ0FBQyxXQUFXLEVBQUUsQ0FBQTtxQkFDckI7aUJBQ0o7YUFDSjtvQkFBUztnQkFDTixHQUFHLENBQUMsS0FBSyxFQUFFLENBQUE7YUFDZDtRQUNMLENBQUM7S0FBQTtDQUNKO0FBaE9ELHdDQWdPQyJ9

@@ -1,5 +0,5 @@

/// <reference types="@vechain/connex" />
/// <reference types="@vechain/connex-types" />
/// <reference types="@vechain/connex-framework/dist/driver-interface" />
import { DriverNoVendor } from './driver-no-vendor';
import { Net, Wallet } from './interfaces';
import { DriverInterface } from './driver-interface';
/** class fully implements DriverInterface */

@@ -23,5 +23,4 @@ export declare class Driver extends DriverNoVendor {

constructor(net: Net, genesis: Connex.Thor.Block, initialHead?: Connex.Thor.Status['head'], wallet?: Wallet | undefined);
signTx(msg: DriverInterface.SignTxArg, option: DriverInterface.SignTxOption): Promise<DriverInterface.SignTxResult>;
signCert(msg: DriverInterface.SignCertArg, options: DriverInterface.SignCertOption): Promise<DriverInterface.SignCertResult>;
isAddressOwned(addr: string): Promise<boolean>;
signTx(msg: Connex.Vendor.TxMessage, options: Connex.Driver.TxOptions): Promise<Connex.Vendor.TxResponse>;
signCert(msg: Connex.Vendor.CertMessage, options: Connex.Driver.CertOptions): Promise<Connex.Vendor.CertResponse>;
private findKey;

@@ -28,0 +27,0 @@ private sendTx;

@@ -12,2 +12,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.Driver = void 0;
const driver_no_vendor_1 = require("./driver-no-vendor");

@@ -18,3 +19,2 @@ const transaction_1 = require("thor-devkit/dist/transaction");

const crypto_1 = require("crypto");
const options_1 = require("./options");
/** class fully implements DriverInterface */

@@ -57,7 +57,12 @@ class Driver extends driver_no_vendor_1.DriverNoVendor {

}
signTx(msg, option) {
signTx(msg, options) {
return __awaiter(this, void 0, void 0, function* () {
const key = this.findKey(option.signer);
const clauses = msg.map(c => ({ to: c.to, value: c.value, data: c.data }));
const gas = option.gas ||
options.onPrepared && options.onPrepared();
const key = this.findKey(options.signer);
const clauses = msg.map(c => ({
to: c.to ? c.to.toLowerCase() : null,
value: c.value.toString().toLowerCase(),
data: (c.data || '0x').toLowerCase(),
}));
const gas = options.gas ||
(yield this.estimateGas(clauses, key.address));

@@ -71,14 +76,16 @@ const txBody = {

gas,
dependsOn: option.dependsOn || null,
dependsOn: options.dependsOn || null,
nonce: '0x' + crypto_1.randomBytes(8).toString('hex')
};
let tx;
if (option.delegationHandler) {
if (options.delegator) {
const delegatedTx = new transaction_1.Transaction(Object.assign(Object.assign({}, txBody), { reserved: { features: 1 /* vip191 */ } }));
const originSig = yield key.sign(delegatedTx.signingHash());
const unsigned = {
raw: '0x' + delegatedTx.encode().toString('hex'),
origin: key.address
};
try {
const result = yield option.delegationHandler({
raw: '0x' + delegatedTx.encode().toString('hex'),
origin: key.address
});
const result = yield this.net.http('POST', options.delegator, { body: unsigned });
// eslint-disable-next-line @typescript-eslint/no-unsafe-call
delegatedTx.signature = Buffer.concat([originSig, Buffer.from(result.signature.slice(2), 'hex')]);

@@ -88,6 +95,4 @@ tx = delegatedTx;

catch (err) {
if (!options_1.options.disableErrorLog) {
// tslint:disable-next-line: no-console
console.warn('tx delegation error: ', err);
}
// tslint:disable-next-line: no-console
console.warn('tx delegation error: ', err);
// fallback to non-vip191 tx

@@ -119,2 +124,3 @@ }

return __awaiter(this, void 0, void 0, function* () {
options.onPrepared && options.onPrepared();
const key = this.findKey(options.signer);

@@ -134,5 +140,2 @@ const annex = {

}
isAddressOwned(addr) {
return Promise.resolve(this.wallet ? this.wallet.list.findIndex(k => k.address === addr) >= 0 : false);
}
findKey(addr) {

@@ -164,2 +167,2 @@ if (this.wallet) {

exports.Driver = Driver;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJpdmVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL2RyaXZlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztBQUNBLHlEQUFtRDtBQUVuRCw4REFBMEQ7QUFDMUQsOERBQTBEO0FBQzFELDBEQUF5RDtBQUN6RCxtQ0FBb0M7QUFDcEMsdUNBQW1DO0FBR25DLDZDQUE2QztBQUM3QyxNQUFhLE1BQU8sU0FBUSxpQ0FBYztJQXVDdEMsWUFDSSxHQUFRLEVBQ1IsT0FBMEIsRUFDMUIsV0FBd0MsRUFDdkIsTUFBZTtRQUVoQyxLQUFLLENBQUMsR0FBRyxFQUFFLE9BQU8sRUFBRSxXQUFXLENBQUMsQ0FBQTtRQUZmLFdBQU0sR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QyxZQUFZLENBQUMsT0FBTyxDQUFDLENBQUE7WUFFdEQsT0FBTyxZQUFZLEdBQUcsQ0FBQyxPQUFPLENBQUMsQ0FBQyxDQUFDLENBQUMsT0FBTyxHQUFHLEtBQUssQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQTtRQUMzRCxDQUFDO0tBQUE7Q0FDSjtBQTNLRCx3QkEyS0MifQ==

@@ -5,2 +5,1 @@ export * from './driver';

export * from './simple-wallet';
export * from './options';
"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__export(require("./driver"));
__export(require("./simple-net"));
__export(require("./simple-wallet"));
__export(require("./options"));
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFDQSw4QkFBd0I7QUFFeEIsa0NBQTRCO0FBQzVCLHFDQUErQjtBQUMvQiwrQkFBeUIifQ==
__exportStar(require("./driver"), exports);
__exportStar(require("./interfaces"), exports);
__exportStar(require("./simple-net"), exports);
__exportStar(require("./simple-wallet"), exports);
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7O0FBQ0EsMkNBQXdCO0FBQ3hCLCtDQUE0QjtBQUM1QiwrQ0FBNEI7QUFDNUIsa0RBQStCIn0=
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.InterruptedError = exports.PromInt = void 0;
/** class to make promise interruptable */

@@ -25,3 +26,3 @@ class PromInt {

rejectors.add(reject);
p.then(resolve)
void p.then(resolve)
.catch(reject)

@@ -40,2 +41,2 @@ .then(() => rejectors.delete(reject));

InterruptedError.prototype.name = 'InterruptedError';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvbWludC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9wcm9taW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQ0EsMENBQTBDO0FBQzFDLE1BQWEsT0FBTztJQUFwQjtRQUNZLGNBQVMsR0FBRyxJQUFJLEdBQUcsRUFBd0IsQ0FBQTtJQTJCdkQsQ0FBQztJQXpCRzs7T0FFRztJQUNJLFNBQVM7UUFDWixNQUFNLFNBQVMsR0FBRyxJQUFJLENBQUMsU0FBUyxDQUFBO1FBQ2hDLElBQUksQ0FBQyxTQUFTLEdBQUcsSUFBSSxHQUFHLEVBQUUsQ0FBQTtRQUUxQixTQUFTLENBQUMsT0FBTyxDQUFDLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxDQUFDLElBQUksZ0JBQWdCLEVBQUUsQ0FBQyxDQUFDLENBQUE7SUFDckQsQ0FBQztJQUVEOzs7O09BSUc7SUFDSSxJQUFJLENBQUksQ0FBYTtRQUN4QixPQUFPLElBQUksT0FBTyxDQUFJLENBQUMsT0FBTyxFQUFFLE1BQU0sRUFBRSxFQUFFO1lBQ3RDLE1BQU0sU0FBUyxHQUFHLElBQUksQ0FBQyxTQUFTLENBQUE7WUFDaEMsU0FBU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0ksSUFBSSxDQUFJLENBQWE7UUFDeEIsT0FBTyxJQUFJLE9BQU8sQ0FBSSxDQUFDLE9BQU8sRUFBRSxNQUFNLEVBQUUsRUFBRTtZQUN0QyxNQUFNLFNBQVMsR0FBRyxJQUFJLENBQUMsU0FBUyxDQUFBO1lBQ2hDLFNBQVMsQ0FBQyxHQUFHLENBQUMsTUFBTSxDQUFDLENBQUE7WUFFckIsS0FBSyxDQUFDLENBQUMsSUFBSSxDQUFDLE9BQU8sQ0FBQztpQkFDZixLQUFLLENBQUMsTUFBTSxDQUFDO2lCQUNiLElBQUksQ0FBQyxHQUFHLEVBQUUsQ0FBQyxTQUFTLENBQUMsTUFBTSxDQUFDLE1BQU0sQ0FBQyxDQUFDLENBQUE7UUFDN0MsQ0FBQyxDQUFDLENBQUE7SUFDTixDQUFDO0NBQ0o7QUE1QkQsMEJBNEJDO0FBRUQsTUFBYSxnQkFBaUIsU0FBUSxLQUFLO0lBQ3ZDO1FBQ0ksS0FBSyxDQUFDLHFCQUFxQixDQUFDLENBQUE7SUFDaEMsQ0FBQztDQUNKO0FBSkQsNENBSUM7QUFFRCxnQkFBZ0IsQ0FBQyxTQUFTLENBQUMsSUFBSSxHQUFHLGtCQUFrQixDQUFBIn0=
import { Net } from './interfaces';
import { SimpleWebSocketReader } from './simple-websocket-reader';
/** class simply implements Net interface */

@@ -10,3 +9,3 @@ export declare class SimpleNet implements Net {

http(method: 'GET' | 'POST', path: string, params?: Net.Params): Promise<any>;
openWebSocketReader(path: string): SimpleWebSocketReader;
openWebSocketReader(path: string): Net.WebSocketReader;
}

@@ -12,2 +12,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.SimpleNet = void 0;
const axios_1 = require("axios");

@@ -20,3 +21,3 @@ const simple_websocket_reader_1 = require("./simple-websocket-reader");

class SimpleNet {
constructor(baseURL, timeout = 15 * 1000, wsTimeout = 30 * 1000) {
constructor(baseURL, timeout = 30 * 1000, wsTimeout = 30 * 1000) {
this.baseURL = baseURL;

@@ -38,3 +39,3 @@ this.wsTimeout = wsTimeout;

url: path,
data: params.body ? JSON.stringify(params.body) : undefined,
data: params.body,
headers: params.headers,

@@ -82,2 +83,2 @@ params: params.query

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2ltcGxlLW5ldC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9zaW1wbGUtbmV0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7O0FBQ0EsaUNBQXdEO0FBQ3hELHVFQUFpRTtBQUNqRSw2QkFBNkI7QUFDN0IsK0JBQXlDO0FBQ3pDLGlDQUEyQztBQUUzQyw0Q0FBNEM7QUFDNUMsTUFBYSxTQUFTO0lBR2xCLFlBQ2EsT0FBZSxFQUN4QixPQUFPLEdBQUcsRUFBRSxHQUFHLElBQUksRUFDRixZQUFZLEVBQUUsR0FBRyxJQUFJO1FBRjdCLFlBQU8sR0FBUCxPQUFPLENBQVE7UUFFUCxjQUFTLEdBQVQsU0FBUyxDQUFZO1FBRXRDLElBQUksQ0FBQyxLQUFLLEdBQUcsZUFBSyxDQUFDLE1BQU0sQ0FBQztZQUN0QixTQUFTLEVBQUUsSUFBSSxZQUFTLENBQUMsRUFBRSxTQUFTLEVBQUUsSUFBSSxFQUFFLENBQUM7WUFDN0MsVUFBVSxFQUFFLElBQUksYUFBVSxDQUFDLEVBQUUsU0FBUyxFQUFFLElBQUksRUFBRSxDQUFDO1lBQy9DLE9BQU87WUFDUCxPQUFPO1NBQ1YsQ0FBQyxDQUFBO0lBQ04sQ0FBQztJQUVZLElBQUksQ0FDYixNQUFzQixFQUN0QixJQUFZLEVBQ1osTUFBbUI7O1lBQ25CLE1BQU0sR0FBRyxNQUFNLElBQUksRUFBRSxDQUFBO1lBQ3JCLElBQUk7Z0JBQ0EsTUFBTSxJQUFJLEdBQUcsTUFBTSxJQUFJLENBQUMsS0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R0FBRyxHQUFHLENBQUMsUUFBUSxDQUFBO1FBQ3pCLElBQUksT0FBTyxJQUFJLENBQUMsSUFBSSxLQUFLLFFBQVEsRUFBRTtZQUMvQixJQUFJLElBQUksR0FBRyxJQUFJLENBQUMsSUFBSSxDQUFDLElBQUksRUFBRSxDQUFBO1lBQzNCLElBQUksSUFBSSxDQUFDLE1BQU0sR0FBRyxFQUFFLEVBQUU7Z0JBQ2xCLElBQUksR0FBRyxJQUFJLENBQUMsS0FBSyxDQUFDLENBQUMsRUFBRSxFQUFFLENBQUMsR0FBRyxLQUFLLENBQUE7YUFDbkM7WUFDRCxPQUFPLElBQUksS0FBSyxDQUFDLEdBQUcsSUFBSSxDQUFDLE1BQU0sSUFBSSxHQUFHLENBQUMsTUFBTSxDQUFDLE1BQU0sSUFBSSxHQUFHLENBQUMsTUFBTSxDQUFDLEdBQUcsS0FBSyxJQUFJLEVBQUUsQ0FBQyxDQUFBO1NBQ3JGO2FBQU07WUFDSCxPQUFPLElBQUksS0FBSyxDQUFDLEdBQUcsSUFBSSxDQUFDLE1BQU0sSUFBSSxHQUFHLENBQUMsTUFBTSxDQUFDLE1BQU0sSUFBSSxHQUFHLENBQUMsTUFBTSxDQUFDLEdBQUcsRUFBRSxDQUFDLENBQUE7U0FDNUU7S0FDSjtTQUFNO1FBQ0gsT0FBTyxJQUFJLEtBQUssQ0FBQyxHQUFHLEdBQUcsQ0FBQyxNQUFNLENBQUMsTUFBTSxJQUFJLEdBQUcsQ0FBQyxNQUFNLENBQUMsR0FBRyxLQUFLLEdBQUcsQ0FBQyxPQUFPLEVBQUUsQ0FBQyxDQUFBO0tBQzdFO0FBQ0wsQ0FBQyJ9

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

/// <reference types="node" />
import { Wallet } from './interfaces';

@@ -6,6 +5,3 @@ /** class simply implements Wallet interface */

private readonly keys;
get list(): {
address: string;
sign(msgHash: Buffer): Promise<Buffer>;
}[];
get list(): Wallet.Key[];
/**

@@ -12,0 +8,0 @@ * import private key

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SimpleWallet = void 0;
const secp256k1_1 = require("thor-devkit/dist/cry/secp256k1");

@@ -52,2 +53,2 @@ const address_1 = require("thor-devkit/dist/cry/address");

exports.SimpleWallet = SimpleWallet;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2ltcGxlLXdhbGxldC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9zaW1wbGUtd2FsbGV0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQ0EsOERBQTBEO0FBQzFELDBEQUFpRTtBQUVqRSwrQ0FBK0M7QUFDL0MsTUFBYSxZQUFZO0lBQXpCO1FBQ3FCLFNBQUksR0FBRyxFQUFpQixDQUFBO0lBNEM3QyxDQUFDO0lBMUNHLElBQUksSUFBSTtRQUNKLE9BQU8sSUFBSSxDQUFDLElBQUksQ0FBQyxHQUFHLENBQUMsQ0FBQyxDQUFDLEVBQUU7WUFDckIsT0FBTztnQkFDSCxPQUFPLEVBQUUsQ0FBQyxDQUFDLE9BQU87Z0JBQ2xCLElBQUksQ0FBQyxPQUFlO29CQUNoQixPQUFPLE9BQU8sQ0FBQyxPQUFPLENBQUMscUJBQVMsQ0FBQyxJQUFJLENBQUMsT0FBTyxFQUFFLENBQUMsQ0FBQyxVQUFVLENBQUMsQ0FBQyxDQUFBO2dCQUNqRSxDQUFDO2FBQ0osQ0FBQTtRQUNMLENBQUMsQ0FBQyxDQUFBO0lBQ04sQ0FBQztJQUVEOzs7O09BSUc7SUFDSSxNQUFNLENBQUMsVUFBa0I7UUFDNUIsSUFBSSxVQUFVLENBQUMsVUFBVSxDQUFDLElBQUksQ0FBQyxFQUFFO1lBQzdCLFVBQVUsR0FBRyxVQUFVLENBQUMsS0FBSyxDQUFDLENBQUMsQ0FBQyxDQUFBO1NBQ25DO1FBQ0QsSUFBSSxDQUFDLGlCQUFpQixDQUFDLElB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QUFDLEdBQUcsQ0FBQyxDQUFDLENBQUMsUUFBUSxDQUFDLEtBQUssQ0FBQyxDQUFBO1FBQ3RGLElBQUksQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDLEVBQUUsT0FBTyxFQUFFLElBQUksRUFBRSxVQUFVLEVBQUUsR0FBRyxFQUFFLENBQUMsQ0FBQTtRQUNsRCxPQUFPLElBQUksQ0FBQTtJQUNmLENBQUM7SUFFRDs7OztPQUlHO0lBQ0ksTUFBTSxDQUFDLElBQVk7UUFDdEIsTUFBTSxDQUFDLEdBQUcsSUFBSSxDQUFDLElBQUksQ0FBQyxTQUFTLENBQUMsQ0FBQyxDQUFDLEVBQUUsQ0FBQyxDQUFDLENBQUMsT0FBTyxLQUFLLElBQUksQ0FBQyxXQUFXLEVBQUUsQ0FBQyxDQUFBO1FBQ3BFLElBQUksQ0FBQyxJQUFJLENBQUMsRUFBRTtZQUNSLElBQUksQ0FBQyxJQUFJLENBQUMsTUFBTSxDQUFDLENBQUMsRUFBRSxDQUFDLENBQUMsQ0FBQTtZQUN0QixPQUFPLElBQUksQ0FBQTtTQUNkO1FBQ0QsT0FBTyxLQUFLLENBQUE7SUFDaEIsQ0FBQztDQUNKO0FBN0NELG9DQTZDQyJ9
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SimpleWebSocketReader = void 0;
const WebSocket = require("isomorphic-ws");

@@ -58,2 +59,2 @@ class SimpleWebSocketReader {

exports.SimpleWebSocketReader = SimpleWebSocketReader;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2ltcGxlLXdlYnNvY2tldC1yZWFkZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvc2ltcGxlLXdlYnNvY2tldC1yZWFkZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSwyQ0FBMEM7QUFHMUMsTUFBYSxxQkFBcUI7SUFLOUIsWUFBWSxHQU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LElBQUksQ0FBQyxDQUFBO1lBQ2pCLENBQUMsQ0FBQyxDQUFBO1FBQ04sQ0FBQyxDQUFDLENBQUE7SUFDTixDQUFDO0lBRU0sS0FBSztRQUNSLElBQUksQ0FBQyxFQUFFLENBQUMsS0FBSyxFQUFFLENBQUE7SUFDbkIsQ0FBQztJQUVPLFFBQVEsQ0FBQyxHQUFVO1FBQ3ZCLElBQUksQ0FBQyxJQUFJLENBQUMsS0FBSyxFQUFFO1lBQ2IsSUFBSSxDQUFDLEtBQUssR0FBRyxHQUFHLENBQUE7WUFFaEIsTUFBTSxHQUFHLEdBQUcsSUFBSSxDQUFDLFNBQVMsQ0FBQTtZQUMxQixJQUFJLENBQUMsU0FBUyxHQUFHLEVBQUUsQ0FBQTtZQUNuQixHQUFHLENBQUMsT0FBTyxDQUFDLEVBQUUsQ0FBQyxFQUFFLENBQUMsRUFBRSxDQUFDLElBQUksRUFBRSxHQUFHLENBQUMsQ0FBQyxDQUFBO1NBQ25DO0lBQ0wsQ0FBQztDQUNKO0FBM0RELHNEQTJEQyJ9

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

import { DriverInterface } from './driver-interface';
export declare function connect(url: string): Promise<DriverInterface>;
/// <reference types="@vechain/connex-framework/dist/driver-interface" />
export declare function connect(url: string): Promise<Connex.Driver>;

@@ -12,6 +12,6 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.connect = void 0;
const json_rpc_1 = require("@vechain/json-rpc");
const WebSocket = require("isomorphic-ws");
const common_1 = require("./common");
const options_1 = require("./options");
function openWebSocket(url) {

@@ -42,31 +42,27 @@ return new Promise((resolve, reject) => {

function setupRPC(ws) {
return __awaiter(this, void 0, void 0, function* () {
const rpc = new json_rpc_1.JSONRPC((data, isRequest) => {
if (!isRequest) {
data = ' ' + data;
}
ws.send(data);
return Promise.resolve();
const rpc = new json_rpc_1.JSONRPC((data, isRequest) => {
if (!isRequest) {
data = ' ' + data;
}
ws.send(data);
return Promise.resolve();
});
ws.onmessage = ev => {
const isRequest = ev.data[0] !== ' ';
rpc.receive(ev.data, isRequest)
.catch(err => {
// tslint:disable-next-line: no-console
console.warn('receive jsonrpc payload: ', err);
});
ws.onmessage = ev => {
const isRequest = ev.data[0] !== ' ';
rpc.receive(ev.data, isRequest)
.catch(err => {
if (!options_1.options.disableErrorLog) {
// tslint:disable-next-line: no-console
console.warn('receive jsonrpc payload: ', err);
}
});
};
ws.onclose = () => {
offWebSocket(ws);
rpc.setError(new Error('closed'));
};
ws.onerror = ev => {
offWebSocket(ws);
rpc.setError(ev.error);
ws.close();
};
return rpc;
});
};
ws.onclose = () => {
offWebSocket(ws);
rpc.setError(new Error('closed'));
};
ws.onerror = ev => {
offWebSocket(ws);
rpc.setError(ev.error);
ws.close();
};
return rpc;
}

@@ -76,3 +72,3 @@ function _connect(url, genesisId) {

const ws = yield openWebSocket(url);
const rpc = yield setupRPC(ws);
const rpc = setupRPC(ws);
try {

@@ -98,10 +94,7 @@ const info = yield rpc.call('connect', genesisId);

const reconnect = () => {
setTimeout(() => __awaiter(this, void 0, void 0, function* () {
try {
conn = yield _connect(url, genesisId);
}
catch (err) {
reconnect();
}
}), 10 * 1000);
setTimeout(() => {
_connect(url, genesisId)
.then(c => conn = c)
.catch(() => reconnect());
}, 10 * 1000);
};

@@ -152,4 +145,4 @@ const rpcCall = (method, ...args) => {

},
explain: (arg, rev, cacheTies) => {
return rpcCall('explain', arg, rev, cacheTies);
explain: (arg, rev, cacheHints) => {
return rpcCall('explain', arg, rev, cacheHints);
},

@@ -167,5 +160,2 @@ filterEventLogs: arg => {

return rpcCall('signCert', msg, opt);
},
isAddressOwned: addr => {
return rpcCall('isAddressOwned', addr);
}

@@ -176,2 +166,2 @@ };

exports.connect = connect;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmlydHVhbC1kcml2ZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvdmlydHVhbC1kcml2ZXIudHMiXSwibmFt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
"version": "2.0.0-2.0.0-beta.5.0",
"description": "Connex framework driver implementation",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {

@@ -30,6 +33,7 @@ "build": "rm -rf dist/;../../node_modules/.bin/tsc -p .",

"@types/lru-cache": "^5.1.0",
"@types/ws": "^6.0.1"
"@types/ws": "^6.0.1",
"@vechain/connex-framework": "^2.0.0-2.0.0-beta.5.0",
"@vechain/connex-types": "^2.0.0-2.0.0-beta.5.0"
},
"dependencies": {
"@vechain/connex": "^1.4.2",
"@vechain/json-rpc": "^1.0.0-beta4",

@@ -40,5 +44,6 @@ "axios": "^0.19.0",

"lru-cache": "^5.1.1",
"thor-devkit": "^1.2.5",
"thor-devkit": "^1.3.1",
"ws": "^7.1.0"
}
},
"gitHead": "ed130c43786c54d70b70871a8cf9d8e4647ba416"
}
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