@eluvio/elv-client-js 4.0.114 → 4.0.116

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