@meshsdk/transaction 1.7.12 → 1.7.14

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.cjs CHANGED
@@ -1763,7 +1763,7 @@ var MeshTxBuilder = class extends MeshTxBuilderCore {
1763
1763
  const queryUTxOPromises = [];
1764
1764
  if ((incompleteTxIns.length > 0 || incompleteMints.length > 0) && !this.fetcher)
1765
1765
  throw Error(
1766
- "Transaction information is incomplete while no fetcher instance is provided"
1766
+ "Transaction information is incomplete while no fetcher instance is provided. Provide a `fetcher`."
1767
1767
  );
1768
1768
  for (let i = 0; i < incompleteTxIns.length; i++) {
1769
1769
  const currentTxIn = incompleteTxIns[i];
package/dist/index.d.cts CHANGED
@@ -475,7 +475,7 @@ declare class MeshTxBuilderCore {
475
475
  * @param network The specific network this transaction is being built for ("testnet" | "preview" | "preprod" | "mainnet")
476
476
  * @returns The MeshTxBuilder instance
477
477
  */
478
- setNetwork: (network: Network) => this;
478
+ setNetwork: (network: Network | number[][]) => this;
479
479
  protected queueAllLastItem: () => void;
480
480
  private queueInput;
481
481
  private queueMint;
package/dist/index.d.ts CHANGED
@@ -475,7 +475,7 @@ declare class MeshTxBuilderCore {
475
475
  * @param network The specific network this transaction is being built for ("testnet" | "preview" | "preprod" | "mainnet")
476
476
  * @returns The MeshTxBuilder instance
477
477
  */
478
- setNetwork: (network: Network) => this;
478
+ setNetwork: (network: Network | number[][]) => this;
479
479
  protected queueAllLastItem: () => void;
480
480
  private queueInput;
481
481
  private queueMint;
package/dist/index.js CHANGED
@@ -1730,7 +1730,7 @@ var MeshTxBuilder = class extends MeshTxBuilderCore {
1730
1730
  const queryUTxOPromises = [];
1731
1731
  if ((incompleteTxIns.length > 0 || incompleteMints.length > 0) && !this.fetcher)
1732
1732
  throw Error(
1733
- "Transaction information is incomplete while no fetcher instance is provided"
1733
+ "Transaction information is incomplete while no fetcher instance is provided. Provide a `fetcher`."
1734
1734
  );
1735
1735
  for (let i = 0; i < incompleteTxIns.length; i++) {
1736
1736
  const currentTxIn = incompleteTxIns[i];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meshsdk/transaction",
3
- "version": "1.7.12",
3
+ "version": "1.7.14",
4
4
  "description": "",
5
5
  "main": "./dist/index.cjs",
6
6
  "browser": "./dist/index.js",
@@ -35,9 +35,9 @@
35
35
  "typescript": "^5.3.3"
36
36
  },
37
37
  "dependencies": {
38
- "@meshsdk/common": "1.7.12",
39
- "@meshsdk/core-csl": "1.7.12",
40
- "@meshsdk/core-cst": "1.7.12",
38
+ "@meshsdk/common": "1.7.14",
39
+ "@meshsdk/core-csl": "1.7.14",
40
+ "@meshsdk/core-cst": "1.7.14",
41
41
  "json-bigint": "^1.0.0"
42
42
  },
43
43
  "prettier": "@meshsdk/configs/prettier",