emblem-vault-sdk 2.6.0 → 2.8.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/index.js CHANGED
@@ -35,7 +35,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
35
35
  const bignumber_1 = require("@ethersproject/bignumber");
36
36
  const utils_1 = require("./utils");
37
37
  const derive_1 = require("./derive");
38
- const SDK_VERSION = '2.6.0';
38
+ const SDK_VERSION = '2.8.0';
39
39
  class EmblemVaultSDK {
40
40
  constructor(apiKey, baseUrl, v3Url, sigUrl) {
41
41
  this.apiKey = apiKey;
package/dist/utils.js CHANGED
@@ -120,8 +120,8 @@ function generateAttributeTemplate(record) {
120
120
  {
121
121
  "trait_type": "Artist",
122
122
  "value": (metadata) => {
123
- var _a, _b, _c;
124
- return (_c = (0, exports.pad)((_b = (_a = exports.NFT_DATA[metadata.targetAsset.name]) === null || _a === void 0 ? void 0 : _a.raw) === null || _b === void 0 ? void 0 : _b.artist.name, 2)) === null || _c === void 0 ? void 0 : _c.toString();
123
+ var _a, _b, _c, _d;
124
+ return (_d = (0, exports.pad)((_c = (_b = (_a = exports.NFT_DATA[metadata.targetAsset.name]) === null || _a === void 0 ? void 0 : _a.raw) === null || _b === void 0 ? void 0 : _b.artist) === null || _c === void 0 ? void 0 : _c.name, 2)) === null || _d === void 0 ? void 0 : _d.toString();
125
125
  }
126
126
  }
127
127
  ];