@0xsequence/metadata 2.0.7 → 2.0.9

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,7 +18,7 @@ function _extends() {
18
18
  }
19
19
 
20
20
  /* eslint-disable */
21
- // sequence-metadata v0.4.0 7c434e9c7faba707ea4d030621fb145e47531281
21
+ // sequence-metadata v0.4.0 9d0976f6ff345b6a688b69cff647454e7fd0e3a6
22
22
  // --
23
23
  // Code generated by webrpc-gen@v0.18.6 with typescript generator. DO NOT EDIT.
24
24
  //
@@ -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 = '7c434e9c7faba707ea4d030621fb145e47531281';
34
+ const WebRPCSchemaHash = '9d0976f6ff345b6a688b69cff647454e7fd0e3a6';
35
35
 
36
36
  //
37
37
  // Types
@@ -647,6 +647,7 @@ class Collections {
647
647
  return buildResponse(res).then(_data => {
648
648
  return {
649
649
  contractCollections: _data.contractCollections,
650
+ collections: _data.collections,
650
651
  page: _data.page
651
652
  };
652
653
  });
@@ -18,7 +18,7 @@ function _extends() {
18
18
  }
19
19
 
20
20
  /* eslint-disable */
21
- // sequence-metadata v0.4.0 7c434e9c7faba707ea4d030621fb145e47531281
21
+ // sequence-metadata v0.4.0 9d0976f6ff345b6a688b69cff647454e7fd0e3a6
22
22
  // --
23
23
  // Code generated by webrpc-gen@v0.18.6 with typescript generator. DO NOT EDIT.
24
24
  //
@@ -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 = '7c434e9c7faba707ea4d030621fb145e47531281';
34
+ const WebRPCSchemaHash = '9d0976f6ff345b6a688b69cff647454e7fd0e3a6';
35
35
 
36
36
  //
37
37
  // Types
@@ -647,6 +647,7 @@ class Collections {
647
647
  return buildResponse(res).then(_data => {
648
648
  return {
649
649
  contractCollections: _data.contractCollections,
650
+ collections: _data.collections,
650
651
  page: _data.page
651
652
  };
652
653
  });
@@ -14,7 +14,7 @@ function _extends() {
14
14
  }
15
15
 
16
16
  /* eslint-disable */
17
- // sequence-metadata v0.4.0 7c434e9c7faba707ea4d030621fb145e47531281
17
+ // sequence-metadata v0.4.0 9d0976f6ff345b6a688b69cff647454e7fd0e3a6
18
18
  // --
19
19
  // Code generated by webrpc-gen@v0.18.6 with typescript generator. DO NOT EDIT.
20
20
  //
@@ -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 = '7c434e9c7faba707ea4d030621fb145e47531281';
30
+ const WebRPCSchemaHash = '9d0976f6ff345b6a688b69cff647454e7fd0e3a6';
31
31
 
32
32
  //
33
33
  // Types
@@ -643,6 +643,7 @@ class Collections {
643
643
  return buildResponse(res).then(_data => {
644
644
  return {
645
645
  contractCollections: _data.contractCollections,
646
+ collections: _data.collections,
646
647
  page: _data.page
647
648
  };
648
649
  });
@@ -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 = "7c434e9c7faba707ea4d030621fb145e47531281";
3
+ export declare const WebRPCSchemaHash = "9d0976f6ff345b6a688b69cff647454e7fd0e3a6";
4
4
  export declare enum ContractType {
5
5
  UNKNOWN = "UNKNOWN",
6
6
  ERC20 = "ERC20",
@@ -85,12 +85,14 @@ export interface ContractInfoExtensions {
85
85
  link: string;
86
86
  description: string;
87
87
  ogImage: string;
88
+ ogName: string;
88
89
  originChainId: number;
89
90
  originAddress: string;
90
91
  blacklist: boolean;
91
92
  verified: boolean;
92
93
  verifiedBy: string;
93
94
  featured: boolean;
95
+ private: boolean;
94
96
  }
95
97
  export interface TokenMetadata {
96
98
  tokenId: string;
@@ -130,6 +132,7 @@ export interface Collection {
130
132
  metadata: CollectionMetadata;
131
133
  private: boolean;
132
134
  revealKey?: string;
135
+ tokenCount?: number;
133
136
  createdAt?: string;
134
137
  updatedAt?: string;
135
138
  deletedAt?: string;
@@ -614,6 +617,7 @@ export interface ListContractCollectionsArgs {
614
617
  }
615
618
  export interface ListContractCollectionsReturn {
616
619
  contractCollections: Array<ContractCollection>;
620
+ collections: Array<Collection>;
617
621
  page: Page;
618
622
  }
619
623
  export interface UpdateContractCollectionArgs {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@0xsequence/metadata",
3
- "version": "2.0.7",
3
+ "version": "2.0.9",
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,5 +1,5 @@
1
1
  /* eslint-disable */
2
- // sequence-metadata v0.4.0 7c434e9c7faba707ea4d030621fb145e47531281
2
+ // sequence-metadata v0.4.0 9d0976f6ff345b6a688b69cff647454e7fd0e3a6
3
3
  // --
4
4
  // Code generated by webrpc-gen@v0.18.6 with typescript generator. DO NOT EDIT.
5
5
  //
@@ -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 = '7c434e9c7faba707ea4d030621fb145e47531281'
15
+ export const WebRPCSchemaHash = '9d0976f6ff345b6a688b69cff647454e7fd0e3a6'
16
16
 
17
17
  //
18
18
  // Types
@@ -107,12 +107,14 @@ export interface ContractInfoExtensions {
107
107
  link: string
108
108
  description: string
109
109
  ogImage: string
110
+ ogName: string
110
111
  originChainId: number
111
112
  originAddress: string
112
113
  blacklist: boolean
113
114
  verified: boolean
114
115
  verifiedBy: string
115
116
  featured: boolean
117
+ private: boolean
116
118
  }
117
119
 
118
120
  export interface TokenMetadata {
@@ -152,6 +154,7 @@ export interface Collection {
152
154
  metadata: CollectionMetadata
153
155
  private: boolean
154
156
  revealKey?: string
157
+ tokenCount?: number
155
158
  createdAt?: string
156
159
  updatedAt?: string
157
160
  deletedAt?: string
@@ -764,6 +767,7 @@ export interface ListContractCollectionsArgs {
764
767
 
765
768
  export interface ListContractCollectionsReturn {
766
769
  contractCollections: Array<ContractCollection>
770
+ collections: Array<Collection>
767
771
  page: Page
768
772
  }
769
773
  export interface UpdateContractCollectionArgs {
@@ -1710,6 +1714,7 @@ export class Collections implements Collections {
1710
1714
  return buildResponse(res).then(_data => {
1711
1715
  return {
1712
1716
  contractCollections: <Array<ContractCollection>>_data.contractCollections,
1717
+ collections: <Array<Collection>>_data.collections,
1713
1718
  page: <Page>_data.page
1714
1719
  }
1715
1720
  })