@indigo-labs/indigo-sdk 0.1.25 → 0.1.26
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.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/helpers/asset-helpers.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -379,7 +379,7 @@ var IAssetHelpers = class {
|
|
|
379
379
|
return utxos.map((utxo) => {
|
|
380
380
|
if (!utxo.datum) return void 0;
|
|
381
381
|
const datum = parseIAssetDatum(utxo.datum);
|
|
382
|
-
if (datum.assetName !==
|
|
382
|
+
if (datum.assetName !== assetName) return void 0;
|
|
383
383
|
return { utxo, datum };
|
|
384
384
|
}).find((utxo) => utxo !== void 0);
|
|
385
385
|
}).then((result) => {
|
package/dist/index.mjs
CHANGED
|
@@ -227,7 +227,7 @@ var IAssetHelpers = class {
|
|
|
227
227
|
return utxos.map((utxo) => {
|
|
228
228
|
if (!utxo.datum) return void 0;
|
|
229
229
|
const datum = parseIAssetDatum(utxo.datum);
|
|
230
|
-
if (datum.assetName !==
|
|
230
|
+
if (datum.assetName !== assetName) return void 0;
|
|
231
231
|
return { utxo, datum };
|
|
232
232
|
}).find((utxo) => utxo !== void 0);
|
|
233
233
|
}).then((result) => {
|
package/package.json
CHANGED
|
@@ -49,7 +49,7 @@ export class IAssetHelpers {
|
|
|
49
49
|
.map((utxo) => {
|
|
50
50
|
if (!utxo.datum) return undefined;
|
|
51
51
|
const datum = parseIAssetDatum(utxo.datum);
|
|
52
|
-
if (datum.assetName !==
|
|
52
|
+
if (datum.assetName !== assetName) return undefined;
|
|
53
53
|
return { utxo, datum };
|
|
54
54
|
})
|
|
55
55
|
.find((utxo) => utxo !== undefined);
|