From d67a059089b77a9ca2878a40f3fbd3bb9224dbbf Mon Sep 17 00:00:00 2001 From: Duy Phan Date: Wed, 24 Jun 2020 11:45:44 +0700 Subject: [PATCH] feat/add-expireSeconds-for-request-sign-tx (#35) Co-authored-by: Duy Phan --- package.json | 2 +- src/api.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index f05f7ed..3a02af5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "can-pass-js", - "version": "1.1.0", + "version": "1.1.1", "description": "Can Pass API SDK", "files": [ "dist", diff --git a/src/api.ts b/src/api.ts index 6e87f01..c4314b7 100644 --- a/src/api.ts +++ b/src/api.ts @@ -43,6 +43,7 @@ export const requestTx = (transaction: any, signTxOption: RequestSignTxOptions): transaction, trxOpt: { broadcast, + expireSeconds: 30, } };