@medialane/sdk 0.42.1 → 0.43.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/dist/index.d.cts CHANGED
@@ -287,6 +287,8 @@ interface OrderDetails {
287
287
  start_time: bigint;
288
288
  end_time: bigint;
289
289
  order_status: string;
290
+ /** The offerer's bulk-cancel epoch at registration; re-checked at fulfilment. */
291
+ counter: string;
290
292
  /** ERC-1155 only — units still available. */
291
293
  remaining_amount?: string;
292
294
  }
@@ -2052,6 +2054,9 @@ declare const IPMarketplaceABI: readonly [{
2052
2054
  }, {
2053
2055
  readonly name: "order_status";
2054
2056
  readonly type: "medialane_marketplace_erc721::core::types::OrderStatus";
2057
+ }, {
2058
+ readonly name: "counter";
2059
+ readonly type: "core::felt252";
2055
2060
  }];
2056
2061
  }, {
2057
2062
  readonly type: "interface";
@@ -2942,6 +2947,9 @@ declare const Medialane1155ABI: readonly [{
2942
2947
  }, {
2943
2948
  readonly name: "remaining_amount";
2944
2949
  readonly type: "core::felt252";
2950
+ }, {
2951
+ readonly name: "counter";
2952
+ readonly type: "core::felt252";
2945
2953
  }];
2946
2954
  }, {
2947
2955
  readonly type: "interface";
@@ -4308,9 +4316,6 @@ declare const IPCollectionABI: readonly [{
4308
4316
  readonly type: "function";
4309
4317
  readonly name: "batch_transfer";
4310
4318
  readonly inputs: readonly [{
4311
- readonly name: "from";
4312
- readonly type: "core::starknet::contract_address::ContractAddress";
4313
- }, {
4314
4319
  readonly name: "to";
4315
4320
  readonly type: "core::starknet::contract_address::ContractAddress";
4316
4321
  }, {
package/dist/index.d.ts CHANGED
@@ -287,6 +287,8 @@ interface OrderDetails {
287
287
  start_time: bigint;
288
288
  end_time: bigint;
289
289
  order_status: string;
290
+ /** The offerer's bulk-cancel epoch at registration; re-checked at fulfilment. */
291
+ counter: string;
290
292
  /** ERC-1155 only — units still available. */
291
293
  remaining_amount?: string;
292
294
  }
@@ -2052,6 +2054,9 @@ declare const IPMarketplaceABI: readonly [{
2052
2054
  }, {
2053
2055
  readonly name: "order_status";
2054
2056
  readonly type: "medialane_marketplace_erc721::core::types::OrderStatus";
2057
+ }, {
2058
+ readonly name: "counter";
2059
+ readonly type: "core::felt252";
2055
2060
  }];
2056
2061
  }, {
2057
2062
  readonly type: "interface";
@@ -2942,6 +2947,9 @@ declare const Medialane1155ABI: readonly [{
2942
2947
  }, {
2943
2948
  readonly name: "remaining_amount";
2944
2949
  readonly type: "core::felt252";
2950
+ }, {
2951
+ readonly name: "counter";
2952
+ readonly type: "core::felt252";
2945
2953
  }];
2946
2954
  }, {
2947
2955
  readonly type: "interface";
@@ -4308,9 +4316,6 @@ declare const IPCollectionABI: readonly [{
4308
4316
  readonly type: "function";
4309
4317
  readonly name: "batch_transfer";
4310
4318
  readonly inputs: readonly [{
4311
- readonly name: "from";
4312
- readonly type: "core::starknet::contract_address::ContractAddress";
4313
- }, {
4314
4319
  readonly name: "to";
4315
4320
  readonly type: "core::starknet::contract_address::ContractAddress";
4316
4321
  }, {
package/dist/index.js CHANGED
@@ -10,20 +10,20 @@ var CHAINS = ["STARKNET", "ETHEREUM", "SOLANA", "BASE", "BITCOIN"];
10
10
  var COORDINATES = {
11
11
  STARKNET: {
12
12
  rpcUrl: "https://rpc.starknet.lava.build",
13
- marketplace721: "0x069cf5391077e3ebdd9cb6aebf90ed530d29f0d6aa34a43f5afae938c0fb565e",
14
- marketplace721ClassHash: "0x04c6f952d747ad7ead1b3dad4c1d587837d38f8ec29d6c095a4afa5b5ece5957",
15
- marketplace721StartBlock: 10350340,
16
- marketplace1155: "0x040cd7b3e73bb3c892166e34bdc01d1797f97ecbc356c23f1cf38033cacf0077",
17
- marketplace1155ClassHash: "0x02600bb720908f119afe482309d36c39d087587f0df9576454acfb6363e78cd8",
18
- marketplace1155StartBlock: 10350855,
19
- collection721: "0x0558c9b6ea4d403df6d765fb77be55702c572f0a811f037c6c4209fe1e5aeef2",
20
- collection721StartBlock: 11002817,
21
- ipNftClassHash: "0x040551f0d009a6d665ddff980a375dfccc71a8928c8bfcc9ab56244bc4464fab",
22
- ipCollectionClassHash: "0x063d4ac4ae317fd155216bf1b8a4d3a63172ff72965b9ac48dd5add0c2d32b70",
23
- collection1155: "0x0083543c3ee15040a419fc539fa6889f5b956e7d071bcfa97842cb0ae42ad6cc",
24
- collection1155FactoryClassHash: "0x331a69da8655a882ba1fbcb55188b8fa09116521db901bbbaafc9fead0689f8",
25
- collection1155ClassHash: "0x4e110b59af240ae6c7742999964c4eae13fb2ed935c47fe97653ec017ebea34",
26
- collection1155StartBlock: 10665319,
13
+ marketplace721: "0x03eda9a2b6ad90845a43591bac8083ebaf677d51fdf20f503b2c01889e3131fc",
14
+ marketplace721ClassHash: "0x0700d9230d07e5203e27778c0dc70f9134d2b25bf319f7cf8348dc66a6923e90",
15
+ marketplace721StartBlock: 11198146,
16
+ marketplace1155: "0x07c4ce1c19ea48cc11135ed22b19ff745f5aec508c3828593002e4f76fdb1b38",
17
+ marketplace1155ClassHash: "0x0242f5c388da7cee2d99e2a69453c8159bf927fbec4e797a3cfdcbbcb5b68328",
18
+ marketplace1155StartBlock: 11198267,
19
+ collection721: "0x0225c3ae09506b8d97adc39649ca740dad5aac195b7f5f0441cc1852947acaea",
20
+ collection721StartBlock: 11198496,
21
+ ipNftClassHash: "0x012d3ae40ba35c7e2be0946532dac60e48932447912fdf96b674da67c029b9cc",
22
+ ipCollectionClassHash: "0x022155a1a130a40e57aac4b89c07fab3f616bc351b1270fc40f756b963afe8b4",
23
+ collection1155: "0x015368976d46fae5bfa1c58600f641d5aa5dbbf53ebc6b78aa3922194aad3551",
24
+ collection1155FactoryClassHash: "0x04eb6b419770f13bd191f120b9fc9ee624c0613ad4490062d293ca2016b3b1d2",
25
+ collection1155ClassHash: "0x06cf3f5a2322dac35e07a6064a5b8802f19fda8aa3f4726f0cb7bc05dea1bd78",
26
+ collection1155StartBlock: 11199527,
27
27
  popFactory: "0x00b32c34b427d8f346b5843ada6a37bd3368d879fc752cd52b68a87287f60111",
28
28
  popCollectionClassHash: "0x077c421686f10851872561953ea16898d933364b7f8937a5d7e2b1ba0a36263f",
29
29
  dropFactory: "0x03587f42e29daee1b193f6cf83bf8627908ed6632d0d83fcb26225c50547d800",
@@ -149,8 +149,8 @@ var ORDER_CANCELLATION = [
149
149
  { name: "offerer", type: "ContractAddress" }
150
150
  ];
151
151
  var DOMAIN_VERSION = {
152
- erc721: "4",
153
- erc1155: "3"
152
+ erc721: "5",
153
+ erc1155: "4"
154
154
  };
155
155
  function buildDomain(standard, chainId) {
156
156
  return {
@@ -425,6 +425,10 @@ var IPMarketplaceABI = [
425
425
  {
426
426
  "name": "order_status",
427
427
  "type": "medialane_marketplace_erc721::core::types::OrderStatus"
428
+ },
429
+ {
430
+ "name": "counter",
431
+ "type": "core::felt252"
428
432
  }
429
433
  ]
430
434
  },
@@ -1303,6 +1307,10 @@ var Medialane1155ABI = [
1303
1307
  {
1304
1308
  "name": "remaining_amount",
1305
1309
  "type": "core::felt252"
1310
+ },
1311
+ {
1312
+ "name": "counter",
1313
+ "type": "core::felt252"
1306
1314
  }
1307
1315
  ]
1308
1316
  },
@@ -3161,10 +3169,6 @@ var IPCollectionABI = [
3161
3169
  "type": "function",
3162
3170
  "name": "batch_transfer",
3163
3171
  "inputs": [
3164
- {
3165
- "name": "from",
3166
- "type": "core::starknet::contract_address::ContractAddress"
3167
- },
3168
3172
  {
3169
3173
  "name": "to",
3170
3174
  "type": "core::starknet::contract_address::ContractAddress"