@meshsdk/core-csl 1.8.11 → 1.8.12

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
@@ -1556,12 +1556,12 @@ var OfflineEvaluator = class {
1556
1556
  }
1557
1557
  }
1558
1558
  }
1559
- if (resolvedUTXOs.length !== inputsToResolve.length) {
1560
- const missing = inputsToResolve.filter(
1561
- (input) => !resolvedUTXOs.find(
1562
- (utxo) => utxo.input.txHash === input.txHash && utxo.input.outputIndex === input.index
1563
- )
1564
- );
1559
+ const missing = inputsToResolve.filter(
1560
+ (input) => !resolvedUTXOs.find(
1561
+ (utxo) => utxo.input.txHash === input.txHash && utxo.input.outputIndex === input.index
1562
+ )
1563
+ );
1564
+ if (missing.length > 0) {
1565
1565
  const missingList = missing.map((m) => `${m.txHash}:${m.index}`).join(", ");
1566
1566
  throw new Error(
1567
1567
  `Can't resolve these UTXOs to execute plutus scripts: ${missingList}`
package/dist/index.js CHANGED
@@ -1434,12 +1434,12 @@ var OfflineEvaluator = class {
1434
1434
  }
1435
1435
  }
1436
1436
  }
1437
- if (resolvedUTXOs.length !== inputsToResolve.length) {
1438
- const missing = inputsToResolve.filter(
1439
- (input) => !resolvedUTXOs.find(
1440
- (utxo) => utxo.input.txHash === input.txHash && utxo.input.outputIndex === input.index
1441
- )
1442
- );
1437
+ const missing = inputsToResolve.filter(
1438
+ (input) => !resolvedUTXOs.find(
1439
+ (utxo) => utxo.input.txHash === input.txHash && utxo.input.outputIndex === input.index
1440
+ )
1441
+ );
1442
+ if (missing.length > 0) {
1443
1443
  const missingList = missing.map((m) => `${m.txHash}:${m.index}`).join(", ");
1444
1444
  throw new Error(
1445
1445
  `Can't resolve these UTXOs to execute plutus scripts: ${missingList}`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meshsdk/core-csl",
3
- "version": "1.8.11",
3
+ "version": "1.8.12",
4
4
  "description": "Types and utilities functions between Mesh and cardano-serialization-lib",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",
@@ -31,7 +31,7 @@
31
31
  },
32
32
  "devDependencies": {
33
33
  "@meshsdk/configs": "*",
34
- "@meshsdk/provider": "1.8.11",
34
+ "@meshsdk/provider": "1.8.12",
35
35
  "@types/json-bigint": "^1.0.4",
36
36
  "eslint": "^8.57.0",
37
37
  "ts-jest": "^29.1.4",
@@ -39,7 +39,7 @@
39
39
  "typescript": "^5.3.3"
40
40
  },
41
41
  "dependencies": {
42
- "@meshsdk/common": "1.8.11",
42
+ "@meshsdk/common": "1.8.12",
43
43
  "@sidan-lab/sidan-csl-rs-browser": "0.9.16",
44
44
  "@sidan-lab/sidan-csl-rs-nodejs": "0.9.16",
45
45
  "@types/base32-encoding": "^1.0.2",