@0xsequence/indexer 2.3.0 → 2.3.2
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/0xsequence-indexer.cjs.dev.js +6 -6
- package/dist/0xsequence-indexer.cjs.prod.js +6 -6
- package/dist/0xsequence-indexer.esm.js +6 -6
- package/dist/declarations/src/indexer.gen.d.ts +6 -3
- package/dist/declarations/src/indexergw.gen.d.ts +6 -3
- package/package.json +1 -1
- package/src/indexer.gen.ts +7 -4
- package/src/indexergw.gen.ts +7 -4
|
@@ -13,7 +13,7 @@ function _extends() {
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
/* eslint-disable */
|
|
16
|
-
// sequence-indexer v0.4.0
|
|
16
|
+
// sequence-indexer v0.4.0 082bee8c571f9b49fa61712887d7e1aa8e5c49b3
|
|
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 = '
|
|
32
|
+
const WebRPCSchemaHash$1 = '082bee8c571f9b49fa61712887d7e1aa8e5c49b3';
|
|
33
33
|
function VersionFromHeader$1(headers) {
|
|
34
34
|
const headerValue = headers.get(WebrpcHeader$1);
|
|
35
35
|
if (!headerValue) {
|
|
@@ -72,7 +72,7 @@ function parseWebrpcGenVersions$1(header) {
|
|
|
72
72
|
|
|
73
73
|
let ResourceStatus$1 = /*#__PURE__*/function (ResourceStatus) {
|
|
74
74
|
ResourceStatus["NOT_AVAILABLE"] = "NOT_AVAILABLE";
|
|
75
|
-
ResourceStatus["
|
|
75
|
+
ResourceStatus["REFRESHING"] = "REFRESHING";
|
|
76
76
|
ResourceStatus["AVAILABLE"] = "AVAILABLE";
|
|
77
77
|
return ResourceStatus;
|
|
78
78
|
}({});
|
|
@@ -1053,7 +1053,7 @@ const webrpcErrorByCode$1 = {
|
|
|
1053
1053
|
};
|
|
1054
1054
|
|
|
1055
1055
|
/* eslint-disable */
|
|
1056
|
-
// sequence-indexer v0.4.0
|
|
1056
|
+
// sequence-indexer v0.4.0 64c61f1f2651cbc3bdcdaed6c06104606af8968a
|
|
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 = '
|
|
1072
|
+
const WebRPCSchemaHash = '64c61f1f2651cbc3bdcdaed6c06104606af8968a';
|
|
1073
1073
|
function VersionFromHeader(headers) {
|
|
1074
1074
|
const headerValue = headers.get(WebrpcHeader);
|
|
1075
1075
|
if (!headerValue) {
|
|
@@ -1112,7 +1112,7 @@ function parseWebrpcGenVersions(header) {
|
|
|
1112
1112
|
|
|
1113
1113
|
let ResourceStatus = /*#__PURE__*/function (ResourceStatus) {
|
|
1114
1114
|
ResourceStatus["NOT_AVAILABLE"] = "NOT_AVAILABLE";
|
|
1115
|
-
ResourceStatus["
|
|
1115
|
+
ResourceStatus["REFRESHING"] = "REFRESHING";
|
|
1116
1116
|
ResourceStatus["AVAILABLE"] = "AVAILABLE";
|
|
1117
1117
|
return ResourceStatus;
|
|
1118
1118
|
}({});
|
|
@@ -13,7 +13,7 @@ function _extends() {
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
/* eslint-disable */
|
|
16
|
-
// sequence-indexer v0.4.0
|
|
16
|
+
// sequence-indexer v0.4.0 082bee8c571f9b49fa61712887d7e1aa8e5c49b3
|
|
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 = '
|
|
32
|
+
const WebRPCSchemaHash$1 = '082bee8c571f9b49fa61712887d7e1aa8e5c49b3';
|
|
33
33
|
function VersionFromHeader$1(headers) {
|
|
34
34
|
const headerValue = headers.get(WebrpcHeader$1);
|
|
35
35
|
if (!headerValue) {
|
|
@@ -72,7 +72,7 @@ function parseWebrpcGenVersions$1(header) {
|
|
|
72
72
|
|
|
73
73
|
let ResourceStatus$1 = /*#__PURE__*/function (ResourceStatus) {
|
|
74
74
|
ResourceStatus["NOT_AVAILABLE"] = "NOT_AVAILABLE";
|
|
75
|
-
ResourceStatus["
|
|
75
|
+
ResourceStatus["REFRESHING"] = "REFRESHING";
|
|
76
76
|
ResourceStatus["AVAILABLE"] = "AVAILABLE";
|
|
77
77
|
return ResourceStatus;
|
|
78
78
|
}({});
|
|
@@ -1053,7 +1053,7 @@ const webrpcErrorByCode$1 = {
|
|
|
1053
1053
|
};
|
|
1054
1054
|
|
|
1055
1055
|
/* eslint-disable */
|
|
1056
|
-
// sequence-indexer v0.4.0
|
|
1056
|
+
// sequence-indexer v0.4.0 64c61f1f2651cbc3bdcdaed6c06104606af8968a
|
|
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 = '
|
|
1072
|
+
const WebRPCSchemaHash = '64c61f1f2651cbc3bdcdaed6c06104606af8968a';
|
|
1073
1073
|
function VersionFromHeader(headers) {
|
|
1074
1074
|
const headerValue = headers.get(WebrpcHeader);
|
|
1075
1075
|
if (!headerValue) {
|
|
@@ -1112,7 +1112,7 @@ function parseWebrpcGenVersions(header) {
|
|
|
1112
1112
|
|
|
1113
1113
|
let ResourceStatus = /*#__PURE__*/function (ResourceStatus) {
|
|
1114
1114
|
ResourceStatus["NOT_AVAILABLE"] = "NOT_AVAILABLE";
|
|
1115
|
-
ResourceStatus["
|
|
1115
|
+
ResourceStatus["REFRESHING"] = "REFRESHING";
|
|
1116
1116
|
ResourceStatus["AVAILABLE"] = "AVAILABLE";
|
|
1117
1117
|
return ResourceStatus;
|
|
1118
1118
|
}({});
|
|
@@ -9,7 +9,7 @@ function _extends() {
|
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
/* eslint-disable */
|
|
12
|
-
// sequence-indexer v0.4.0
|
|
12
|
+
// sequence-indexer v0.4.0 082bee8c571f9b49fa61712887d7e1aa8e5c49b3
|
|
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 = '
|
|
28
|
+
const WebRPCSchemaHash$1 = '082bee8c571f9b49fa61712887d7e1aa8e5c49b3';
|
|
29
29
|
function VersionFromHeader$1(headers) {
|
|
30
30
|
const headerValue = headers.get(WebrpcHeader$1);
|
|
31
31
|
if (!headerValue) {
|
|
@@ -68,7 +68,7 @@ function parseWebrpcGenVersions$1(header) {
|
|
|
68
68
|
|
|
69
69
|
let ResourceStatus$1 = /*#__PURE__*/function (ResourceStatus) {
|
|
70
70
|
ResourceStatus["NOT_AVAILABLE"] = "NOT_AVAILABLE";
|
|
71
|
-
ResourceStatus["
|
|
71
|
+
ResourceStatus["REFRESHING"] = "REFRESHING";
|
|
72
72
|
ResourceStatus["AVAILABLE"] = "AVAILABLE";
|
|
73
73
|
return ResourceStatus;
|
|
74
74
|
}({});
|
|
@@ -1049,7 +1049,7 @@ const webrpcErrorByCode$1 = {
|
|
|
1049
1049
|
};
|
|
1050
1050
|
|
|
1051
1051
|
/* eslint-disable */
|
|
1052
|
-
// sequence-indexer v0.4.0
|
|
1052
|
+
// sequence-indexer v0.4.0 64c61f1f2651cbc3bdcdaed6c06104606af8968a
|
|
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 = '
|
|
1068
|
+
const WebRPCSchemaHash = '64c61f1f2651cbc3bdcdaed6c06104606af8968a';
|
|
1069
1069
|
function VersionFromHeader(headers) {
|
|
1070
1070
|
const headerValue = headers.get(WebrpcHeader);
|
|
1071
1071
|
if (!headerValue) {
|
|
@@ -1108,7 +1108,7 @@ function parseWebrpcGenVersions(header) {
|
|
|
1108
1108
|
|
|
1109
1109
|
let ResourceStatus = /*#__PURE__*/function (ResourceStatus) {
|
|
1110
1110
|
ResourceStatus["NOT_AVAILABLE"] = "NOT_AVAILABLE";
|
|
1111
|
-
ResourceStatus["
|
|
1111
|
+
ResourceStatus["REFRESHING"] = "REFRESHING";
|
|
1112
1112
|
ResourceStatus["AVAILABLE"] = "AVAILABLE";
|
|
1113
1113
|
return ResourceStatus;
|
|
1114
1114
|
}({});
|
|
@@ -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 = "
|
|
5
|
+
export declare const WebRPCSchemaHash = "082bee8c571f9b49fa61712887d7e1aa8e5c49b3";
|
|
6
6
|
type WebrpcGenVersions = {
|
|
7
7
|
webrpcGenVersion: string;
|
|
8
8
|
codeGenName: string;
|
|
@@ -13,12 +13,13 @@ type WebrpcGenVersions = {
|
|
|
13
13
|
export declare function VersionFromHeader(headers: Headers): WebrpcGenVersions;
|
|
14
14
|
export declare enum ResourceStatus {
|
|
15
15
|
NOT_AVAILABLE = "NOT_AVAILABLE",
|
|
16
|
-
|
|
16
|
+
REFRESHING = "REFRESHING",
|
|
17
17
|
AVAILABLE = "AVAILABLE"
|
|
18
18
|
}
|
|
19
19
|
export interface ContractInfo {
|
|
20
20
|
chainId: number;
|
|
21
21
|
address: string;
|
|
22
|
+
source: string;
|
|
22
23
|
name: string;
|
|
23
24
|
type: string;
|
|
24
25
|
symbol: string;
|
|
@@ -28,7 +29,6 @@ export interface ContractInfo {
|
|
|
28
29
|
bytecodeHash: string;
|
|
29
30
|
extensions: ContractInfoExtensions;
|
|
30
31
|
updatedAt: string;
|
|
31
|
-
notFound: boolean;
|
|
32
32
|
queuedAt?: string;
|
|
33
33
|
status: ResourceStatus;
|
|
34
34
|
}
|
|
@@ -44,9 +44,12 @@ export interface ContractInfoExtensions {
|
|
|
44
44
|
verified: boolean;
|
|
45
45
|
verifiedBy: string;
|
|
46
46
|
featured: boolean;
|
|
47
|
+
featureIndex: number;
|
|
47
48
|
}
|
|
48
49
|
export interface TokenMetadata {
|
|
50
|
+
contractAddress?: string;
|
|
49
51
|
tokenId: string;
|
|
52
|
+
source: string;
|
|
50
53
|
name: string;
|
|
51
54
|
description?: string;
|
|
52
55
|
image?: string;
|
|
@@ -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 = "
|
|
5
|
+
export declare const WebRPCSchemaHash = "64c61f1f2651cbc3bdcdaed6c06104606af8968a";
|
|
6
6
|
type WebrpcGenVersions = {
|
|
7
7
|
webrpcGenVersion: string;
|
|
8
8
|
codeGenName: string;
|
|
@@ -13,12 +13,13 @@ type WebrpcGenVersions = {
|
|
|
13
13
|
export declare function VersionFromHeader(headers: Headers): WebrpcGenVersions;
|
|
14
14
|
export declare enum ResourceStatus {
|
|
15
15
|
NOT_AVAILABLE = "NOT_AVAILABLE",
|
|
16
|
-
|
|
16
|
+
REFRESHING = "REFRESHING",
|
|
17
17
|
AVAILABLE = "AVAILABLE"
|
|
18
18
|
}
|
|
19
19
|
export interface ContractInfo {
|
|
20
20
|
chainId: number;
|
|
21
21
|
address: string;
|
|
22
|
+
source: string;
|
|
22
23
|
name: string;
|
|
23
24
|
type: string;
|
|
24
25
|
symbol: string;
|
|
@@ -28,7 +29,6 @@ export interface ContractInfo {
|
|
|
28
29
|
bytecodeHash: string;
|
|
29
30
|
extensions: ContractInfoExtensions;
|
|
30
31
|
updatedAt: string;
|
|
31
|
-
notFound: boolean;
|
|
32
32
|
queuedAt?: string;
|
|
33
33
|
status: ResourceStatus;
|
|
34
34
|
}
|
|
@@ -44,9 +44,12 @@ export interface ContractInfoExtensions {
|
|
|
44
44
|
verified: boolean;
|
|
45
45
|
verifiedBy: string;
|
|
46
46
|
featured: boolean;
|
|
47
|
+
featureIndex: number;
|
|
47
48
|
}
|
|
48
49
|
export interface TokenMetadata {
|
|
50
|
+
contractAddress?: string;
|
|
49
51
|
tokenId: string;
|
|
52
|
+
source: string;
|
|
50
53
|
name: string;
|
|
51
54
|
description?: string;
|
|
52
55
|
image?: string;
|
package/package.json
CHANGED
package/src/indexer.gen.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
|
-
// sequence-indexer v0.4.0
|
|
2
|
+
// sequence-indexer v0.4.0 082bee8c571f9b49fa61712887d7e1aa8e5c49b3
|
|
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 = '
|
|
19
|
+
export const WebRPCSchemaHash = '082bee8c571f9b49fa61712887d7e1aa8e5c49b3'
|
|
20
20
|
|
|
21
21
|
type WebrpcGenVersions = {
|
|
22
22
|
webrpcGenVersion: string
|
|
@@ -72,13 +72,14 @@ function parseWebrpcGenVersions(header: string): WebrpcGenVersions {
|
|
|
72
72
|
|
|
73
73
|
export enum ResourceStatus {
|
|
74
74
|
NOT_AVAILABLE = 'NOT_AVAILABLE',
|
|
75
|
-
|
|
75
|
+
REFRESHING = 'REFRESHING',
|
|
76
76
|
AVAILABLE = 'AVAILABLE'
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
export interface ContractInfo {
|
|
80
80
|
chainId: number
|
|
81
81
|
address: string
|
|
82
|
+
source: string
|
|
82
83
|
name: string
|
|
83
84
|
type: string
|
|
84
85
|
symbol: string
|
|
@@ -88,7 +89,6 @@ export interface ContractInfo {
|
|
|
88
89
|
bytecodeHash: string
|
|
89
90
|
extensions: ContractInfoExtensions
|
|
90
91
|
updatedAt: string
|
|
91
|
-
notFound: boolean
|
|
92
92
|
queuedAt?: string
|
|
93
93
|
status: ResourceStatus
|
|
94
94
|
}
|
|
@@ -105,10 +105,13 @@ export interface ContractInfoExtensions {
|
|
|
105
105
|
verified: boolean
|
|
106
106
|
verifiedBy: string
|
|
107
107
|
featured: boolean
|
|
108
|
+
featureIndex: number
|
|
108
109
|
}
|
|
109
110
|
|
|
110
111
|
export interface TokenMetadata {
|
|
112
|
+
contractAddress?: string
|
|
111
113
|
tokenId: string
|
|
114
|
+
source: string
|
|
112
115
|
name: string
|
|
113
116
|
description?: string
|
|
114
117
|
image?: string
|
package/src/indexergw.gen.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
|
-
// sequence-indexer v0.4.0
|
|
2
|
+
// sequence-indexer v0.4.0 64c61f1f2651cbc3bdcdaed6c06104606af8968a
|
|
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 = '
|
|
19
|
+
export const WebRPCSchemaHash = '64c61f1f2651cbc3bdcdaed6c06104606af8968a'
|
|
20
20
|
|
|
21
21
|
type WebrpcGenVersions = {
|
|
22
22
|
webrpcGenVersion: string
|
|
@@ -72,13 +72,14 @@ function parseWebrpcGenVersions(header: string): WebrpcGenVersions {
|
|
|
72
72
|
|
|
73
73
|
export enum ResourceStatus {
|
|
74
74
|
NOT_AVAILABLE = 'NOT_AVAILABLE',
|
|
75
|
-
|
|
75
|
+
REFRESHING = 'REFRESHING',
|
|
76
76
|
AVAILABLE = 'AVAILABLE'
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
export interface ContractInfo {
|
|
80
80
|
chainId: number
|
|
81
81
|
address: string
|
|
82
|
+
source: string
|
|
82
83
|
name: string
|
|
83
84
|
type: string
|
|
84
85
|
symbol: string
|
|
@@ -88,7 +89,6 @@ export interface ContractInfo {
|
|
|
88
89
|
bytecodeHash: string
|
|
89
90
|
extensions: ContractInfoExtensions
|
|
90
91
|
updatedAt: string
|
|
91
|
-
notFound: boolean
|
|
92
92
|
queuedAt?: string
|
|
93
93
|
status: ResourceStatus
|
|
94
94
|
}
|
|
@@ -105,10 +105,13 @@ export interface ContractInfoExtensions {
|
|
|
105
105
|
verified: boolean
|
|
106
106
|
verifiedBy: string
|
|
107
107
|
featured: boolean
|
|
108
|
+
featureIndex: number
|
|
108
109
|
}
|
|
109
110
|
|
|
110
111
|
export interface TokenMetadata {
|
|
112
|
+
contractAddress?: string
|
|
111
113
|
tokenId: string
|
|
114
|
+
source: string
|
|
112
115
|
name: string
|
|
113
116
|
description?: string
|
|
114
117
|
image?: string
|