@lucid-evolution/utils 0.1.19 → 0.1.20

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
@@ -85,7 +85,7 @@ __export(src_exports, {
85
85
  module.exports = __toCommonJS(src_exports);
86
86
 
87
87
  // src/core.ts
88
- var CML = __toESM(require("@dcspark/cardano-multiplatform-lib-nodejs"), 1);
88
+ var CML = __toESM(require("@anastasia-labs/cardano-multiplatform-lib-nodejs"), 1);
89
89
 
90
90
  // src/native.ts
91
91
  var toNativeScript = (native) => {
@@ -1118,8 +1118,7 @@ var selectUTxOs = (utxos, totalAssets) => {
1118
1118
  break;
1119
1119
  }
1120
1120
  }
1121
- if (assetsRequired.size > 0)
1122
- return [];
1121
+ if (assetsRequired.size > 0) return [];
1123
1122
  return selectedUtxos;
1124
1123
  };
1125
1124
  var sortUTxOs = (utxos, order = "LargestFirst") => {
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Native, Script, Network, Credential, RewardAddress, CertificateValidator, WithdrawalValidator, AddressDetails, CostModels, ProtocolParameters, Address, ScriptHash, KeyHash, Datum, DatumHash, PrivateKey, PublicKey, SpendingValidator, Validator, MintingPolicy, PolicyId, NativeScript, Exact, UnixTime, Slot, UTxO, OutRef, TxOutput, Assets, Unit } from '@lucid-evolution/core-types';
2
- import * as CML from '@dcspark/cardano-multiplatform-lib-nodejs';
2
+ import * as CML from '@anastasia-labs/cardano-multiplatform-lib-nodejs';
3
3
  import { Data } from '@lucid-evolution/plutus';
4
4
 
5
5
  declare const toNativeScript: (native: Native) => CML.NativeScript;
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Native, Script, Network, Credential, RewardAddress, CertificateValidator, WithdrawalValidator, AddressDetails, CostModels, ProtocolParameters, Address, ScriptHash, KeyHash, Datum, DatumHash, PrivateKey, PublicKey, SpendingValidator, Validator, MintingPolicy, PolicyId, NativeScript, Exact, UnixTime, Slot, UTxO, OutRef, TxOutput, Assets, Unit } from '@lucid-evolution/core-types';
2
- import * as CML from '@dcspark/cardano-multiplatform-lib-nodejs';
2
+ import * as CML from '@anastasia-labs/cardano-multiplatform-lib-nodejs';
3
3
  import { Data } from '@lucid-evolution/plutus';
4
4
 
5
5
  declare const toNativeScript: (native: Native) => CML.NativeScript;
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // src/core.ts
2
- import * as CML from "@dcspark/cardano-multiplatform-lib-nodejs";
2
+ import * as CML from "@anastasia-labs/cardano-multiplatform-lib-nodejs";
3
3
 
4
4
  // src/native.ts
5
5
  var toNativeScript = (native) => {
@@ -1036,8 +1036,7 @@ var selectUTxOs = (utxos, totalAssets) => {
1036
1036
  break;
1037
1037
  }
1038
1038
  }
1039
- if (assetsRequired.size > 0)
1040
- return [];
1039
+ if (assetsRequired.size > 0) return [];
1041
1040
  return selectedUtxos;
1042
1041
  };
1043
1042
  var sortUTxOs = (utxos, order = "LargestFirst") => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lucid-evolution/utils",
3
- "version": "0.1.19",
3
+ "version": "0.1.20",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -22,18 +22,18 @@
22
22
  "author": "",
23
23
  "license": "MIT",
24
24
  "browser": {
25
- "@dcspark/cardano-multiplatform-lib-nodejs": "@dcspark/cardano-multiplatform-lib-browser"
25
+ "@anastasia-labs/cardano-multiplatform-lib-nodejs": "@anastasia-labs/cardano-multiplatform-lib-browser"
26
26
  },
27
27
  "dependencies": {
28
- "@dcspark/cardano-multiplatform-lib-nodejs": "^5.3.0",
29
- "@dcspark/cardano-multiplatform-lib-browser": "^5.3.0",
28
+ "@anastasia-labs/cardano-multiplatform-lib-nodejs": "^5.3.1-2",
29
+ "@anastasia-labs/cardano-multiplatform-lib-browser": "^5.3.1-2",
30
30
  "cborg": "^4.2.0",
31
- "@lucid-evolution/bip39": "0.2.7",
32
- "@lucid-evolution/core-types": "0.1.7",
33
- "@lucid-evolution/core-utils": "0.1.6",
34
- "@lucid-evolution/crc8": "0.1.6",
35
- "@lucid-evolution/plutus": "0.1.10",
36
- "@lucid-evolution/uplc": "0.2.6"
31
+ "@lucid-evolution/bip39": "0.2.8",
32
+ "@lucid-evolution/core-types": "0.1.8",
33
+ "@lucid-evolution/core-utils": "0.1.7",
34
+ "@lucid-evolution/crc8": "0.1.7",
35
+ "@lucid-evolution/plutus": "0.1.11",
36
+ "@lucid-evolution/uplc": "0.2.7"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@types/node": "^20.12.8",