@0xsequence/api 3.0.0-beta.9 → 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 +85 -0
- package/dist/api.gen.d.ts +1 -222
- package/dist/api.gen.d.ts.map +1 -1
- package/dist/api.gen.js +460 -765
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -21
- package/eslint.config.js +4 -0
- package/package.json +8 -5
- package/src/api.gen.ts +562 -1338
- package/src/index.ts +3 -3
package/src/index.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from './api.gen'
|
|
1
|
+
export * from './api.gen.js'
|
|
2
2
|
|
|
3
|
-
import { API as ApiRpc } from './api.gen'
|
|
3
|
+
import { API as ApiRpc } from './api.gen.js'
|
|
4
4
|
|
|
5
5
|
export class SequenceAPIClient extends ApiRpc {
|
|
6
6
|
constructor(
|
|
@@ -15,7 +15,7 @@ export class SequenceAPIClient extends ApiRpc {
|
|
|
15
15
|
_fetch = (input: RequestInfo, init?: RequestInit): Promise<Response> => {
|
|
16
16
|
// automatically include jwt and access key auth header to requests
|
|
17
17
|
// if its been set on the api client
|
|
18
|
-
const headers:
|
|
18
|
+
const headers: Record<string, string> = {}
|
|
19
19
|
|
|
20
20
|
const jwtAuth = this.jwtAuth
|
|
21
21
|
const projectAccessKey = this.projectAccessKey
|