emblem-vault-sdk 1.10.4 → 1.11.0
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/bundle.js +4 -1
- package/dist/curated/metadata.json +252 -252
- package/dist/index.js +1 -1
- package/dist/utils.js +3 -0
- package/docs/bundle.js +4 -1
- package/package.json +1 -1
- package/src/curated/metadata.json +252 -252
- package/src/utils.ts +3 -0
package/dist/bundle.js
CHANGED
|
@@ -711421,7 +711421,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
711421
711421
|
const bignumber_1 = require("@ethersproject/bignumber");
|
|
711422
711422
|
const utils_1 = require("./utils");
|
|
711423
711423
|
const derive_1 = require("./derive");
|
|
711424
|
-
const SDK_VERSION = '1.10.
|
|
711424
|
+
const SDK_VERSION = '1.10.5';
|
|
711425
711425
|
class EmblemVaultSDK {
|
|
711426
711426
|
constructor(apiKey, baseUrl) {
|
|
711427
711427
|
this.apiKey = apiKey;
|
|
@@ -712375,6 +712375,9 @@ function generateTemplate(record) {
|
|
|
712375
712375
|
}
|
|
712376
712376
|
}
|
|
712377
712377
|
else if (_this.vaultCollectionType && _this.vaultCollectionType == "collection") {
|
|
712378
|
+
if (recordName == "Bitcoin Punks") {
|
|
712379
|
+
firstAsset = _this.filterNativeBalances({ balances: data }, _this)[0];
|
|
712380
|
+
}
|
|
712378
712381
|
const allowedChain = firstAsset.coin.toLowerCase() == _this.collectionChain.toLowerCase();
|
|
712379
712382
|
if (!allowedChain) {
|
|
712380
712383
|
message = `Found ${firstAsset.coin} asset, expected ${_this.collectionChain} asset.`;
|