@0xsequence/marketplace 2.3.37 → 2.3.38

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.
@@ -13,23 +13,23 @@ function _extends() {
13
13
  }
14
14
 
15
15
  /* eslint-disable */
16
- // marketplace-api v0-25.11.10+051e186 8c928787e9271cfa8b0dcc76dbb00674004dab18
16
+ // marketplace-api v0-25.12.1+61b56ff ec2402a5d97f7a444807ac40e894721991bdb228
17
17
  // --
18
- // Code generated by webrpc-gen@v0.31.1 with github.com/webrpc/gen-typescript@v0.19.0 generator. DO NOT EDIT.
18
+ // Code generated by webrpc-gen@v0.31.2 with github.com/webrpc/gen-typescript@v0.19.0 generator. DO NOT EDIT.
19
19
  //
20
20
  // webrpc-gen -schema=./schema_old/schema.ridl -target=github.com/webrpc/gen-typescript@v0.19.0 -client -out=./clients/marketplace.gen.ts
21
21
 
22
22
  const WebrpcHeader = 'Webrpc';
23
- const WebrpcHeaderValue = 'webrpc@v0.31.1;gen-typescript@v0.19.0;marketplace-api@v0-25.11.10+051e186';
23
+ const WebrpcHeaderValue = 'webrpc@v0.31.2;gen-typescript@v0.19.0;marketplace-api@v0-25.12.1+61b56ff';
24
24
 
25
25
  // WebRPC description and code-gen version
26
26
  const WebRPCVersion = 'v1';
27
27
 
28
28
  // Schema version of your RIDL schema
29
- const WebRPCSchemaVersion = 'v0-25.11.10+051e186';
29
+ const WebRPCSchemaVersion = 'v0-25.12.1+61b56ff';
30
30
 
31
31
  // Schema hash generated from your RIDL schema
32
- const WebRPCSchemaHash = '8c928787e9271cfa8b0dcc76dbb00674004dab18';
32
+ const WebRPCSchemaHash = 'ec2402a5d97f7a444807ac40e894721991bdb228';
33
33
  function VersionFromHeader(headers) {
34
34
  const headerValue = headers.get(WebrpcHeader);
35
35
  if (!headerValue) {
@@ -935,34 +935,6 @@ class Marketplace {
935
935
  });
936
936
  });
937
937
  };
938
- this.listCollectionActivities = (args, headers, signal) => {
939
- return this.fetch(this.url('ListCollectionActivities'), createHTTPRequest(args, headers, signal)).then(res => {
940
- return buildResponse(res).then(_data => {
941
- return {
942
- activities: _data.activities,
943
- page: _data.page
944
- };
945
- });
946
- }, error => {
947
- throw WebrpcRequestFailedError.new({
948
- cause: `fetch(): ${error instanceof Error ? error.message : String(error)}`
949
- });
950
- });
951
- };
952
- this.listCollectibleActivities = (args, headers, signal) => {
953
- return this.fetch(this.url('ListCollectibleActivities'), createHTTPRequest(args, headers, signal)).then(res => {
954
- return buildResponse(res).then(_data => {
955
- return {
956
- activities: _data.activities,
957
- page: _data.page
958
- };
959
- });
960
- }, error => {
961
- throw WebrpcRequestFailedError.new({
962
- cause: `fetch(): ${error instanceof Error ? error.message : String(error)}`
963
- });
964
- });
965
- };
966
938
  this.listCollectiblesWithLowestListing = (args, headers, signal) => {
967
939
  return this.fetch(this.url('ListCollectiblesWithLowestListing'), createHTTPRequest(args, headers, signal)).then(res => {
968
940
  return buildResponse(res).then(_data => {
@@ -13,23 +13,23 @@ function _extends() {
13
13
  }
14
14
 
15
15
  /* eslint-disable */
16
- // marketplace-api v0-25.11.10+051e186 8c928787e9271cfa8b0dcc76dbb00674004dab18
16
+ // marketplace-api v0-25.12.1+61b56ff ec2402a5d97f7a444807ac40e894721991bdb228
17
17
  // --
18
- // Code generated by webrpc-gen@v0.31.1 with github.com/webrpc/gen-typescript@v0.19.0 generator. DO NOT EDIT.
18
+ // Code generated by webrpc-gen@v0.31.2 with github.com/webrpc/gen-typescript@v0.19.0 generator. DO NOT EDIT.
19
19
  //
20
20
  // webrpc-gen -schema=./schema_old/schema.ridl -target=github.com/webrpc/gen-typescript@v0.19.0 -client -out=./clients/marketplace.gen.ts
21
21
 
22
22
  const WebrpcHeader = 'Webrpc';
23
- const WebrpcHeaderValue = 'webrpc@v0.31.1;gen-typescript@v0.19.0;marketplace-api@v0-25.11.10+051e186';
23
+ const WebrpcHeaderValue = 'webrpc@v0.31.2;gen-typescript@v0.19.0;marketplace-api@v0-25.12.1+61b56ff';
24
24
 
25
25
  // WebRPC description and code-gen version
26
26
  const WebRPCVersion = 'v1';
27
27
 
28
28
  // Schema version of your RIDL schema
29
- const WebRPCSchemaVersion = 'v0-25.11.10+051e186';
29
+ const WebRPCSchemaVersion = 'v0-25.12.1+61b56ff';
30
30
 
31
31
  // Schema hash generated from your RIDL schema
32
- const WebRPCSchemaHash = '8c928787e9271cfa8b0dcc76dbb00674004dab18';
32
+ const WebRPCSchemaHash = 'ec2402a5d97f7a444807ac40e894721991bdb228';
33
33
  function VersionFromHeader(headers) {
34
34
  const headerValue = headers.get(WebrpcHeader);
35
35
  if (!headerValue) {
@@ -935,34 +935,6 @@ class Marketplace {
935
935
  });
936
936
  });
937
937
  };
938
- this.listCollectionActivities = (args, headers, signal) => {
939
- return this.fetch(this.url('ListCollectionActivities'), createHTTPRequest(args, headers, signal)).then(res => {
940
- return buildResponse(res).then(_data => {
941
- return {
942
- activities: _data.activities,
943
- page: _data.page
944
- };
945
- });
946
- }, error => {
947
- throw WebrpcRequestFailedError.new({
948
- cause: `fetch(): ${error instanceof Error ? error.message : String(error)}`
949
- });
950
- });
951
- };
952
- this.listCollectibleActivities = (args, headers, signal) => {
953
- return this.fetch(this.url('ListCollectibleActivities'), createHTTPRequest(args, headers, signal)).then(res => {
954
- return buildResponse(res).then(_data => {
955
- return {
956
- activities: _data.activities,
957
- page: _data.page
958
- };
959
- });
960
- }, error => {
961
- throw WebrpcRequestFailedError.new({
962
- cause: `fetch(): ${error instanceof Error ? error.message : String(error)}`
963
- });
964
- });
965
- };
966
938
  this.listCollectiblesWithLowestListing = (args, headers, signal) => {
967
939
  return this.fetch(this.url('ListCollectiblesWithLowestListing'), createHTTPRequest(args, headers, signal)).then(res => {
968
940
  return buildResponse(res).then(_data => {
@@ -9,23 +9,23 @@ function _extends() {
9
9
  }
10
10
 
11
11
  /* eslint-disable */
12
- // marketplace-api v0-25.11.10+051e186 8c928787e9271cfa8b0dcc76dbb00674004dab18
12
+ // marketplace-api v0-25.12.1+61b56ff ec2402a5d97f7a444807ac40e894721991bdb228
13
13
  // --
14
- // Code generated by webrpc-gen@v0.31.1 with github.com/webrpc/gen-typescript@v0.19.0 generator. DO NOT EDIT.
14
+ // Code generated by webrpc-gen@v0.31.2 with github.com/webrpc/gen-typescript@v0.19.0 generator. DO NOT EDIT.
15
15
  //
16
16
  // webrpc-gen -schema=./schema_old/schema.ridl -target=github.com/webrpc/gen-typescript@v0.19.0 -client -out=./clients/marketplace.gen.ts
17
17
 
18
18
  const WebrpcHeader = 'Webrpc';
19
- const WebrpcHeaderValue = 'webrpc@v0.31.1;gen-typescript@v0.19.0;marketplace-api@v0-25.11.10+051e186';
19
+ const WebrpcHeaderValue = 'webrpc@v0.31.2;gen-typescript@v0.19.0;marketplace-api@v0-25.12.1+61b56ff';
20
20
 
21
21
  // WebRPC description and code-gen version
22
22
  const WebRPCVersion = 'v1';
23
23
 
24
24
  // Schema version of your RIDL schema
25
- const WebRPCSchemaVersion = 'v0-25.11.10+051e186';
25
+ const WebRPCSchemaVersion = 'v0-25.12.1+61b56ff';
26
26
 
27
27
  // Schema hash generated from your RIDL schema
28
- const WebRPCSchemaHash = '8c928787e9271cfa8b0dcc76dbb00674004dab18';
28
+ const WebRPCSchemaHash = 'ec2402a5d97f7a444807ac40e894721991bdb228';
29
29
  function VersionFromHeader(headers) {
30
30
  const headerValue = headers.get(WebrpcHeader);
31
31
  if (!headerValue) {
@@ -931,34 +931,6 @@ class Marketplace {
931
931
  });
932
932
  });
933
933
  };
934
- this.listCollectionActivities = (args, headers, signal) => {
935
- return this.fetch(this.url('ListCollectionActivities'), createHTTPRequest(args, headers, signal)).then(res => {
936
- return buildResponse(res).then(_data => {
937
- return {
938
- activities: _data.activities,
939
- page: _data.page
940
- };
941
- });
942
- }, error => {
943
- throw WebrpcRequestFailedError.new({
944
- cause: `fetch(): ${error instanceof Error ? error.message : String(error)}`
945
- });
946
- });
947
- };
948
- this.listCollectibleActivities = (args, headers, signal) => {
949
- return this.fetch(this.url('ListCollectibleActivities'), createHTTPRequest(args, headers, signal)).then(res => {
950
- return buildResponse(res).then(_data => {
951
- return {
952
- activities: _data.activities,
953
- page: _data.page
954
- };
955
- });
956
- }, error => {
957
- throw WebrpcRequestFailedError.new({
958
- cause: `fetch(): ${error instanceof Error ? error.message : String(error)}`
959
- });
960
- });
961
- };
962
934
  this.listCollectiblesWithLowestListing = (args, headers, signal) => {
963
935
  return this.fetch(this.url('ListCollectiblesWithLowestListing'), createHTTPRequest(args, headers, signal)).then(res => {
964
936
  return buildResponse(res).then(_data => {
@@ -1,8 +1,8 @@
1
1
  export declare const WebrpcHeader = "Webrpc";
2
- export declare const WebrpcHeaderValue = "webrpc@v0.31.1;gen-typescript@v0.19.0;marketplace-api@v0-25.11.10+051e186";
2
+ export declare const WebrpcHeaderValue = "webrpc@v0.31.2;gen-typescript@v0.19.0;marketplace-api@v0-25.12.1+61b56ff";
3
3
  export declare const WebRPCVersion = "v1";
4
- export declare const WebRPCSchemaVersion = "v0-25.11.10+051e186";
5
- export declare const WebRPCSchemaHash = "8c928787e9271cfa8b0dcc76dbb00674004dab18";
4
+ export declare const WebRPCSchemaVersion = "v0-25.12.1+61b56ff";
5
+ export declare const WebRPCSchemaHash = "ec2402a5d97f7a444807ac40e894721991bdb228";
6
6
  type WebrpcGenVersions = {
7
7
  webrpcGenVersion: string;
8
8
  codeGenName: string;
@@ -742,14 +742,6 @@ export interface Marketplace {
742
742
  getCountOfAllCollectibles(args: GetCountOfAllCollectiblesArgs, headers?: object, signal?: AbortSignal): Promise<GetCountOfAllCollectiblesReturn>;
743
743
  getCountOfFilteredCollectibles(args: GetCountOfFilteredCollectiblesArgs, headers?: object, signal?: AbortSignal): Promise<GetCountOfFilteredCollectiblesReturn>;
744
744
  getFloorOrder(args: GetFloorOrderArgs, headers?: object, signal?: AbortSignal): Promise<GetFloorOrderReturn>;
745
- /**
746
- * Not Implemented
747
- */
748
- listCollectionActivities(args: ListCollectionActivitiesArgs, headers?: object, signal?: AbortSignal): Promise<ListCollectionActivitiesReturn>;
749
- /**
750
- * Not Implemented
751
- */
752
- listCollectibleActivities(args: ListCollectibleActivitiesArgs, headers?: object, signal?: AbortSignal): Promise<ListCollectibleActivitiesReturn>;
753
745
  listCollectiblesWithLowestListing(args: ListCollectiblesWithLowestListingArgs, headers?: object, signal?: AbortSignal): Promise<ListCollectiblesWithLowestListingReturn>;
754
746
  listCollectiblesWithHighestOffer(args: ListCollectiblesWithHighestOfferArgs, headers?: object, signal?: AbortSignal): Promise<ListCollectiblesWithHighestOfferReturn>;
755
747
  syncOrder(args: SyncOrderArgs, headers?: object, signal?: AbortSignal): Promise<SyncOrderReturn>;
@@ -1087,25 +1079,6 @@ export interface GetFloorOrderArgs {
1087
1079
  export interface GetFloorOrderReturn {
1088
1080
  collectible: CollectibleOrder;
1089
1081
  }
1090
- export interface ListCollectionActivitiesArgs {
1091
- chainId: string;
1092
- contractAddress: string;
1093
- page?: Page;
1094
- }
1095
- export interface ListCollectionActivitiesReturn {
1096
- activities: Array<Activity>;
1097
- page?: Page;
1098
- }
1099
- export interface ListCollectibleActivitiesArgs {
1100
- chainId: string;
1101
- contractAddress: string;
1102
- tokenId: string;
1103
- page?: Page;
1104
- }
1105
- export interface ListCollectibleActivitiesReturn {
1106
- activities: Array<Activity>;
1107
- page?: Page;
1108
- }
1109
1082
  export interface ListCollectiblesWithLowestListingArgs {
1110
1083
  chainId: string;
1111
1084
  contractAddress: string;
@@ -1259,8 +1232,6 @@ export declare class Marketplace implements Marketplace {
1259
1232
  getCountOfAllCollectibles: (args: GetCountOfAllCollectiblesArgs, headers?: object, signal?: AbortSignal) => Promise<GetCountOfAllCollectiblesReturn>;
1260
1233
  getCountOfFilteredCollectibles: (args: GetCountOfFilteredCollectiblesArgs, headers?: object, signal?: AbortSignal) => Promise<GetCountOfFilteredCollectiblesReturn>;
1261
1234
  getFloorOrder: (args: GetFloorOrderArgs, headers?: object, signal?: AbortSignal) => Promise<GetFloorOrderReturn>;
1262
- listCollectionActivities: (args: ListCollectionActivitiesArgs, headers?: object, signal?: AbortSignal) => Promise<ListCollectionActivitiesReturn>;
1263
- listCollectibleActivities: (args: ListCollectibleActivitiesArgs, headers?: object, signal?: AbortSignal) => Promise<ListCollectibleActivitiesReturn>;
1264
1235
  listCollectiblesWithLowestListing: (args: ListCollectiblesWithLowestListingArgs, headers?: object, signal?: AbortSignal) => Promise<ListCollectiblesWithLowestListingReturn>;
1265
1236
  listCollectiblesWithHighestOffer: (args: ListCollectiblesWithHighestOfferArgs, headers?: object, signal?: AbortSignal) => Promise<ListCollectiblesWithHighestOfferReturn>;
1266
1237
  syncOrder: (args: SyncOrderArgs, headers?: object, signal?: AbortSignal) => Promise<SyncOrderReturn>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@0xsequence/marketplace",
3
- "version": "2.3.37",
3
+ "version": "2.3.38",
4
4
  "description": "marketplace sub-package for Sequence",
5
5
  "repository": "https://github.com/0xsequence/sequence.js/tree/master/packages/marketplace",
6
6
  "source": "src/index.ts",
@@ -1,22 +1,22 @@
1
1
  /* eslint-disable */
2
- // marketplace-api v0-25.11.10+051e186 8c928787e9271cfa8b0dcc76dbb00674004dab18
2
+ // marketplace-api v0-25.12.1+61b56ff ec2402a5d97f7a444807ac40e894721991bdb228
3
3
  // --
4
- // Code generated by webrpc-gen@v0.31.1 with github.com/webrpc/gen-typescript@v0.19.0 generator. DO NOT EDIT.
4
+ // Code generated by webrpc-gen@v0.31.2 with github.com/webrpc/gen-typescript@v0.19.0 generator. DO NOT EDIT.
5
5
  //
6
6
  // webrpc-gen -schema=./schema_old/schema.ridl -target=github.com/webrpc/gen-typescript@v0.19.0 -client -out=./clients/marketplace.gen.ts
7
7
 
8
8
  export const WebrpcHeader = 'Webrpc'
9
9
 
10
- export const WebrpcHeaderValue = 'webrpc@v0.31.1;gen-typescript@v0.19.0;marketplace-api@v0-25.11.10+051e186'
10
+ export const WebrpcHeaderValue = 'webrpc@v0.31.2;gen-typescript@v0.19.0;marketplace-api@v0-25.12.1+61b56ff'
11
11
 
12
12
  // WebRPC description and code-gen version
13
13
  export const WebRPCVersion = 'v1'
14
14
 
15
15
  // Schema version of your RIDL schema
16
- export const WebRPCSchemaVersion = 'v0-25.11.10+051e186'
16
+ export const WebRPCSchemaVersion = 'v0-25.12.1+61b56ff'
17
17
 
18
18
  // Schema hash generated from your RIDL schema
19
- export const WebRPCSchemaHash = '8c928787e9271cfa8b0dcc76dbb00674004dab18'
19
+ export const WebRPCSchemaHash = 'ec2402a5d97f7a444807ac40e894721991bdb228'
20
20
 
21
21
  type WebrpcGenVersions = {
22
22
  webrpcGenVersion: string
@@ -977,22 +977,6 @@ export interface Marketplace {
977
977
  signal?: AbortSignal
978
978
  ): Promise<GetCountOfFilteredCollectiblesReturn>
979
979
  getFloorOrder(args: GetFloorOrderArgs, headers?: object, signal?: AbortSignal): Promise<GetFloorOrderReturn>
980
- /**
981
- * Not Implemented
982
- */
983
- listCollectionActivities(
984
- args: ListCollectionActivitiesArgs,
985
- headers?: object,
986
- signal?: AbortSignal
987
- ): Promise<ListCollectionActivitiesReturn>
988
- /**
989
- * Not Implemented
990
- */
991
- listCollectibleActivities(
992
- args: ListCollectibleActivitiesArgs,
993
- headers?: object,
994
- signal?: AbortSignal
995
- ): Promise<ListCollectibleActivitiesReturn>
996
980
  listCollectiblesWithLowestListing(
997
981
  args: ListCollectiblesWithLowestListingArgs,
998
982
  headers?: object,
@@ -1393,27 +1377,6 @@ export interface GetFloorOrderArgs {
1393
1377
  export interface GetFloorOrderReturn {
1394
1378
  collectible: CollectibleOrder
1395
1379
  }
1396
- export interface ListCollectionActivitiesArgs {
1397
- chainId: string
1398
- contractAddress: string
1399
- page?: Page
1400
- }
1401
-
1402
- export interface ListCollectionActivitiesReturn {
1403
- activities: Array<Activity>
1404
- page?: Page
1405
- }
1406
- export interface ListCollectibleActivitiesArgs {
1407
- chainId: string
1408
- contractAddress: string
1409
- tokenId: string
1410
- page?: Page
1411
- }
1412
-
1413
- export interface ListCollectibleActivitiesReturn {
1414
- activities: Array<Activity>
1415
- page?: Page
1416
- }
1417
1380
  export interface ListCollectiblesWithLowestListingArgs {
1418
1381
  chainId: string
1419
1382
  contractAddress: string
@@ -2386,46 +2349,6 @@ export class Marketplace implements Marketplace {
2386
2349
  )
2387
2350
  }
2388
2351
 
2389
- listCollectionActivities = (
2390
- args: ListCollectionActivitiesArgs,
2391
- headers?: object,
2392
- signal?: AbortSignal
2393
- ): Promise<ListCollectionActivitiesReturn> => {
2394
- return this.fetch(this.url('ListCollectionActivities'), createHTTPRequest(args, headers, signal)).then(
2395
- res => {
2396
- return buildResponse(res).then(_data => {
2397
- return {
2398
- activities: <Array<Activity>>_data.activities,
2399
- page: <Page>_data.page
2400
- }
2401
- })
2402
- },
2403
- error => {
2404
- throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` })
2405
- }
2406
- )
2407
- }
2408
-
2409
- listCollectibleActivities = (
2410
- args: ListCollectibleActivitiesArgs,
2411
- headers?: object,
2412
- signal?: AbortSignal
2413
- ): Promise<ListCollectibleActivitiesReturn> => {
2414
- return this.fetch(this.url('ListCollectibleActivities'), createHTTPRequest(args, headers, signal)).then(
2415
- res => {
2416
- return buildResponse(res).then(_data => {
2417
- return {
2418
- activities: <Array<Activity>>_data.activities,
2419
- page: <Page>_data.page
2420
- }
2421
- })
2422
- },
2423
- error => {
2424
- throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` })
2425
- }
2426
- )
2427
- }
2428
-
2429
2352
  listCollectiblesWithLowestListing = (
2430
2353
  args: ListCollectiblesWithLowestListingArgs,
2431
2354
  headers?: object,