@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 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 !== (0, import_lucid5.fromText)(assetName)) return void 0;
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 !== fromText(assetName)) return void 0;
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indigo-labs/indigo-sdk",
3
- "version": "0.1.25",
3
+ "version": "0.1.26",
4
4
  "description": "Indigo SDK for interacting with Indigo endpoints via lucid-evolution",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -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 !== fromText(assetName)) return undefined;
52
+ if (datum.assetName !== assetName) return undefined;
53
53
  return { utxo, datum };
54
54
  })
55
55
  .find((utxo) => utxo !== undefined);