@eluvio/elv-client-js 4.0.11 → 4.0.13

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 (111) hide show
  1. package/dist/.keep +0 -0
  2. package/dist/ElvClient-min.js +11 -10
  3. package/dist/ElvClient-node-min.js +11 -10
  4. package/dist/ElvFrameClient-min.js +11 -10
  5. package/dist/ElvPermissionsClient-min.js +10 -9
  6. package/dist/ElvWalletClient-min.js +10 -9
  7. package/dist/ElvWalletClient-node-min.js +10 -9
  8. package/dist/src/AuthorizationClient.js +1555 -2076
  9. package/dist/src/ContentObjectVerification.js +134 -185
  10. package/dist/src/Crypto.js +224 -319
  11. package/dist/src/ElvClient.js +822 -1114
  12. package/dist/src/ElvWallet.js +64 -106
  13. package/dist/src/EthClient.js +719 -974
  14. package/dist/src/FrameClient.js +223 -319
  15. package/dist/src/HttpClient.js +117 -156
  16. package/dist/src/Id.js +1 -6
  17. package/dist/src/LogMessage.js +4 -8
  18. package/dist/src/PermissionsClient.js +973 -1271
  19. package/dist/src/RemoteSigner.js +161 -232
  20. package/dist/src/UserProfileClient.js +781 -1038
  21. package/dist/src/Utils.js +159 -299
  22. package/dist/src/Validation.js +2 -17
  23. package/dist/src/client/ABRPublishing.js +828 -958
  24. package/dist/src/client/AccessGroups.js +849 -1095
  25. package/dist/src/client/ContentAccess.js +3323 -4195
  26. package/dist/src/client/ContentManagement.js +1818 -2290
  27. package/dist/src/client/Contracts.js +468 -614
  28. package/dist/src/client/Files.js +1506 -1846
  29. package/dist/src/client/NFT.js +94 -116
  30. package/dist/src/client/NTP.js +326 -425
  31. package/dist/src/index.js +2 -5
  32. package/dist/src/walletClient/ClientMethods.js +1368 -1763
  33. package/dist/src/walletClient/Configuration.js +5 -3
  34. package/dist/src/walletClient/Notifications.js +98 -127
  35. package/dist/src/walletClient/Profile.js +184 -246
  36. package/dist/src/walletClient/Utils.js +76 -122
  37. package/dist/src/walletClient/index.js +1171 -1496
  38. package/package.json +4 -21
  39. package/src/FrameClient.js +1 -0
  40. package/src/HttpClient.js +4 -2
  41. package/src/client/ABRPublishing.js +126 -105
  42. package/src/client/ContentAccess.js +1 -0
  43. package/src/client/ContentManagement.js +4 -2
  44. package/src/walletClient/Configuration.js +3 -2
  45. package/dist/AccessClient-min.js +0 -54
  46. package/dist/AccessClient-node-min.js +0 -74
  47. package/dist/src/AccessClient.js +0 -798
  48. package/dist/src/LimitedMap.js +0 -120
  49. package/dist/src/client/Access.js +0 -1
  50. package/dist/src/client/Management.js +0 -1606
  51. package/dist/src/contracts/AccessIndexor.js +0 -831
  52. package/dist/src/contracts/Accessible.js +0 -31
  53. package/dist/src/contracts/AdmgrAdvertisement.js +0 -695
  54. package/dist/src/contracts/AdmgrCampaign.js +0 -648
  55. package/dist/src/contracts/AdmgrCampaignManager.js +0 -493
  56. package/dist/src/contracts/AdmgrCommercialOffering.js +0 -622
  57. package/dist/src/contracts/AdmgrCommercialOfferingManager.js +0 -413
  58. package/dist/src/contracts/AdmgrMarketPlace.js +0 -413
  59. package/dist/src/contracts/AvailsDelivery.js +0 -535
  60. package/dist/src/contracts/BaseAccessControlGroup.js +0 -1221
  61. package/dist/src/contracts/BaseAccessWallet.js +0 -1575
  62. package/dist/src/contracts/BaseAccessWalletFactory.js +0 -93
  63. package/dist/src/contracts/BaseContent.js +0 -1104
  64. package/dist/src/contracts/BaseContentFactory.js +0 -99
  65. package/dist/src/contracts/BaseContentFactoryExt.js +0 -219
  66. package/dist/src/contracts/BaseContentSpace.js +0 -1346
  67. package/dist/src/contracts/BaseContentType.js +0 -353
  68. package/dist/src/contracts/BaseFactory.js +0 -107
  69. package/dist/src/contracts/BaseGroupFactory.js +0 -93
  70. package/dist/src/contracts/BaseLibrary.js +0 -1035
  71. package/dist/src/contracts/BaseLibraryFactory.js +0 -96
  72. package/dist/src/contracts/Certifyer.js +0 -87
  73. package/dist/src/contracts/Container.js +0 -543
  74. package/dist/src/contracts/Content.js +0 -432
  75. package/dist/src/contracts/Editable.js +0 -295
  76. package/dist/src/contracts/FactorySpace.js +0 -57
  77. package/dist/src/contracts/KmsSpace.js +0 -52
  78. package/dist/src/contracts/LvProvider.js +0 -512
  79. package/dist/src/contracts/LvRecordableStream.js +0 -1026
  80. package/dist/src/contracts/LvRecording.js +0 -627
  81. package/dist/src/contracts/LvStreamRightsHolder.js +0 -551
  82. package/dist/src/contracts/MetaObject.js +0 -110
  83. package/dist/src/contracts/Node.js +0 -167
  84. package/dist/src/contracts/NodeSpace.js +0 -18
  85. package/dist/src/contracts/NodeSpaceImpl.js +0 -273
  86. package/dist/src/contracts/Ownable.js +0 -87
  87. package/dist/src/contracts/PaymentService.js +0 -616
  88. package/dist/src/contracts/Precompile.js +0 -15
  89. package/dist/src/contracts/SampleContentAdMarketplace.js +0 -564
  90. package/dist/src/contracts/SampleContentAdvertising.js +0 -444
  91. package/dist/src/contracts/SampleContentHelloWorld.js +0 -459
  92. package/dist/src/contracts/SampleContentLicensing.js +0 -618
  93. package/dist/src/contracts/SampleContentSigned.js +0 -447
  94. package/dist/src/contracts/SampleInstance.js +0 -438
  95. package/dist/src/contracts/SampleInstanceFactory.js +0 -451
  96. package/dist/src/contracts/Transactable.js +0 -82
  97. package/dist/src/contracts/UserSpace.js +0 -18
  98. package/dist/src/contracts/UserSpaceImpl.js +0 -43
  99. package/dist/src/contracts/Utils.js +0 -18
  100. package/dist/src/contracts/Verifier.js +0 -53
  101. package/dist/src/contracts/strings.js +0 -4
  102. package/dist/src/contracts/v2/BaseContentFactoryExt.js +0 -219
  103. package/dist/src/contracts/v2/FactorySpace.js +0 -57
  104. package/dist/src/contracts/v2/KmsSpace.js +0 -52
  105. package/dist/src/contracts/v2/NodeSpaceImpl.js +0 -273
  106. package/dist/src/contracts/v2/UserSpaceImpl.js +0 -43
  107. package/dist/src/marketplaceClient/ClientMethods.js +0 -1918
  108. package/dist/src/marketplaceClient/Configuration.js +0 -29
  109. package/dist/src/marketplaceClient/Utils.js +0 -304
  110. package/dist/src/marketplaceClient/index.js +0 -1553
  111. package/utilities/ListAccessGroups.js +0 -34
@@ -1,543 +0,0 @@
1
- var contract = {
2
- "abi": [{
3
- "constant": true,
4
- "inputs": [],
5
- "name": "parentAddress",
6
- "outputs": [{
7
- "name": "",
8
- "type": "address"
9
- }],
10
- "payable": false,
11
- "stateMutability": "view",
12
- "type": "function"
13
- }, {
14
- "constant": true,
15
- "inputs": [],
16
- "name": "creator",
17
- "outputs": [{
18
- "name": "",
19
- "type": "address"
20
- }],
21
- "payable": false,
22
- "stateMutability": "view",
23
- "type": "function"
24
- }, {
25
- "constant": true,
26
- "inputs": [{
27
- "name": "_candidate",
28
- "type": "address"
29
- }],
30
- "name": "canContribute",
31
- "outputs": [{
32
- "name": "",
33
- "type": "bool"
34
- }],
35
- "payable": false,
36
- "stateMutability": "view",
37
- "type": "function"
38
- }, {
39
- "constant": false,
40
- "inputs": [{
41
- "name": "content_type",
42
- "type": "address"
43
- }, {
44
- "name": "content_contract",
45
- "type": "address"
46
- }],
47
- "name": "addContentType",
48
- "outputs": [],
49
- "payable": false,
50
- "stateMutability": "nonpayable",
51
- "type": "function"
52
- }, {
53
- "constant": true,
54
- "inputs": [],
55
- "name": "canConfirm",
56
- "outputs": [{
57
- "name": "",
58
- "type": "bool"
59
- }],
60
- "payable": false,
61
- "stateMutability": "view",
62
- "type": "function"
63
- }, {
64
- "constant": true,
65
- "inputs": [{
66
- "name": "",
67
- "type": "address"
68
- }],
69
- "name": "contentTypeContracts",
70
- "outputs": [{
71
- "name": "",
72
- "type": "address"
73
- }],
74
- "payable": false,
75
- "stateMutability": "view",
76
- "type": "function"
77
- }, {
78
- "constant": true,
79
- "inputs": [{
80
- "name": "typeHash",
81
- "type": "bytes32"
82
- }],
83
- "name": "findTypeByHash",
84
- "outputs": [{
85
- "name": "",
86
- "type": "address"
87
- }],
88
- "payable": false,
89
- "stateMutability": "view",
90
- "type": "function"
91
- }, {
92
- "constant": true,
93
- "inputs": [{
94
- "name": "candidate",
95
- "type": "address"
96
- }],
97
- "name": "canNodePublish",
98
- "outputs": [{
99
- "name": "",
100
- "type": "bool"
101
- }],
102
- "payable": false,
103
- "stateMutability": "view",
104
- "type": "function"
105
- }, {
106
- "constant": true,
107
- "inputs": [{
108
- "name": "",
109
- "type": "address"
110
- }],
111
- "name": "canReview",
112
- "outputs": [{
113
- "name": "",
114
- "type": "bool"
115
- }],
116
- "payable": false,
117
- "stateMutability": "view",
118
- "type": "function"
119
- }, {
120
- "constant": true,
121
- "inputs": [{
122
- "name": "content_type",
123
- "type": "address"
124
- }],
125
- "name": "validType",
126
- "outputs": [{
127
- "name": "",
128
- "type": "bool"
129
- }],
130
- "payable": false,
131
- "stateMutability": "view",
132
- "type": "function"
133
- }, {
134
- "constant": false,
135
- "inputs": [{
136
- "name": "contentObj",
137
- "type": "address"
138
- }],
139
- "name": "publish",
140
- "outputs": [{
141
- "name": "",
142
- "type": "bool"
143
- }],
144
- "payable": false,
145
- "stateMutability": "nonpayable",
146
- "type": "function"
147
- }, {
148
- "constant": true,
149
- "inputs": [],
150
- "name": "addressKMS",
151
- "outputs": [{
152
- "name": "",
153
- "type": "address"
154
- }],
155
- "payable": false,
156
- "stateMutability": "view",
157
- "type": "function"
158
- }, {
159
- "constant": true,
160
- "inputs": [],
161
- "name": "countVersionHashes",
162
- "outputs": [{
163
- "name": "",
164
- "type": "uint256"
165
- }],
166
- "payable": false,
167
- "stateMutability": "view",
168
- "type": "function"
169
- }, {
170
- "constant": true,
171
- "inputs": [],
172
- "name": "commitPending",
173
- "outputs": [{
174
- "name": "",
175
- "type": "bool"
176
- }],
177
- "payable": false,
178
- "stateMutability": "view",
179
- "type": "function"
180
- }, {
181
- "constant": true,
182
- "inputs": [],
183
- "name": "requiresReview",
184
- "outputs": [{
185
- "name": "",
186
- "type": "bool"
187
- }],
188
- "payable": false,
189
- "stateMutability": "view",
190
- "type": "function"
191
- }, {
192
- "constant": false,
193
- "inputs": [],
194
- "name": "kill",
195
- "outputs": [],
196
- "payable": false,
197
- "stateMutability": "nonpayable",
198
- "type": "function"
199
- }, {
200
- "constant": false,
201
- "inputs": [],
202
- "name": "confirmCommit",
203
- "outputs": [{
204
- "name": "",
205
- "type": "bool"
206
- }],
207
- "payable": true,
208
- "stateMutability": "payable",
209
- "type": "function"
210
- }, {
211
- "constant": true,
212
- "inputs": [],
213
- "name": "version",
214
- "outputs": [{
215
- "name": "",
216
- "type": "bytes32"
217
- }],
218
- "payable": false,
219
- "stateMutability": "view",
220
- "type": "function"
221
- }, {
222
- "constant": false,
223
- "inputs": [],
224
- "name": "clearPending",
225
- "outputs": [],
226
- "payable": false,
227
- "stateMutability": "nonpayable",
228
- "type": "function"
229
- }, {
230
- "constant": true,
231
- "inputs": [],
232
- "name": "pendingHash",
233
- "outputs": [{
234
- "name": "",
235
- "type": "string"
236
- }],
237
- "payable": false,
238
- "stateMutability": "view",
239
- "type": "function"
240
- }, {
241
- "constant": false,
242
- "inputs": [{
243
- "name": "newCreator",
244
- "type": "address"
245
- }],
246
- "name": "transferCreatorship",
247
- "outputs": [],
248
- "payable": false,
249
- "stateMutability": "nonpayable",
250
- "type": "function"
251
- }, {
252
- "constant": true,
253
- "inputs": [],
254
- "name": "canCommit",
255
- "outputs": [{
256
- "name": "",
257
- "type": "bool"
258
- }],
259
- "payable": false,
260
- "stateMutability": "view",
261
- "type": "function"
262
- }, {
263
- "constant": true,
264
- "inputs": [{
265
- "name": "",
266
- "type": "uint256"
267
- }],
268
- "name": "versionTimestamp",
269
- "outputs": [{
270
- "name": "",
271
- "type": "uint256"
272
- }],
273
- "payable": false,
274
- "stateMutability": "view",
275
- "type": "function"
276
- }, {
277
- "constant": true,
278
- "inputs": [{
279
- "name": "",
280
- "type": "uint256"
281
- }],
282
- "name": "versionHashes",
283
- "outputs": [{
284
- "name": "",
285
- "type": "string"
286
- }],
287
- "payable": false,
288
- "stateMutability": "view",
289
- "type": "function"
290
- }, {
291
- "constant": true,
292
- "inputs": [],
293
- "name": "owner",
294
- "outputs": [{
295
- "name": "",
296
- "type": "address"
297
- }],
298
- "payable": false,
299
- "stateMutability": "view",
300
- "type": "function"
301
- }, {
302
- "constant": true,
303
- "inputs": [{
304
- "name": "",
305
- "type": "address"
306
- }],
307
- "name": "hasAccess",
308
- "outputs": [{
309
- "name": "",
310
- "type": "bool"
311
- }],
312
- "payable": false,
313
- "stateMutability": "view",
314
- "type": "function"
315
- }, {
316
- "constant": false,
317
- "inputs": [{
318
- "name": "_objectHash",
319
- "type": "string"
320
- }],
321
- "name": "commit",
322
- "outputs": [],
323
- "payable": false,
324
- "stateMutability": "nonpayable",
325
- "type": "function"
326
- }, {
327
- "constant": true,
328
- "inputs": [{
329
- "name": "",
330
- "type": "uint256"
331
- }],
332
- "name": "contentTypes",
333
- "outputs": [{
334
- "name": "",
335
- "type": "address"
336
- }],
337
- "payable": false,
338
- "stateMutability": "view",
339
- "type": "function"
340
- }, {
341
- "constant": true,
342
- "inputs": [{
343
- "name": "_candidate",
344
- "type": "address"
345
- }],
346
- "name": "canPublish",
347
- "outputs": [{
348
- "name": "",
349
- "type": "bool"
350
- }],
351
- "payable": false,
352
- "stateMutability": "view",
353
- "type": "function"
354
- }, {
355
- "constant": true,
356
- "inputs": [{
357
- "name": "content_type",
358
- "type": "address"
359
- }],
360
- "name": "whitelistedType",
361
- "outputs": [{
362
- "name": "",
363
- "type": "bool"
364
- }],
365
- "payable": false,
366
- "stateMutability": "view",
367
- "type": "function"
368
- }, {
369
- "constant": true,
370
- "inputs": [],
371
- "name": "contentSpace",
372
- "outputs": [{
373
- "name": "",
374
- "type": "address"
375
- }],
376
- "payable": false,
377
- "stateMutability": "view",
378
- "type": "function"
379
- }, {
380
- "constant": false,
381
- "inputs": [],
382
- "name": "updateRequest",
383
- "outputs": [],
384
- "payable": false,
385
- "stateMutability": "nonpayable",
386
- "type": "function"
387
- }, {
388
- "constant": true,
389
- "inputs": [],
390
- "name": "contentTypesLength",
391
- "outputs": [{
392
- "name": "",
393
- "type": "uint256"
394
- }],
395
- "payable": false,
396
- "stateMutability": "view",
397
- "type": "function"
398
- }, {
399
- "constant": false,
400
- "inputs": [{
401
- "name": "address_KMS",
402
- "type": "address"
403
- }],
404
- "name": "setAddressKMS",
405
- "outputs": [],
406
- "payable": false,
407
- "stateMutability": "nonpayable",
408
- "type": "function"
409
- }, {
410
- "constant": true,
411
- "inputs": [],
412
- "name": "objectHash",
413
- "outputs": [{
414
- "name": "",
415
- "type": "string"
416
- }],
417
- "payable": false,
418
- "stateMutability": "view",
419
- "type": "function"
420
- }, {
421
- "constant": false,
422
- "inputs": [{
423
- "name": "_versionHash",
424
- "type": "string"
425
- }],
426
- "name": "deleteVersion",
427
- "outputs": [{
428
- "name": "",
429
- "type": "int256"
430
- }],
431
- "payable": false,
432
- "stateMutability": "nonpayable",
433
- "type": "function"
434
- }, {
435
- "constant": false,
436
- "inputs": [{
437
- "name": "newOwner",
438
- "type": "address"
439
- }],
440
- "name": "transferOwnership",
441
- "outputs": [],
442
- "payable": false,
443
- "stateMutability": "nonpayable",
444
- "type": "function"
445
- }, {
446
- "constant": false,
447
- "inputs": [{
448
- "name": "content_type",
449
- "type": "address"
450
- }],
451
- "name": "removeContentType",
452
- "outputs": [{
453
- "name": "",
454
- "type": "bool"
455
- }],
456
- "payable": false,
457
- "stateMutability": "nonpayable",
458
- "type": "function"
459
- }, {
460
- "payable": true,
461
- "stateMutability": "payable",
462
- "type": "fallback"
463
- }, {
464
- "anonymous": false,
465
- "inputs": [{
466
- "indexed": false,
467
- "name": "contentType",
468
- "type": "address"
469
- }, {
470
- "indexed": false,
471
- "name": "contentContract",
472
- "type": "address"
473
- }],
474
- "name": "ContentTypeAdded",
475
- "type": "event"
476
- }, {
477
- "anonymous": false,
478
- "inputs": [{
479
- "indexed": false,
480
- "name": "contentType",
481
- "type": "address"
482
- }],
483
- "name": "ContentTypeRemoved",
484
- "type": "event"
485
- }, {
486
- "anonymous": false,
487
- "inputs": [{
488
- "indexed": false,
489
- "name": "spaceAddress",
490
- "type": "address"
491
- }, {
492
- "indexed": false,
493
- "name": "parentAddress",
494
- "type": "address"
495
- }, {
496
- "indexed": false,
497
- "name": "objectHash",
498
- "type": "string"
499
- }],
500
- "name": "CommitPending",
501
- "type": "event"
502
- }, {
503
- "anonymous": false,
504
- "inputs": [{
505
- "indexed": false,
506
- "name": "objectHash",
507
- "type": "string"
508
- }],
509
- "name": "UpdateRequest",
510
- "type": "event"
511
- }, {
512
- "anonymous": false,
513
- "inputs": [{
514
- "indexed": false,
515
- "name": "spaceAddress",
516
- "type": "address"
517
- }, {
518
- "indexed": false,
519
- "name": "objectHash",
520
- "type": "string"
521
- }],
522
- "name": "VersionConfirm",
523
- "type": "event"
524
- }, {
525
- "anonymous": false,
526
- "inputs": [{
527
- "indexed": false,
528
- "name": "spaceAddress",
529
- "type": "address"
530
- }, {
531
- "indexed": false,
532
- "name": "versionHash",
533
- "type": "string"
534
- }, {
535
- "indexed": false,
536
- "name": "index",
537
- "type": "int256"
538
- }],
539
- "name": "VersionDelete",
540
- "type": "event"
541
- }]
542
- };
543
- module.exports = contract;