@0xsequence/indexer 3.0.0-beta.8 → 3.0.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/.turbo/turbo-build.log +2 -2
- package/.turbo/turbo-lint.log +4 -0
- package/.turbo/turbo-test.log +5 -0
- package/.turbo/turbo-typecheck.log +4 -0
- package/CHANGELOG.md +91 -0
- package/dist/index.d.ts +4 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -47
- package/dist/indexer.gen.d.ts +993 -633
- package/dist/indexer.gen.d.ts.map +1 -1
- package/dist/indexer.gen.js +885 -632
- package/dist/indexergw.gen.d.ts +686 -455
- package/dist/indexergw.gen.d.ts.map +1 -1
- package/dist/indexergw.gen.js +684 -426
- package/eslint.config.js +4 -0
- package/package.json +8 -5
- package/src/index.ts +6 -6
- package/src/indexer.gen.ts +1904 -1487
- package/src/indexergw.gen.ts +1215 -946
- package/tsconfig.json +3 -1
package/eslint.config.js
ADDED
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@0xsequence/indexer",
|
|
3
|
-
"version": "3.0.0
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "indexer sub-package for Sequence",
|
|
5
5
|
"repository": "https://github.com/0xsequence/sequence.js/tree/master/packages/services/indexer",
|
|
6
|
-
"author": "Sequence Platforms
|
|
6
|
+
"author": "Sequence Platforms ULC",
|
|
7
7
|
"license": "Apache-2.0",
|
|
8
8
|
"publishConfig": {
|
|
9
9
|
"access": "public"
|
|
10
10
|
},
|
|
11
|
+
"type": "module",
|
|
11
12
|
"exports": {
|
|
12
13
|
".": {
|
|
13
14
|
"types": "./dist/index.d.ts",
|
|
@@ -15,14 +16,16 @@
|
|
|
15
16
|
}
|
|
16
17
|
},
|
|
17
18
|
"devDependencies": {
|
|
18
|
-
"@types/node": "^25.0
|
|
19
|
+
"@types/node": "^25.3.0",
|
|
19
20
|
"typescript": "^5.9.3",
|
|
20
|
-
"@repo/
|
|
21
|
+
"@repo/eslint-config": "^0.0.1",
|
|
22
|
+
"@repo/typescript-config": "^0.0.1"
|
|
21
23
|
},
|
|
22
24
|
"scripts": {
|
|
23
25
|
"build": "tsc",
|
|
24
26
|
"dev": "tsc --watch",
|
|
25
27
|
"test": "echo",
|
|
26
|
-
"typecheck": "tsc --noEmit"
|
|
28
|
+
"typecheck": "tsc --noEmit",
|
|
29
|
+
"lint": "eslint . --max-warnings 0"
|
|
27
30
|
}
|
|
28
31
|
}
|
package/src/index.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export * from './indexer.gen'
|
|
2
|
-
export * as IndexerGateway from './indexergw.gen'
|
|
1
|
+
export * from './indexer.gen.js'
|
|
2
|
+
export * as IndexerGateway from './indexergw.gen.js'
|
|
3
3
|
|
|
4
|
-
import { Indexer as IndexerRpc } from './indexer.gen'
|
|
5
|
-
import { IndexerGateway as IndexerGatewayRpc } from './indexergw.gen'
|
|
4
|
+
import { Indexer as IndexerRpc } from './indexer.gen.js'
|
|
5
|
+
import { IndexerGateway as IndexerGatewayRpc } from './indexergw.gen.js'
|
|
6
6
|
|
|
7
7
|
export class SequenceIndexer extends IndexerRpc {
|
|
8
8
|
constructor(
|
|
@@ -17,7 +17,7 @@ export class SequenceIndexer extends IndexerRpc {
|
|
|
17
17
|
_fetch = (input: RequestInfo, init?: RequestInit): Promise<Response> => {
|
|
18
18
|
// automatically include jwt and access key auth header to requests
|
|
19
19
|
// if its been set on the api client
|
|
20
|
-
const headers:
|
|
20
|
+
const headers: Record<string, string> = {}
|
|
21
21
|
|
|
22
22
|
const jwtAuth = this.jwtAuth
|
|
23
23
|
const projectAccessKey = this.projectAccessKey
|
|
@@ -50,7 +50,7 @@ export class SequenceIndexerGateway extends IndexerGatewayRpc {
|
|
|
50
50
|
_fetch = (input: RequestInfo, init?: RequestInit): Promise<Response> => {
|
|
51
51
|
// automatically include jwt and access key auth header to requests
|
|
52
52
|
// if its been set on the api client
|
|
53
|
-
const headers:
|
|
53
|
+
const headers: Record<string, string> = {}
|
|
54
54
|
|
|
55
55
|
const jwtAuth = this.jwtAuth
|
|
56
56
|
const projectAccessKey = this.projectAccessKey
|