From d079b4fa9554d05cd2262b650006d2470efa521d Mon Sep 17 00:00:00 2001 From: "Fifo (Fabricius Zatti)" <62725221+fazzatti@users.noreply.github.com> Date: Tue, 12 Dec 2023 18:28:04 -0300 Subject: [PATCH] fix asset contractId argument The type for the Asset class lacked a necessary argument for the network passphrase --- types/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/index.d.ts b/types/index.d.ts index 41d383d5..92ea2263 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -79,7 +79,7 @@ export class Asset { toXDRObject(): xdr.Asset; toChangeTrustXDRObject(): xdr.ChangeTrustAsset; toTrustLineXDRObject(): xdr.TrustLineAsset; - contractId(): string; + contractId(networkPassphrase: string): string; code: string; issuer: string;