opensea-js 2.0.1-beta.1 → 2.0.2-beta.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.
Files changed (59) hide show
  1. package/README.md +2 -3
  2. package/lib/__tests__/api/api.js +5 -3
  3. package/lib/__tests__/api/api.js.map +1 -1
  4. package/lib/__tests__/seaport/bundles.js +218 -18
  5. package/lib/__tests__/seaport/bundles.js.map +1 -1
  6. package/lib/__tests__/seaport/fees.js +0 -1
  7. package/lib/__tests__/seaport/fees.js.map +1 -1
  8. package/lib/__tests__/seaport/orders.js +218 -26
  9. package/lib/__tests__/seaport/orders.js.map +1 -1
  10. package/lib/__tests__/seaport/staticCall.js +0 -3
  11. package/lib/__tests__/seaport/staticCall.js.map +1 -1
  12. package/lib/__tests__/utils.d.ts +1 -0
  13. package/lib/__tests__/utils.js +9 -0
  14. package/lib/__tests__/utils.js.map +1 -0
  15. package/lib/constants.d.ts +2 -1
  16. package/lib/constants.js +4 -3
  17. package/lib/constants.js.map +1 -1
  18. package/lib/seaport.d.ts +9 -9
  19. package/lib/seaport.js +73 -55
  20. package/lib/seaport.js.map +1 -1
  21. package/lib/utils/utils.d.ts +5 -0
  22. package/lib/utils/utils.js +11 -1
  23. package/lib/utils/utils.js.map +1 -1
  24. package/package.json +1 -1
  25. package/lib/abi/CheezeWizardsBasicTournamentAbi.json +0 -523
  26. package/lib/abi/DecentralandEstatesAbi.json +0 -614
  27. package/lib/abi/ERC1155Abi.json +0 -2346
  28. package/lib/abi/ERC721v3Abi.json +0 -470
  29. package/lib/abi/UniswapExchangeAbi.json +0 -451
  30. package/lib/abi/UniswapFactoryAbi.json +0 -67
  31. package/lib/abi/WrappedNFTAbi.json +0 -331
  32. package/lib/abi/WrappedNFTFactoryAbi.json +0 -250
  33. package/lib/typechain/contracts/CheezeWizardsBasicTournamentAbi.d.ts +0 -232
  34. package/lib/typechain/contracts/CheezeWizardsBasicTournamentAbi.js +0 -6
  35. package/lib/typechain/contracts/CheezeWizardsBasicTournamentAbi.js.map +0 -1
  36. package/lib/typechain/contracts/DecentralandEstatesAbi.d.ts +0 -189
  37. package/lib/typechain/contracts/DecentralandEstatesAbi.js +0 -6
  38. package/lib/typechain/contracts/DecentralandEstatesAbi.js.map +0 -1
  39. package/lib/typechain/contracts/ERC1155Abi.d.ts +0 -436
  40. package/lib/typechain/contracts/ERC1155Abi.js +0 -6
  41. package/lib/typechain/contracts/ERC1155Abi.js.map +0 -1
  42. package/lib/typechain/contracts/ERC721v3Abi.d.ts +0 -76
  43. package/lib/typechain/contracts/ERC721v3Abi.js +0 -6
  44. package/lib/typechain/contracts/ERC721v3Abi.js.map +0 -1
  45. package/lib/typechain/contracts/UniswapExchangeAbi.d.ts +0 -132
  46. package/lib/typechain/contracts/UniswapExchangeAbi.js +0 -6
  47. package/lib/typechain/contracts/UniswapExchangeAbi.js.map +0 -1
  48. package/lib/typechain/contracts/UniswapFactoryAbi.d.ts +0 -37
  49. package/lib/typechain/contracts/UniswapFactoryAbi.js +0 -6
  50. package/lib/typechain/contracts/UniswapFactoryAbi.js.map +0 -1
  51. package/lib/typechain/contracts/WrappedNFTAbi.d.ts +0 -80
  52. package/lib/typechain/contracts/WrappedNFTAbi.js +0 -6
  53. package/lib/typechain/contracts/WrappedNFTAbi.js.map +0 -1
  54. package/lib/typechain/contracts/WrappedNFTFactoryAbi.d.ts +0 -57
  55. package/lib/typechain/contracts/WrappedNFTFactoryAbi.js +0 -6
  56. package/lib/typechain/contracts/WrappedNFTFactoryAbi.js.map +0 -1
  57. package/lib/typechain/contracts/types.d.ts +0 -54
  58. package/lib/typechain/contracts/types.js +0 -3
  59. package/lib/typechain/contracts/types.js.map +0 -1
@@ -1,470 +0,0 @@
1
- [
2
- {
3
- "constant": true,
4
- "inputs": [],
5
- "name": "name",
6
- "outputs": [
7
- {
8
- "name": "",
9
- "type": "string"
10
- }
11
- ],
12
- "payable": false,
13
- "stateMutability": "view",
14
- "type": "function"
15
- },
16
- {
17
- "constant": true,
18
- "inputs": [
19
- {
20
- "name": "",
21
- "type": "uint256"
22
- }
23
- ],
24
- "name": "kittyIndexToApproved",
25
- "outputs": [
26
- {
27
- "name": "",
28
- "type": "address"
29
- }
30
- ],
31
- "payable": false,
32
- "stateMutability": "view",
33
- "type": "function"
34
- },
35
- {
36
- "constant": true,
37
- "inputs": [
38
- {
39
- "name": "",
40
- "type": "uint256"
41
- }
42
- ],
43
- "name": "partIndexToApproved",
44
- "outputs": [
45
- {
46
- "name": "",
47
- "type": "address"
48
- }
49
- ],
50
- "payable": false,
51
- "stateMutability": "view",
52
- "type": "function"
53
- },
54
- {
55
- "constant": true,
56
- "inputs": [
57
- {
58
- "name": "",
59
- "type": "address"
60
- },
61
- {
62
- "name": "",
63
- "type": "uint256"
64
- }
65
- ],
66
- "name": "allowed",
67
- "outputs": [
68
- {
69
- "name": "",
70
- "type": "address"
71
- }
72
- ],
73
- "payable": false,
74
- "stateMutability": "view",
75
- "type": "function"
76
- },
77
- {
78
- "constant": true,
79
- "inputs": [
80
- {
81
- "name": "_tokenId",
82
- "type": "uint256"
83
- }
84
- ],
85
- "name": "getApproved",
86
- "outputs": [
87
- {
88
- "name": "",
89
- "type": "address"
90
- }
91
- ],
92
- "payable": false,
93
- "stateMutability": "view",
94
- "type": "function"
95
- },
96
- {
97
- "constant": false,
98
- "inputs": [
99
- {
100
- "name": "_to",
101
- "type": "address"
102
- },
103
- {
104
- "name": "_tokenId",
105
- "type": "uint256"
106
- }
107
- ],
108
- "name": "approve",
109
- "outputs": [],
110
- "payable": false,
111
- "stateMutability": "nonpayable",
112
- "type": "function"
113
- },
114
- {
115
- "constant": true,
116
- "inputs": [],
117
- "name": "totalSupply",
118
- "outputs": [
119
- {
120
- "name": "",
121
- "type": "uint256"
122
- }
123
- ],
124
- "payable": false,
125
- "stateMutability": "view",
126
- "type": "function"
127
- },
128
- {
129
- "constant": false,
130
- "inputs": [
131
- {
132
- "name": "_to",
133
- "type": "address"
134
- },
135
- {
136
- "name": "_tokenId",
137
- "type": "uint256"
138
- }
139
- ],
140
- "name": "transfer",
141
- "outputs": [],
142
- "payable": false,
143
- "stateMutability": "nonpayable",
144
- "type": "function"
145
- },
146
- {
147
- "constant": false,
148
- "inputs": [
149
- {
150
- "name": "_from",
151
- "type": "address"
152
- },
153
- {
154
- "name": "_to",
155
- "type": "address"
156
- },
157
- {
158
- "name": "_tokenId",
159
- "type": "uint256"
160
- }
161
- ],
162
- "name": "transferFrom",
163
- "outputs": [],
164
- "payable": false,
165
- "stateMutability": "nonpayable",
166
- "type": "function"
167
- },
168
- {
169
- "constant": true,
170
- "inputs": [
171
- {
172
- "name": "_owner",
173
- "type": "address"
174
- },
175
- {
176
- "name": "_index",
177
- "type": "uint256"
178
- }
179
- ],
180
- "name": "tokenOfOwnerByIndex",
181
- "outputs": [
182
- {
183
- "name": "",
184
- "type": "uint256"
185
- }
186
- ],
187
- "payable": false,
188
- "stateMutability": "view",
189
- "type": "function"
190
- },
191
- {
192
- "constant": false,
193
- "inputs": [
194
- {
195
- "name": "_from",
196
- "type": "address"
197
- },
198
- {
199
- "name": "_to",
200
- "type": "address"
201
- },
202
- {
203
- "name": "_tokenId",
204
- "type": "uint256"
205
- }
206
- ],
207
- "name": "safeTransferFrom",
208
- "outputs": [],
209
- "payable": false,
210
- "stateMutability": "nonpayable",
211
- "type": "function"
212
- },
213
- {
214
- "constant": true,
215
- "inputs": [
216
- {
217
- "name": "_tokenId",
218
- "type": "uint256"
219
- }
220
- ],
221
- "name": "exists",
222
- "outputs": [
223
- {
224
- "name": "",
225
- "type": "bool"
226
- }
227
- ],
228
- "payable": false,
229
- "stateMutability": "view",
230
- "type": "function"
231
- },
232
- {
233
- "constant": true,
234
- "inputs": [
235
- {
236
- "name": "_index",
237
- "type": "uint256"
238
- }
239
- ],
240
- "name": "tokenByIndex",
241
- "outputs": [
242
- {
243
- "name": "",
244
- "type": "uint256"
245
- }
246
- ],
247
- "payable": false,
248
- "stateMutability": "view",
249
- "type": "function"
250
- },
251
- {
252
- "constant": true,
253
- "inputs": [
254
- {
255
- "name": "_tokenId",
256
- "type": "uint256"
257
- }
258
- ],
259
- "name": "ownerOf",
260
- "outputs": [
261
- {
262
- "name": "",
263
- "type": "address"
264
- }
265
- ],
266
- "payable": false,
267
- "stateMutability": "view",
268
- "type": "function"
269
- },
270
- {
271
- "constant": true,
272
- "inputs": [
273
- {
274
- "name": "_owner",
275
- "type": "address"
276
- }
277
- ],
278
- "name": "balanceOf",
279
- "outputs": [
280
- {
281
- "name": "",
282
- "type": "uint256"
283
- }
284
- ],
285
- "payable": false,
286
- "stateMutability": "view",
287
- "type": "function"
288
- },
289
- {
290
- "constant": true,
291
- "inputs": [],
292
- "name": "symbol",
293
- "outputs": [
294
- {
295
- "name": "",
296
- "type": "string"
297
- }
298
- ],
299
- "payable": false,
300
- "stateMutability": "view",
301
- "type": "function"
302
- },
303
- {
304
- "constant": false,
305
- "inputs": [
306
- {
307
- "name": "_to",
308
- "type": "address"
309
- },
310
- {
311
- "name": "_approved",
312
- "type": "bool"
313
- }
314
- ],
315
- "name": "setApprovalForAll",
316
- "outputs": [],
317
- "payable": false,
318
- "stateMutability": "nonpayable",
319
- "type": "function"
320
- },
321
- {
322
- "constant": false,
323
- "inputs": [
324
- {
325
- "name": "_from",
326
- "type": "address"
327
- },
328
- {
329
- "name": "_to",
330
- "type": "address"
331
- },
332
- {
333
- "name": "_tokenId",
334
- "type": "uint256"
335
- },
336
- {
337
- "name": "_data",
338
- "type": "bytes"
339
- }
340
- ],
341
- "name": "safeTransferFrom",
342
- "outputs": [],
343
- "payable": false,
344
- "stateMutability": "nonpayable",
345
- "type": "function"
346
- },
347
- {
348
- "constant": true,
349
- "inputs": [
350
- {
351
- "name": "_tokenId",
352
- "type": "uint256"
353
- }
354
- ],
355
- "name": "tokenURI",
356
- "outputs": [
357
- {
358
- "name": "",
359
- "type": "string"
360
- }
361
- ],
362
- "payable": false,
363
- "stateMutability": "view",
364
- "type": "function"
365
- },
366
- {
367
- "constant": true,
368
- "inputs": [
369
- {
370
- "name": "_owner",
371
- "type": "address"
372
- },
373
- {
374
- "name": "_operator",
375
- "type": "address"
376
- }
377
- ],
378
- "name": "isApprovedForAll",
379
- "outputs": [
380
- {
381
- "name": "",
382
- "type": "bool"
383
- }
384
- ],
385
- "payable": false,
386
- "stateMutability": "view",
387
- "type": "function"
388
- },
389
- {
390
- "inputs": [
391
- {
392
- "name": "_name",
393
- "type": "string"
394
- },
395
- {
396
- "name": "_symbol",
397
- "type": "string"
398
- }
399
- ],
400
- "payable": false,
401
- "stateMutability": "nonpayable",
402
- "type": "constructor"
403
- },
404
- {
405
- "anonymous": false,
406
- "inputs": [
407
- {
408
- "indexed": true,
409
- "name": "_from",
410
- "type": "address"
411
- },
412
- {
413
- "indexed": true,
414
- "name": "_to",
415
- "type": "address"
416
- },
417
- {
418
- "indexed": false,
419
- "name": "_tokenId",
420
- "type": "uint256"
421
- }
422
- ],
423
- "name": "Transfer",
424
- "type": "event"
425
- },
426
- {
427
- "anonymous": false,
428
- "inputs": [
429
- {
430
- "indexed": true,
431
- "name": "_owner",
432
- "type": "address"
433
- },
434
- {
435
- "indexed": true,
436
- "name": "_approved",
437
- "type": "address"
438
- },
439
- {
440
- "indexed": false,
441
- "name": "_tokenId",
442
- "type": "uint256"
443
- }
444
- ],
445
- "name": "Approval",
446
- "type": "event"
447
- },
448
- {
449
- "anonymous": false,
450
- "inputs": [
451
- {
452
- "indexed": true,
453
- "name": "_owner",
454
- "type": "address"
455
- },
456
- {
457
- "indexed": true,
458
- "name": "_operator",
459
- "type": "address"
460
- },
461
- {
462
- "indexed": false,
463
- "name": "_approved",
464
- "type": "bool"
465
- }
466
- ],
467
- "name": "ApprovalForAll",
468
- "type": "event"
469
- }
470
- ]