@0xsequence/api 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/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: { [key: string]: any } = {}
18
+ const headers: Record<string, string> = {}
19
19
 
20
20
  const jwtAuth = this.jwtAuth
21
21
  const projectAccessKey = this.projectAccessKey