@indigo-labs/indigo-sdk 0.1.23 → 0.1.24
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
|
@@ -384,7 +384,7 @@ var IAssetHelpers = class {
|
|
|
384
384
|
return { utxo, datum };
|
|
385
385
|
}).find((utxo) => utxo !== void 0);
|
|
386
386
|
}).then((result) => {
|
|
387
|
-
if (!result) throw new Error("Unable to locate IAsset by name
|
|
387
|
+
if (!result) throw new Error("Unable to locate IAsset by name: " + assetName);
|
|
388
388
|
return result;
|
|
389
389
|
});
|
|
390
390
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -232,7 +232,7 @@ var IAssetHelpers = class {
|
|
|
232
232
|
return { utxo, datum };
|
|
233
233
|
}).find((utxo) => utxo !== void 0);
|
|
234
234
|
}).then((result) => {
|
|
235
|
-
if (!result) throw new Error("Unable to locate IAsset by name
|
|
235
|
+
if (!result) throw new Error("Unable to locate IAsset by name: " + assetName);
|
|
236
236
|
return result;
|
|
237
237
|
});
|
|
238
238
|
}
|
package/package.json
CHANGED
|
@@ -56,7 +56,7 @@ export class IAssetHelpers {
|
|
|
56
56
|
.find((utxo) => utxo !== undefined);
|
|
57
57
|
})
|
|
58
58
|
.then((result) => {
|
|
59
|
-
if (!result) throw new Error('Unable to locate IAsset by name
|
|
59
|
+
if (!result) throw new Error('Unable to locate IAsset by name: ' + assetName);
|
|
60
60
|
return result;
|
|
61
61
|
});
|
|
62
62
|
}
|