From aedcd453431676876eeac3589aed3964781f65bf Mon Sep 17 00:00:00 2001 From: Anton Suprunchuk Date: Wed, 10 Jun 2020 20:21:53 +0300 Subject: [PATCH] fix: transaction typings (#152) * Fix transaction constructor typings --- package-lock.json | 2 +- package.json | 2 +- typings/transaction/Transaction.d.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index bb7230bd7..1f607c164 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@dashevo/dashcore-lib", - "version": "0.18.3", + "version": "0.18.4", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index ee4bba437..35fb9fa22 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@dashevo/dashcore-lib", - "version": "0.18.3", + "version": "0.18.4", "description": "A pure and powerful JavaScript Dash library.", "author": "Dash Core Group, Inc. ", "main": "index.js", diff --git a/typings/transaction/Transaction.d.ts b/typings/transaction/Transaction.d.ts index fc4b3a5eb..fc59b3dbe 100644 --- a/typings/transaction/Transaction.d.ts +++ b/typings/transaction/Transaction.d.ts @@ -39,7 +39,7 @@ export namespace Transaction { * @constructor */ export class Transaction { - constructor(serialized: any); + constructor(serialized: string | Buffer | Object | Transaction | undefined); version: number; id: string;