Comparing version 0.0.23-0 to 0.0.24-0
@@ -1,2 +0,2 @@ | ||
export default function createDelegationTransaction({ wallet, account, gas, fee }: any, data: any): any { | ||
export default async function createDelegationTransaction({ wallet, account, gas, fee }: any, data: any): Promise<any> { | ||
const objectToSign: any = { | ||
@@ -31,3 +31,3 @@ account_number: account.account_number.toString(), | ||
const signature: any = wallet.sign(objectToSign); | ||
const signature: any = await wallet.sign(objectToSign); | ||
@@ -34,0 +34,0 @@ return { |
@@ -1,2 +0,2 @@ | ||
export default function createDestroyTransaction({ wallet, account, gas, fee }: any, data: any): any { | ||
export default async function createDestroyTransaction({ wallet, account, gas, fee }: any, data: any): Promise<any> { | ||
const objectToSign: any = { | ||
@@ -32,3 +32,3 @@ account_number: account.account_number.toString(), | ||
const signature: any = wallet.sign(objectToSign); | ||
const signature: any = await wallet.sign(objectToSign); | ||
@@ -35,0 +35,0 @@ return { |
@@ -1,2 +0,2 @@ | ||
export default function createSendMoneyTransaction({ wallet, account, gas, fee }: any, data: any): any { | ||
export default async function createSendMoneyTransaction({ wallet, account, gas, fee }: any, data: any): Promise<any> { | ||
const objectToSign: any = { | ||
@@ -33,3 +33,3 @@ account_number: account.account_number.toString(), | ||
const signature: Buffer = wallet.sign(objectToSign); | ||
const signature: Buffer = await wallet.sign(objectToSign); | ||
@@ -36,0 +36,0 @@ return { |
@@ -1,2 +0,2 @@ | ||
export default function createDelegationTransaction({ wallet, account, gas, fee }: any, data: any): any { | ||
export default async function createDelegationTransaction({ wallet, account, gas, fee }: any, data: any): Promise<any> { | ||
const objectToSign: any = { | ||
@@ -31,3 +31,3 @@ account_number: account.account_number.toString(), | ||
const signature: any = wallet.sign(objectToSign); | ||
const signature: any = await wallet.sign(objectToSign); | ||
@@ -34,0 +34,0 @@ return { |
@@ -1,2 +0,2 @@ | ||
export default function createDelegationTransaction({ wallet, account, gas, fee }: any, data: any): any { | ||
export default async function createDelegationTransaction({ wallet, account, gas, fee }: any, data: any): Promise<any> { | ||
const objectToSign: any = { | ||
@@ -27,3 +27,3 @@ account_number: account.account_number.toString(), | ||
const signature: any = wallet.sign(objectToSign); | ||
const signature: any = await wallet.sign(objectToSign); | ||
@@ -30,0 +30,0 @@ return { |
@@ -27,3 +27,3 @@ /* prettier-ignore-start */ | ||
const tx: any = createDelegationTransaction( | ||
const tx: any = await createDelegationTransaction( | ||
{ | ||
@@ -30,0 +30,0 @@ account: { |
@@ -27,3 +27,3 @@ /* prettier-ignore-start */ | ||
const tx: any = createDestroyTransaction( | ||
const tx: any = await createDestroyTransaction( | ||
{ | ||
@@ -30,0 +30,0 @@ account: { |
@@ -27,3 +27,3 @@ /* prettier-ignore-start */ | ||
const tx: any = createSendMoneyTransaction( | ||
const tx: any = await createSendMoneyTransaction( | ||
{ | ||
@@ -30,0 +30,0 @@ account: { |
@@ -27,3 +27,3 @@ /* prettier-ignore-start */ | ||
const tx: any = createUnbondingDelegationTransaction( | ||
const tx: any = await createUnbondingDelegationTransaction( | ||
{ | ||
@@ -30,0 +30,0 @@ account: { |
@@ -27,3 +27,3 @@ /* prettier-ignore-start */ | ||
const tx: any = createWithdrawRewardTransaction( | ||
const tx: any = await createWithdrawRewardTransaction( | ||
{ | ||
@@ -30,0 +30,0 @@ account: { |
{ | ||
"name": "dfin-jsdk", | ||
"version": "0.0.23-0", | ||
"version": "0.0.24-0", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "files": [ |
Sorry, the diff of this file is too big to display
2424827