@0xsequence/indexer 2.3.7 → 2.3.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.
@@ -13,7 +13,7 @@ function _extends() {
13
13
  }
14
14
 
15
15
  /* eslint-disable */
16
- // sequence-indexer v0.4.0 082bee8c571f9b49fa61712887d7e1aa8e5c49b3
16
+ // sequence-indexer v0.4.0 546b527de7002f409ffa602ad35b5a3abe979088
17
17
  // --
18
18
  // Code generated by webrpc-gen@v0.21.1 with typescript generator. DO NOT EDIT.
19
19
  //
@@ -29,7 +29,7 @@ const WebRPCVersion$1 = 'v1';
29
29
  const WebRPCSchemaVersion$1 = 'v0.4.0';
30
30
 
31
31
  // Schema hash generated from your RIDL schema
32
- const WebRPCSchemaHash$1 = '082bee8c571f9b49fa61712887d7e1aa8e5c49b3';
32
+ const WebRPCSchemaHash$1 = '546b527de7002f409ffa602ad35b5a3abe979088';
33
33
  function VersionFromHeader$1(headers) {
34
34
  const headerValue = headers.get(WebrpcHeader$1);
35
35
  if (!headerValue) {
@@ -1053,7 +1053,7 @@ const webrpcErrorByCode$1 = {
1053
1053
  };
1054
1054
 
1055
1055
  /* eslint-disable */
1056
- // sequence-indexer v0.4.0 64c61f1f2651cbc3bdcdaed6c06104606af8968a
1056
+ // sequence-indexer v0.4.0 5be4a3e78d9c7e0cc378c675ec01c518e83772e3
1057
1057
  // --
1058
1058
  // Code generated by webrpc-gen@v0.21.1 with typescript generator. DO NOT EDIT.
1059
1059
  //
@@ -1069,7 +1069,7 @@ const WebRPCVersion = 'v1';
1069
1069
  const WebRPCSchemaVersion = 'v0.4.0';
1070
1070
 
1071
1071
  // Schema hash generated from your RIDL schema
1072
- const WebRPCSchemaHash = '64c61f1f2651cbc3bdcdaed6c06104606af8968a';
1072
+ const WebRPCSchemaHash = '5be4a3e78d9c7e0cc378c675ec01c518e83772e3';
1073
1073
  function VersionFromHeader(headers) {
1074
1074
  const headerValue = headers.get(WebrpcHeader);
1075
1075
  if (!headerValue) {
@@ -13,7 +13,7 @@ function _extends() {
13
13
  }
14
14
 
15
15
  /* eslint-disable */
16
- // sequence-indexer v0.4.0 082bee8c571f9b49fa61712887d7e1aa8e5c49b3
16
+ // sequence-indexer v0.4.0 546b527de7002f409ffa602ad35b5a3abe979088
17
17
  // --
18
18
  // Code generated by webrpc-gen@v0.21.1 with typescript generator. DO NOT EDIT.
19
19
  //
@@ -29,7 +29,7 @@ const WebRPCVersion$1 = 'v1';
29
29
  const WebRPCSchemaVersion$1 = 'v0.4.0';
30
30
 
31
31
  // Schema hash generated from your RIDL schema
32
- const WebRPCSchemaHash$1 = '082bee8c571f9b49fa61712887d7e1aa8e5c49b3';
32
+ const WebRPCSchemaHash$1 = '546b527de7002f409ffa602ad35b5a3abe979088';
33
33
  function VersionFromHeader$1(headers) {
34
34
  const headerValue = headers.get(WebrpcHeader$1);
35
35
  if (!headerValue) {
@@ -1053,7 +1053,7 @@ const webrpcErrorByCode$1 = {
1053
1053
  };
1054
1054
 
1055
1055
  /* eslint-disable */
1056
- // sequence-indexer v0.4.0 64c61f1f2651cbc3bdcdaed6c06104606af8968a
1056
+ // sequence-indexer v0.4.0 5be4a3e78d9c7e0cc378c675ec01c518e83772e3
1057
1057
  // --
1058
1058
  // Code generated by webrpc-gen@v0.21.1 with typescript generator. DO NOT EDIT.
1059
1059
  //
@@ -1069,7 +1069,7 @@ const WebRPCVersion = 'v1';
1069
1069
  const WebRPCSchemaVersion = 'v0.4.0';
1070
1070
 
1071
1071
  // Schema hash generated from your RIDL schema
1072
- const WebRPCSchemaHash = '64c61f1f2651cbc3bdcdaed6c06104606af8968a';
1072
+ const WebRPCSchemaHash = '5be4a3e78d9c7e0cc378c675ec01c518e83772e3';
1073
1073
  function VersionFromHeader(headers) {
1074
1074
  const headerValue = headers.get(WebrpcHeader);
1075
1075
  if (!headerValue) {
@@ -9,7 +9,7 @@ function _extends() {
9
9
  }
10
10
 
11
11
  /* eslint-disable */
12
- // sequence-indexer v0.4.0 082bee8c571f9b49fa61712887d7e1aa8e5c49b3
12
+ // sequence-indexer v0.4.0 546b527de7002f409ffa602ad35b5a3abe979088
13
13
  // --
14
14
  // Code generated by webrpc-gen@v0.21.1 with typescript generator. DO NOT EDIT.
15
15
  //
@@ -25,7 +25,7 @@ const WebRPCVersion$1 = 'v1';
25
25
  const WebRPCSchemaVersion$1 = 'v0.4.0';
26
26
 
27
27
  // Schema hash generated from your RIDL schema
28
- const WebRPCSchemaHash$1 = '082bee8c571f9b49fa61712887d7e1aa8e5c49b3';
28
+ const WebRPCSchemaHash$1 = '546b527de7002f409ffa602ad35b5a3abe979088';
29
29
  function VersionFromHeader$1(headers) {
30
30
  const headerValue = headers.get(WebrpcHeader$1);
31
31
  if (!headerValue) {
@@ -1049,7 +1049,7 @@ const webrpcErrorByCode$1 = {
1049
1049
  };
1050
1050
 
1051
1051
  /* eslint-disable */
1052
- // sequence-indexer v0.4.0 64c61f1f2651cbc3bdcdaed6c06104606af8968a
1052
+ // sequence-indexer v0.4.0 5be4a3e78d9c7e0cc378c675ec01c518e83772e3
1053
1053
  // --
1054
1054
  // Code generated by webrpc-gen@v0.21.1 with typescript generator. DO NOT EDIT.
1055
1055
  //
@@ -1065,7 +1065,7 @@ const WebRPCVersion = 'v1';
1065
1065
  const WebRPCSchemaVersion = 'v0.4.0';
1066
1066
 
1067
1067
  // Schema hash generated from your RIDL schema
1068
- const WebRPCSchemaHash = '64c61f1f2651cbc3bdcdaed6c06104606af8968a';
1068
+ const WebRPCSchemaHash = '5be4a3e78d9c7e0cc378c675ec01c518e83772e3';
1069
1069
  function VersionFromHeader(headers) {
1070
1070
  const headerValue = headers.get(WebrpcHeader);
1071
1071
  if (!headerValue) {
@@ -2,7 +2,7 @@ export declare const WebrpcHeader = "Webrpc";
2
2
  export declare const WebrpcHeaderValue = "webrpc@v0.21.1;gen-typescript@v0.15.1;sequence-indexer@v0.4.0";
3
3
  export declare const WebRPCVersion = "v1";
4
4
  export declare const WebRPCSchemaVersion = "v0.4.0";
5
- export declare const WebRPCSchemaHash = "082bee8c571f9b49fa61712887d7e1aa8e5c49b3";
5
+ export declare const WebRPCSchemaHash = "546b527de7002f409ffa602ad35b5a3abe979088";
6
6
  type WebrpcGenVersions = {
7
7
  webrpcGenVersion: string;
8
8
  codeGenName: string;
@@ -443,6 +443,7 @@ export interface MetadataOptions {
443
443
  export interface TokenBalancesFilter {
444
444
  accountAddresses: Array<string>;
445
445
  contractStatus?: ContractVerificationStatus;
446
+ contractTypes?: Array<string>;
446
447
  contractWhitelist?: Array<string>;
447
448
  contractBlacklist?: Array<string>;
448
449
  omitNativeBalances: boolean;
@@ -2,7 +2,7 @@ export declare const WebrpcHeader = "Webrpc";
2
2
  export declare const WebrpcHeaderValue = "webrpc@v0.21.1;gen-typescript@v0.15.1;sequence-indexer@v0.4.0";
3
3
  export declare const WebRPCVersion = "v1";
4
4
  export declare const WebRPCSchemaVersion = "v0.4.0";
5
- export declare const WebRPCSchemaHash = "64c61f1f2651cbc3bdcdaed6c06104606af8968a";
5
+ export declare const WebRPCSchemaHash = "5be4a3e78d9c7e0cc378c675ec01c518e83772e3";
6
6
  type WebrpcGenVersions = {
7
7
  webrpcGenVersion: string;
8
8
  codeGenName: string;
@@ -443,6 +443,7 @@ export interface MetadataOptions {
443
443
  export interface TokenBalancesFilter {
444
444
  accountAddresses: Array<string>;
445
445
  contractStatus?: ContractVerificationStatus;
446
+ contractTypes?: Array<string>;
446
447
  contractWhitelist?: Array<string>;
447
448
  contractBlacklist?: Array<string>;
448
449
  omitNativeBalances: boolean;
@@ -486,6 +487,7 @@ export interface IndexerGateway {
486
487
  export interface GetNativeTokenBalanceArgs {
487
488
  chainIds?: Array<number>;
488
489
  networks?: Array<string>;
490
+ testnets?: boolean;
489
491
  accountAddress?: string;
490
492
  }
491
493
  export interface GetNativeTokenBalanceReturn {
@@ -494,6 +496,7 @@ export interface GetNativeTokenBalanceReturn {
494
496
  export interface GetTokenBalancesArgs {
495
497
  chainIds?: Array<number>;
496
498
  networks?: Array<string>;
499
+ testnets?: boolean;
497
500
  accountAddress?: string;
498
501
  contractAddress?: string;
499
502
  tokenID?: string;
@@ -509,6 +512,7 @@ export interface GetTokenBalancesReturn {
509
512
  export interface GetTokenBalancesSummaryArgs {
510
513
  chainIds?: Array<number>;
511
514
  networks?: Array<string>;
515
+ testnets?: boolean;
512
516
  filter: TokenBalancesFilter;
513
517
  omitMetadata?: boolean;
514
518
  page?: Page;
@@ -521,6 +525,7 @@ export interface GetTokenBalancesSummaryReturn {
521
525
  export interface GetTokenBalancesDetailsArgs {
522
526
  chainIds?: Array<number>;
523
527
  networks?: Array<string>;
528
+ testnets?: boolean;
524
529
  filter: TokenBalancesFilter;
525
530
  omitMetadata?: boolean;
526
531
  page?: Page;
@@ -533,6 +538,7 @@ export interface GetTokenBalancesDetailsReturn {
533
538
  export interface GetTokenBalancesByContractArgs {
534
539
  chainIds?: Array<number>;
535
540
  networks?: Array<string>;
541
+ testnets?: boolean;
536
542
  filter: TokenBalancesByContractFilter;
537
543
  omitMetadata?: boolean;
538
544
  page?: Page;
@@ -544,6 +550,7 @@ export interface GetTokenBalancesByContractReturn {
544
550
  export interface GetBalanceUpdatesArgs {
545
551
  chainIds?: Array<number>;
546
552
  networks?: Array<string>;
553
+ testnets?: boolean;
547
554
  contractAddress: string;
548
555
  lastBlockNumber: number;
549
556
  lastBlockHash?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@0xsequence/indexer",
3
- "version": "2.3.7",
3
+ "version": "2.3.8",
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",
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable */
2
- // sequence-indexer v0.4.0 082bee8c571f9b49fa61712887d7e1aa8e5c49b3
2
+ // sequence-indexer v0.4.0 546b527de7002f409ffa602ad35b5a3abe979088
3
3
  // --
4
4
  // Code generated by webrpc-gen@v0.21.1 with typescript generator. DO NOT EDIT.
5
5
  //
@@ -16,7 +16,7 @@ export const WebRPCVersion = 'v1'
16
16
  export const WebRPCSchemaVersion = 'v0.4.0'
17
17
 
18
18
  // Schema hash generated from your RIDL schema
19
- export const WebRPCSchemaHash = '082bee8c571f9b49fa61712887d7e1aa8e5c49b3'
19
+ export const WebRPCSchemaHash = '546b527de7002f409ffa602ad35b5a3abe979088'
20
20
 
21
21
  type WebrpcGenVersions = {
22
22
  webrpcGenVersion: string
@@ -540,6 +540,7 @@ export interface MetadataOptions {
540
540
  export interface TokenBalancesFilter {
541
541
  accountAddresses: Array<string>
542
542
  contractStatus?: ContractVerificationStatus
543
+ contractTypes?: Array<string>
543
544
  contractWhitelist?: Array<string>
544
545
  contractBlacklist?: Array<string>
545
546
  omitNativeBalances: boolean
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable */
2
- // sequence-indexer v0.4.0 64c61f1f2651cbc3bdcdaed6c06104606af8968a
2
+ // sequence-indexer v0.4.0 5be4a3e78d9c7e0cc378c675ec01c518e83772e3
3
3
  // --
4
4
  // Code generated by webrpc-gen@v0.21.1 with typescript generator. DO NOT EDIT.
5
5
  //
@@ -16,7 +16,7 @@ export const WebRPCVersion = 'v1'
16
16
  export const WebRPCSchemaVersion = 'v0.4.0'
17
17
 
18
18
  // Schema hash generated from your RIDL schema
19
- export const WebRPCSchemaHash = '64c61f1f2651cbc3bdcdaed6c06104606af8968a'
19
+ export const WebRPCSchemaHash = '5be4a3e78d9c7e0cc378c675ec01c518e83772e3'
20
20
 
21
21
  type WebrpcGenVersions = {
22
22
  webrpcGenVersion: string
@@ -540,6 +540,7 @@ export interface MetadataOptions {
540
540
  export interface TokenBalancesFilter {
541
541
  accountAddresses: Array<string>
542
542
  contractStatus?: ContractVerificationStatus
543
+ contractTypes?: Array<string>
543
544
  contractWhitelist?: Array<string>
544
545
  contractBlacklist?: Array<string>
545
546
  omitNativeBalances: boolean
@@ -606,6 +607,7 @@ export interface IndexerGateway {
606
607
  export interface GetNativeTokenBalanceArgs {
607
608
  chainIds?: Array<number>
608
609
  networks?: Array<string>
610
+ testnets?: boolean
609
611
  accountAddress?: string
610
612
  }
611
613
 
@@ -615,6 +617,7 @@ export interface GetNativeTokenBalanceReturn {
615
617
  export interface GetTokenBalancesArgs {
616
618
  chainIds?: Array<number>
617
619
  networks?: Array<string>
620
+ testnets?: boolean
618
621
  accountAddress?: string
619
622
  contractAddress?: string
620
623
  tokenID?: string
@@ -631,6 +634,7 @@ export interface GetTokenBalancesReturn {
631
634
  export interface GetTokenBalancesSummaryArgs {
632
635
  chainIds?: Array<number>
633
636
  networks?: Array<string>
637
+ testnets?: boolean
634
638
  filter: TokenBalancesFilter
635
639
  omitMetadata?: boolean
636
640
  page?: Page
@@ -644,6 +648,7 @@ export interface GetTokenBalancesSummaryReturn {
644
648
  export interface GetTokenBalancesDetailsArgs {
645
649
  chainIds?: Array<number>
646
650
  networks?: Array<string>
651
+ testnets?: boolean
647
652
  filter: TokenBalancesFilter
648
653
  omitMetadata?: boolean
649
654
  page?: Page
@@ -657,6 +662,7 @@ export interface GetTokenBalancesDetailsReturn {
657
662
  export interface GetTokenBalancesByContractArgs {
658
663
  chainIds?: Array<number>
659
664
  networks?: Array<string>
665
+ testnets?: boolean
660
666
  filter: TokenBalancesByContractFilter
661
667
  omitMetadata?: boolean
662
668
  page?: Page
@@ -669,6 +675,7 @@ export interface GetTokenBalancesByContractReturn {
669
675
  export interface GetBalanceUpdatesArgs {
670
676
  chainIds?: Array<number>
671
677
  networks?: Array<string>
678
+ testnets?: boolean
672
679
  contractAddress: string
673
680
  lastBlockNumber: number
674
681
  lastBlockHash?: string