@0xsequence/indexer 2.1.6 → 2.1.7

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.
@@ -865,7 +865,6 @@ const webrpcErrorByCode = {
865
865
  [3003]: MetadataCallFailedError
866
866
  };
867
867
 
868
- const fetch = globalThis.fetch;
869
868
  class SequenceIndexer extends Indexer {
870
869
  constructor(hostname, projectAccessKey, jwtAuth) {
871
870
  super(hostname.endsWith('/') ? hostname.slice(0, -1) : hostname, fetch);
@@ -865,7 +865,6 @@ const webrpcErrorByCode = {
865
865
  [3003]: MetadataCallFailedError
866
866
  };
867
867
 
868
- const fetch = globalThis.fetch;
869
868
  class SequenceIndexer extends Indexer {
870
869
  constructor(hostname, projectAccessKey, jwtAuth) {
871
870
  super(hostname.endsWith('/') ? hostname.slice(0, -1) : hostname, fetch);
@@ -861,7 +861,6 @@ const webrpcErrorByCode = {
861
861
  [3003]: MetadataCallFailedError
862
862
  };
863
863
 
864
- const fetch = globalThis.fetch;
865
864
  class SequenceIndexer extends Indexer {
866
865
  constructor(hostname, projectAccessKey, jwtAuth) {
867
866
  super(hostname.endsWith('/') ? hostname.slice(0, -1) : hostname, fetch);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@0xsequence/indexer",
3
- "version": "2.1.6",
3
+ "version": "2.1.7",
4
4
  "description": "indexer sub-package for Sequence",
5
5
  "repository": "https://github.com/0xsequence/sequence.js/tree/master/packages/indexer",
6
6
  "source": "src/index.ts",
package/src/index.ts CHANGED
@@ -2,8 +2,6 @@ export * from './indexer.gen'
2
2
 
3
3
  import { Indexer as IndexerRpc } from './indexer.gen'
4
4
 
5
- const fetch = globalThis.fetch
6
-
7
5
  export class SequenceIndexer extends IndexerRpc {
8
6
  constructor(
9
7
  hostname: string,