@vechain/connex.driver-nodejs
Advanced tools
Comparing version 1.0.0-alpha-1 to 1.0.0-alpha-2
@@ -26,3 +26,3 @@ /// <reference types="node" /> | ||
private readonly net; | ||
constructor(baseUrl: string, genesis: Connex.Thor.Block); | ||
constructor(baseUrl: string, genesis: Connex.Thor.Block, head: Connex.Thor.Status['head']); | ||
getBlock(revision: string | number): Promise<any>; | ||
@@ -59,3 +59,2 @@ getTransaction(id: string, head: string): Promise<any>; | ||
signTx(msg: Connex.Vendor.SigningService.TxMessage, options: { | ||
delegated?: boolean | undefined; | ||
signer?: string | undefined; | ||
@@ -66,9 +65,4 @@ gas?: number | undefined; | ||
comment?: string | undefined; | ||
}): Promise<{ | ||
unsignedTx?: { | ||
raw: string; | ||
origin: string; | ||
} | undefined; | ||
doSign(delegatorSignature?: string | undefined): Promise<Connex.Vendor.SigningService.TxResponse>; | ||
}>; | ||
delegateHandler?: Connex.Vendor.SigningService.DelegationHandler; | ||
}): Promise<Connex.Vendor.SigningService.TxResponse>; | ||
signCert(msg: Connex.Vendor.SigningService.CertMessage, options: { | ||
@@ -75,0 +69,0 @@ signer?: string | undefined; |
@@ -17,13 +17,8 @@ "use strict"; | ||
class DriverNodeJS { | ||
constructor(baseUrl, genesis) { | ||
constructor(baseUrl, genesis, head) { | ||
this.wallet = wallet_1.newWallet(); | ||
this.txOptions = {}; | ||
this.genesis = genesis; | ||
this.head = head; | ||
this.net = new net_1.Net(baseUrl, { 'x-genesis-id': genesis.id }); | ||
this.head = { | ||
id: genesis.id, | ||
number: genesis.number, | ||
timestamp: genesis.timestamp, | ||
parentID: genesis.parentID, | ||
}; | ||
this.pollLoop(); | ||
@@ -34,4 +29,12 @@ } | ||
const net = new net_1.Net(baseUrl); | ||
const genesis = yield net.httpGet('/blocks/0'); | ||
return new DriverNodeJS(baseUrl, genesis); | ||
const [genesis, best] = yield Promise.all([ | ||
net.httpGet('/blocks/0'), | ||
net.httpGet('/blocks/best') | ||
]); | ||
return new DriverNodeJS(baseUrl, genesis, { | ||
id: best.id, | ||
number: best.number, | ||
timestamp: best.timestamp, | ||
parentID: best.parentID | ||
}); | ||
}); | ||
@@ -85,32 +88,30 @@ } | ||
reserved: { | ||
features: options.delegated ? 1 : 0 | ||
features: options.delegateHandler ? 1 : 0 | ||
} | ||
}); | ||
return { | ||
unsignedTx: { | ||
if (options.delegateHandler) { | ||
const result = yield options.delegateHandler({ | ||
raw: '0x' + tx.encode().toString('hex'), | ||
origin: acc.address | ||
}, | ||
doSign: (delegatorSignature) => __awaiter(this, void 0, void 0, function* () { | ||
let sig = acc.sign(tx.signingHash()); | ||
if (delegatorSignature) { | ||
sig = Buffer.concat([sig, Buffer.from(delegatorSignature.slice(2), 'hex')]); | ||
} | ||
tx.signature = sig; | ||
const raw = '0x' + tx.encode().toString('hex'); | ||
if (this.txOptions.watcher) { | ||
this.txOptions.watcher({ | ||
id: tx.id, | ||
raw, | ||
resend: () => __awaiter(this, void 0, void 0, function* () { | ||
yield this.sendTx(raw); | ||
}) | ||
}); | ||
} | ||
yield this.sendTx(raw); | ||
return { | ||
txid: tx.id, | ||
signer: acc.address | ||
}; | ||
}) | ||
}); | ||
const sig = acc.sign(tx.signingHash()); | ||
tx.signature = Buffer.concat([sig, Buffer.from(result.signature.slice(2), 'hex')]); | ||
} | ||
else { | ||
tx.signature = acc.sign(tx.signingHash()); | ||
} | ||
const raw = '0x' + tx.encode().toString('hex'); | ||
if (this.txOptions.watcher) { | ||
this.txOptions.watcher({ | ||
id: tx.id, | ||
raw, | ||
resend: () => __awaiter(this, void 0, void 0, function* () { | ||
yield this.sendTx(raw); | ||
}) | ||
}); | ||
} | ||
yield this.sendTx(raw); | ||
return { | ||
txid: tx.id, | ||
signer: acc.address | ||
}; | ||
@@ -180,2 +181,2 @@ }); | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZ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"version": "1.0.0-alpha-2", | ||
"description": "Connex framework driver implementation in NodeJS", | ||
@@ -30,6 +30,6 @@ "main": "dist/index.js", | ||
"peerDependencies": { | ||
"@vechain/connex-framework": "^1.0.0-alpha-1" | ||
"@vechain/connex-framework": "^1.0.0-alpha-2" | ||
}, | ||
"devDependencies": { | ||
"@vechain/connex-framework": "^1.0.0-alpha-1", | ||
"@vechain/connex-framework": "^1.0.0-alpha-2", | ||
"ts-node": "^8.2.0", | ||
@@ -36,0 +36,0 @@ "tslint": "^5.17.0", |
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
28443
24
375