emblem-vault-sdk 1.7.7 → 1.7.8

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
@@ -34,7 +34,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
34
34
  Object.defineProperty(exports, "__esModule", { value: true });
35
35
  const bignumber_1 = require("@ethersproject/bignumber");
36
36
  const utils_1 = require("./utils");
37
- const SDK_VERSION = '1.7.7';
37
+ const SDK_VERSION = '1.7.8';
38
38
  class EmblemVaultSDK {
39
39
  constructor(apiKey, baseUrl) {
40
40
  this.apiKey = apiKey;
package/dist/utils.js CHANGED
@@ -49,7 +49,6 @@ const metadataAllProjects = (projects) => projects.reduce((unique, item) => {
49
49
  }, []);
50
50
  exports.metadataAllProjects = metadataAllProjects;
51
51
  const fetchData = (url, apiKey, method = 'GET', body = null) => __awaiter(void 0, void 0, void 0, function* () {
52
- const fetch = typeof window !== 'undefined' && typeof window.fetch === 'function' ? window.fetch : require('node-fetch');
53
52
  const options = {
54
53
  method: method,
55
54
  headers: { 'x-api-key': apiKey },