@meshsdk/common 1.7.13 → 1.7.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -445,6 +445,7 @@ type TxInParameter = {
445
445
  txIndex: number;
446
446
  amount?: Asset[];
447
447
  address?: string;
448
+ scriptSize?: number;
448
449
  };
449
450
  type TxIn = PubKeyTxIn | SimpleScriptTxIn | ScriptTxIn;
450
451
  type PubKeyTxIn = {
@@ -674,7 +675,7 @@ interface IFetcher {
674
675
  fetchHandleAddress(handle: string): Promise<string>;
675
676
  fetchProtocolParameters(epoch: number): Promise<Protocol>;
676
677
  fetchTxInfo(hash: string): Promise<TransactionInfo>;
677
- fetchUTxOs(hash: string): Promise<UTxO[]>;
678
+ fetchUTxOs(hash: string, index?: number): Promise<UTxO[]>;
678
679
  get(url: string): Promise<any>;
679
680
  }
680
681
 
package/dist/index.d.ts CHANGED
@@ -445,6 +445,7 @@ type TxInParameter = {
445
445
  txIndex: number;
446
446
  amount?: Asset[];
447
447
  address?: string;
448
+ scriptSize?: number;
448
449
  };
449
450
  type TxIn = PubKeyTxIn | SimpleScriptTxIn | ScriptTxIn;
450
451
  type PubKeyTxIn = {
@@ -674,7 +675,7 @@ interface IFetcher {
674
675
  fetchHandleAddress(handle: string): Promise<string>;
675
676
  fetchProtocolParameters(epoch: number): Promise<Protocol>;
676
677
  fetchTxInfo(hash: string): Promise<TransactionInfo>;
677
- fetchUTxOs(hash: string): Promise<UTxO[]>;
678
+ fetchUTxOs(hash: string, index?: number): Promise<UTxO[]>;
678
679
  get(url: string): Promise<any>;
679
680
  }
680
681
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meshsdk/common",
3
- "version": "1.7.13",
3
+ "version": "1.7.15",
4
4
  "description": "",
5
5
  "main": "./dist/index.cjs",
6
6
  "browser": "./dist/index.js",