@lucid-evolution/utils 0.1.12 → 0.1.13

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
@@ -1090,8 +1090,7 @@ var selectUTxOs = (utxos, totalAssets) => {
1090
1090
  const selectedUtxos = [];
1091
1091
  let isSelected = false;
1092
1092
  const assetsRequired = new Map(Object.entries(totalAssets));
1093
- const sortedUtxos = sortUTxOs(utxos);
1094
- for (const utxo of sortedUtxos) {
1093
+ for (const utxo of utxos) {
1095
1094
  isSelected = false;
1096
1095
  for (const [unit, amount] of assetsRequired) {
1097
1096
  if (Object.hasOwn(utxo.assets, unit)) {
package/dist/index.js CHANGED
@@ -1010,8 +1010,7 @@ var selectUTxOs = (utxos, totalAssets) => {
1010
1010
  const selectedUtxos = [];
1011
1011
  let isSelected = false;
1012
1012
  const assetsRequired = new Map(Object.entries(totalAssets));
1013
- const sortedUtxos = sortUTxOs(utxos);
1014
- for (const utxo of sortedUtxos) {
1013
+ for (const utxo of utxos) {
1015
1014
  isSelected = false;
1016
1015
  for (const [unit, amount] of assetsRequired) {
1017
1016
  if (Object.hasOwn(utxo.assets, unit)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lucid-evolution/utils",
3
- "version": "0.1.12",
3
+ "version": "0.1.13",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",