@0xsequence/metadata 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.
@@ -0,0 +1,4 @@
1
+ import { config as baseConfig } from "@repo/eslint-config/base"
2
+
3
+ /** @type {import("eslint").Linter.Config} */
4
+ export default baseConfig
package/package.json CHANGED
@@ -1,13 +1,14 @@
1
1
  {
2
2
  "name": "@0xsequence/metadata",
3
- "version": "3.0.0-beta.8",
3
+ "version": "3.0.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
7
  "description": "metadata sub-package for Sequence",
8
8
  "repository": "https://github.com/0xsequence/sequence.js/tree/master/packages/services/metadata",
9
- "author": "Sequence Platforms Inc.",
9
+ "author": "Sequence Platforms ULC",
10
10
  "license": "Apache-2.0",
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.2",
19
+ "@types/node": "^25.3.0",
19
20
  "typescript": "^5.9.3",
20
- "@repo/typescript-config": "^0.0.1-beta.1"
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,6 +1,6 @@
1
- export * from './metadata.gen'
1
+ export * from './metadata.gen.js'
2
2
 
3
- import { Metadata as MetadataRpc, Collections as CollectionsRpc } from './metadata.gen'
3
+ import { Metadata as MetadataRpc, Collections as CollectionsRpc } from './metadata.gen.js'
4
4
 
5
5
  export class SequenceMetadata extends MetadataRpc {
6
6
  constructor(
@@ -15,7 +15,7 @@ export class SequenceMetadata extends MetadataRpc {
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 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
@@ -47,7 +47,7 @@ export class SequenceCollections extends CollectionsRpc {
47
47
  _fetch = (input: RequestInfo, init?: RequestInit): Promise<Response> => {
48
48
  // automatically include jwt auth header to requests
49
49
  // if its been set on the client
50
- const headers: { [key: string]: any } = {}
50
+ const headers: Record<string, string> = {}
51
51
 
52
52
  const jwtAuth = this.jwtAuth
53
53