@0xsequence/metadata 1.9.24 → 1.9.26

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.
@@ -18,11 +18,11 @@ function _extends() {
18
18
  }
19
19
 
20
20
  /* eslint-disable */
21
- // sequence-metadata v0.4.0 3ae3122f8b3067b58e097c81c3c6edb3843b2ed8
21
+ // sequence-metadata v0.4.0 beba38a03448af4673d6c6d02364dca15197c8b5
22
22
  // --
23
- // Code generated by webrpc-gen@v0.18.4 with typescript@v0.13.0 generator. DO NOT EDIT.
23
+ // Code generated by webrpc-gen@v0.18.6 with typescript generator. DO NOT EDIT.
24
24
  //
25
- // webrpc-gen -schema=metadata.ridl -target=typescript@v0.13.0 -client -out=./clients/metadata.gen.ts
25
+ // webrpc-gen -schema=metadata.ridl -target=typescript -client -out=./clients/metadata.gen.ts
26
26
 
27
27
  // WebRPC description and code-gen version
28
28
  const WebRPCVersion = 'v1';
@@ -31,7 +31,7 @@ const WebRPCVersion = 'v1';
31
31
  const WebRPCSchemaVersion = 'v0.4.0';
32
32
 
33
33
  // Schema hash generated from your RIDL schema
34
- const WebRPCSchemaHash = '3ae3122f8b3067b58e097c81c3c6edb3843b2ed8';
34
+ const WebRPCSchemaHash = 'beba38a03448af4673d6c6d02364dca15197c8b5';
35
35
 
36
36
  //
37
37
  // Types
@@ -18,11 +18,11 @@ function _extends() {
18
18
  }
19
19
 
20
20
  /* eslint-disable */
21
- // sequence-metadata v0.4.0 3ae3122f8b3067b58e097c81c3c6edb3843b2ed8
21
+ // sequence-metadata v0.4.0 beba38a03448af4673d6c6d02364dca15197c8b5
22
22
  // --
23
- // Code generated by webrpc-gen@v0.18.4 with typescript@v0.13.0 generator. DO NOT EDIT.
23
+ // Code generated by webrpc-gen@v0.18.6 with typescript generator. DO NOT EDIT.
24
24
  //
25
- // webrpc-gen -schema=metadata.ridl -target=typescript@v0.13.0 -client -out=./clients/metadata.gen.ts
25
+ // webrpc-gen -schema=metadata.ridl -target=typescript -client -out=./clients/metadata.gen.ts
26
26
 
27
27
  // WebRPC description and code-gen version
28
28
  const WebRPCVersion = 'v1';
@@ -31,7 +31,7 @@ const WebRPCVersion = 'v1';
31
31
  const WebRPCSchemaVersion = 'v0.4.0';
32
32
 
33
33
  // Schema hash generated from your RIDL schema
34
- const WebRPCSchemaHash = '3ae3122f8b3067b58e097c81c3c6edb3843b2ed8';
34
+ const WebRPCSchemaHash = 'beba38a03448af4673d6c6d02364dca15197c8b5';
35
35
 
36
36
  //
37
37
  // Types
@@ -14,11 +14,11 @@ function _extends() {
14
14
  }
15
15
 
16
16
  /* eslint-disable */
17
- // sequence-metadata v0.4.0 3ae3122f8b3067b58e097c81c3c6edb3843b2ed8
17
+ // sequence-metadata v0.4.0 beba38a03448af4673d6c6d02364dca15197c8b5
18
18
  // --
19
- // Code generated by webrpc-gen@v0.18.4 with typescript@v0.13.0 generator. DO NOT EDIT.
19
+ // Code generated by webrpc-gen@v0.18.6 with typescript generator. DO NOT EDIT.
20
20
  //
21
- // webrpc-gen -schema=metadata.ridl -target=typescript@v0.13.0 -client -out=./clients/metadata.gen.ts
21
+ // webrpc-gen -schema=metadata.ridl -target=typescript -client -out=./clients/metadata.gen.ts
22
22
 
23
23
  // WebRPC description and code-gen version
24
24
  const WebRPCVersion = 'v1';
@@ -27,7 +27,7 @@ const WebRPCVersion = 'v1';
27
27
  const WebRPCSchemaVersion = 'v0.4.0';
28
28
 
29
29
  // Schema hash generated from your RIDL schema
30
- const WebRPCSchemaHash = '3ae3122f8b3067b58e097c81c3c6edb3843b2ed8';
30
+ const WebRPCSchemaHash = 'beba38a03448af4673d6c6d02364dca15197c8b5';
31
31
 
32
32
  //
33
33
  // Types
@@ -1,6 +1,6 @@
1
1
  export declare const WebRPCVersion = "v1";
2
2
  export declare const WebRPCSchemaVersion = "v0.4.0";
3
- export declare const WebRPCSchemaHash = "3ae3122f8b3067b58e097c81c3c6edb3843b2ed8";
3
+ export declare const WebRPCSchemaHash = "beba38a03448af4673d6c6d02364dca15197c8b5";
4
4
  export declare enum ContractType {
5
5
  UNKNOWN = "UNKNOWN",
6
6
  ERC20 = "ERC20",
@@ -134,6 +134,7 @@ export interface Collection {
134
134
  updatedAt?: string;
135
135
  deletedAt?: string;
136
136
  baseURIs?: CollectionBaseURIs;
137
+ assets?: Array<Asset>;
137
138
  }
138
139
  export interface CollectionMetadata {
139
140
  name: string;
@@ -154,7 +155,7 @@ export interface CollectionBaseURIs {
154
155
  export interface Asset {
155
156
  id: number;
156
157
  collectionId: number;
157
- tokenId: string;
158
+ tokenId?: string;
158
159
  url?: string;
159
160
  metadataField: string;
160
161
  name?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@0xsequence/metadata",
3
- "version": "1.9.24",
3
+ "version": "1.9.26",
4
4
  "description": "metadata sub-package for Sequence",
5
5
  "repository": "https://github.com/0xsequence/sequence.js/tree/master/packages/metadata",
6
6
  "source": "src/index.ts",
@@ -1,9 +1,9 @@
1
1
  /* eslint-disable */
2
- // sequence-metadata v0.4.0 3ae3122f8b3067b58e097c81c3c6edb3843b2ed8
2
+ // sequence-metadata v0.4.0 beba38a03448af4673d6c6d02364dca15197c8b5
3
3
  // --
4
- // Code generated by webrpc-gen@v0.18.4 with typescript@v0.13.0 generator. DO NOT EDIT.
4
+ // Code generated by webrpc-gen@v0.18.6 with typescript generator. DO NOT EDIT.
5
5
  //
6
- // webrpc-gen -schema=metadata.ridl -target=typescript@v0.13.0 -client -out=./clients/metadata.gen.ts
6
+ // webrpc-gen -schema=metadata.ridl -target=typescript -client -out=./clients/metadata.gen.ts
7
7
 
8
8
  // WebRPC description and code-gen version
9
9
  export const WebRPCVersion = 'v1'
@@ -12,7 +12,7 @@ export const WebRPCVersion = 'v1'
12
12
  export const WebRPCSchemaVersion = 'v0.4.0'
13
13
 
14
14
  // Schema hash generated from your RIDL schema
15
- export const WebRPCSchemaHash = '3ae3122f8b3067b58e097c81c3c6edb3843b2ed8'
15
+ export const WebRPCSchemaHash = 'beba38a03448af4673d6c6d02364dca15197c8b5'
16
16
 
17
17
  //
18
18
  // Types
@@ -156,6 +156,7 @@ export interface Collection {
156
156
  updatedAt?: string
157
157
  deletedAt?: string
158
158
  baseURIs?: CollectionBaseURIs
159
+ assets?: Array<Asset>
159
160
  }
160
161
 
161
162
  export interface CollectionMetadata {
@@ -175,7 +176,7 @@ export interface CollectionBaseURIs {
175
176
  export interface Asset {
176
177
  id: number
177
178
  collectionId: number
178
- tokenId: string
179
+ tokenId?: string
179
180
  url?: string
180
181
  metadataField: string
181
182
  name?: string