@eluvio/elv-client-js 4.0.114 → 4.0.115

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 +67 -0
  2. package/dist/ElvClient-node-min.js +66 -0
  3. package/dist/ElvFrameClient-min.js +60 -0
  4. package/dist/ElvPermissionsClient-min.js +60 -0
  5. package/dist/ElvWalletClient-min.js +67 -0
  6. package/dist/ElvWalletClient-node-min.js +66 -0
  7. package/dist/src/AuthorizationClient.js +2169 -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 +2044 -0
  12. package/dist/src/ElvWallet.js +245 -0
  13. package/dist/src/EthClient.js +1154 -0
  14. package/dist/src/FrameClient.js +485 -0
  15. package/dist/src/HttpClient.js +315 -0
  16. package/dist/src/Id.js +21 -0
  17. package/dist/src/LogMessage.js +25 -0
  18. package/dist/src/PermissionsClient.js +1544 -0
  19. package/dist/src/RemoteSigner.js +385 -0
  20. package/dist/src/UserProfileClient.js +1450 -0
  21. package/dist/src/Utils.js +894 -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 +5195 -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 +569 -0
  32. package/dist/src/client/LiveStream.js +2640 -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 +2106 -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 +10 -1
  128. package/src/client/LiveConf.js +10 -8
  129. package/src/client/LiveStream.js +6 -4
@@ -0,0 +1,519 @@
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": false,
26
+ "inputs": [{
27
+ "name": "stakeholder",
28
+ "type": "address"
29
+ }, {
30
+ "name": "access_type",
31
+ "type": "uint8"
32
+ }, {
33
+ "name": "access",
34
+ "type": "uint8"
35
+ }],
36
+ "name": "setRights",
37
+ "outputs": [],
38
+ "payable": false,
39
+ "stateMutability": "nonpayable",
40
+ "type": "function"
41
+ }, {
42
+ "constant": true,
43
+ "inputs": [],
44
+ "name": "CAN_SEE",
45
+ "outputs": [{
46
+ "name": "",
47
+ "type": "uint8"
48
+ }],
49
+ "payable": false,
50
+ "stateMutability": "view",
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": false,
65
+ "inputs": [{
66
+ "name": "customValues",
67
+ "type": "bytes32[]"
68
+ }, {
69
+ "name": "stakeholders",
70
+ "type": "address[]"
71
+ }],
72
+ "name": "accessRequestV3",
73
+ "outputs": [{
74
+ "name": "",
75
+ "type": "bool"
76
+ }],
77
+ "payable": true,
78
+ "stateMutability": "payable",
79
+ "type": "function"
80
+ }, {
81
+ "constant": false,
82
+ "inputs": [{
83
+ "name": "group",
84
+ "type": "address"
85
+ }, {
86
+ "name": "access_type",
87
+ "type": "uint8"
88
+ }, {
89
+ "name": "access",
90
+ "type": "uint8"
91
+ }],
92
+ "name": "setGroupRights",
93
+ "outputs": [],
94
+ "payable": false,
95
+ "stateMutability": "nonpayable",
96
+ "type": "function"
97
+ }, {
98
+ "constant": true,
99
+ "inputs": [],
100
+ "name": "visibility",
101
+ "outputs": [{
102
+ "name": "",
103
+ "type": "uint8"
104
+ }],
105
+ "payable": false,
106
+ "stateMutability": "view",
107
+ "type": "function"
108
+ }, {
109
+ "constant": true,
110
+ "inputs": [],
111
+ "name": "countVersionHashes",
112
+ "outputs": [{
113
+ "name": "",
114
+ "type": "uint256"
115
+ }],
116
+ "payable": false,
117
+ "stateMutability": "view",
118
+ "type": "function"
119
+ }, {
120
+ "constant": true,
121
+ "inputs": [],
122
+ "name": "commitPending",
123
+ "outputs": [{
124
+ "name": "",
125
+ "type": "bool"
126
+ }],
127
+ "payable": false,
128
+ "stateMutability": "view",
129
+ "type": "function"
130
+ }, {
131
+ "constant": true,
132
+ "inputs": [],
133
+ "name": "objectTimestamp",
134
+ "outputs": [{
135
+ "name": "",
136
+ "type": "uint256"
137
+ }],
138
+ "payable": false,
139
+ "stateMutability": "view",
140
+ "type": "function"
141
+ }, {
142
+ "constant": false,
143
+ "inputs": [],
144
+ "name": "kill",
145
+ "outputs": [],
146
+ "payable": false,
147
+ "stateMutability": "nonpayable",
148
+ "type": "function"
149
+ }, {
150
+ "constant": false,
151
+ "inputs": [],
152
+ "name": "confirmCommit",
153
+ "outputs": [{
154
+ "name": "",
155
+ "type": "bool"
156
+ }],
157
+ "payable": true,
158
+ "stateMutability": "payable",
159
+ "type": "function"
160
+ }, {
161
+ "constant": true,
162
+ "inputs": [],
163
+ "name": "version",
164
+ "outputs": [{
165
+ "name": "",
166
+ "type": "bytes32"
167
+ }],
168
+ "payable": false,
169
+ "stateMutability": "view",
170
+ "type": "function"
171
+ }, {
172
+ "constant": true,
173
+ "inputs": [],
174
+ "name": "versionAPI",
175
+ "outputs": [{
176
+ "name": "",
177
+ "type": "bytes32"
178
+ }],
179
+ "payable": false,
180
+ "stateMutability": "view",
181
+ "type": "function"
182
+ }, {
183
+ "constant": false,
184
+ "inputs": [],
185
+ "name": "clearPending",
186
+ "outputs": [],
187
+ "payable": false,
188
+ "stateMutability": "nonpayable",
189
+ "type": "function"
190
+ }, {
191
+ "constant": true,
192
+ "inputs": [],
193
+ "name": "pendingHash",
194
+ "outputs": [{
195
+ "name": "",
196
+ "type": "string"
197
+ }],
198
+ "payable": false,
199
+ "stateMutability": "view",
200
+ "type": "function"
201
+ }, {
202
+ "constant": true,
203
+ "inputs": [],
204
+ "name": "indexCategory",
205
+ "outputs": [{
206
+ "name": "",
207
+ "type": "uint8"
208
+ }],
209
+ "payable": false,
210
+ "stateMutability": "view",
211
+ "type": "function"
212
+ }, {
213
+ "constant": true,
214
+ "inputs": [{
215
+ "name": "candidate",
216
+ "type": "address"
217
+ }],
218
+ "name": "hasEditorRight",
219
+ "outputs": [{
220
+ "name": "",
221
+ "type": "bool"
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": "candidate",
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": true,
314
+ "inputs": [],
315
+ "name": "CAN_ACCESS",
316
+ "outputs": [{
317
+ "name": "",
318
+ "type": "uint8"
319
+ }],
320
+ "payable": false,
321
+ "stateMutability": "view",
322
+ "type": "function"
323
+ }, {
324
+ "constant": false,
325
+ "inputs": [{
326
+ "name": "_objectHash",
327
+ "type": "string"
328
+ }],
329
+ "name": "commit",
330
+ "outputs": [],
331
+ "payable": false,
332
+ "stateMutability": "nonpayable",
333
+ "type": "function"
334
+ }, {
335
+ "constant": false,
336
+ "inputs": [{
337
+ "name": "_visibility_code",
338
+ "type": "uint8"
339
+ }],
340
+ "name": "setVisibility",
341
+ "outputs": [],
342
+ "payable": false,
343
+ "stateMutability": "nonpayable",
344
+ "type": "function"
345
+ }, {
346
+ "constant": true,
347
+ "inputs": [],
348
+ "name": "contentSpace",
349
+ "outputs": [{
350
+ "name": "",
351
+ "type": "address"
352
+ }],
353
+ "payable": false,
354
+ "stateMutability": "view",
355
+ "type": "function"
356
+ }, {
357
+ "constant": false,
358
+ "inputs": [],
359
+ "name": "updateRequest",
360
+ "outputs": [],
361
+ "payable": false,
362
+ "stateMutability": "nonpayable",
363
+ "type": "function"
364
+ }, {
365
+ "constant": true,
366
+ "inputs": [],
367
+ "name": "objectHash",
368
+ "outputs": [{
369
+ "name": "",
370
+ "type": "string"
371
+ }],
372
+ "payable": false,
373
+ "stateMutability": "view",
374
+ "type": "function"
375
+ }, {
376
+ "constant": false,
377
+ "inputs": [{
378
+ "name": "_versionHash",
379
+ "type": "string"
380
+ }],
381
+ "name": "deleteVersion",
382
+ "outputs": [{
383
+ "name": "",
384
+ "type": "int256"
385
+ }],
386
+ "payable": false,
387
+ "stateMutability": "nonpayable",
388
+ "type": "function"
389
+ }, {
390
+ "constant": true,
391
+ "inputs": [],
392
+ "name": "CAN_EDIT",
393
+ "outputs": [{
394
+ "name": "",
395
+ "type": "uint8"
396
+ }],
397
+ "payable": false,
398
+ "stateMutability": "view",
399
+ "type": "function"
400
+ }, {
401
+ "constant": false,
402
+ "inputs": [{
403
+ "name": "newOwner",
404
+ "type": "address"
405
+ }],
406
+ "name": "transferOwnership",
407
+ "outputs": [],
408
+ "payable": false,
409
+ "stateMutability": "nonpayable",
410
+ "type": "function"
411
+ }, {
412
+ "payable": true,
413
+ "stateMutability": "payable",
414
+ "type": "fallback"
415
+ }, {
416
+ "anonymous": false,
417
+ "inputs": [{
418
+ "indexed": false,
419
+ "name": "spaceAddress",
420
+ "type": "address"
421
+ }, {
422
+ "indexed": false,
423
+ "name": "parentAddress",
424
+ "type": "address"
425
+ }, {
426
+ "indexed": false,
427
+ "name": "objectHash",
428
+ "type": "string"
429
+ }],
430
+ "name": "CommitPending",
431
+ "type": "event"
432
+ }, {
433
+ "anonymous": false,
434
+ "inputs": [{
435
+ "indexed": false,
436
+ "name": "objectHash",
437
+ "type": "string"
438
+ }],
439
+ "name": "UpdateRequest",
440
+ "type": "event"
441
+ }, {
442
+ "anonymous": false,
443
+ "inputs": [{
444
+ "indexed": false,
445
+ "name": "spaceAddress",
446
+ "type": "address"
447
+ }, {
448
+ "indexed": false,
449
+ "name": "parentAddress",
450
+ "type": "address"
451
+ }, {
452
+ "indexed": false,
453
+ "name": "objectHash",
454
+ "type": "string"
455
+ }],
456
+ "name": "VersionConfirm",
457
+ "type": "event"
458
+ }, {
459
+ "anonymous": false,
460
+ "inputs": [{
461
+ "indexed": false,
462
+ "name": "spaceAddress",
463
+ "type": "address"
464
+ }, {
465
+ "indexed": false,
466
+ "name": "versionHash",
467
+ "type": "string"
468
+ }, {
469
+ "indexed": false,
470
+ "name": "index",
471
+ "type": "int256"
472
+ }],
473
+ "name": "VersionDelete",
474
+ "type": "event"
475
+ }, {
476
+ "anonymous": false,
477
+ "inputs": [{
478
+ "indexed": false,
479
+ "name": "requestNonce",
480
+ "type": "uint256"
481
+ }, {
482
+ "indexed": false,
483
+ "name": "parentAddress",
484
+ "type": "address"
485
+ }, {
486
+ "indexed": false,
487
+ "name": "contextHash",
488
+ "type": "bytes32"
489
+ }, {
490
+ "indexed": false,
491
+ "name": "accessor",
492
+ "type": "address"
493
+ }, {
494
+ "indexed": false,
495
+ "name": "requestTimestamp",
496
+ "type": "uint256"
497
+ }],
498
+ "name": "AccessRequestV3",
499
+ "type": "event"
500
+ }, {
501
+ "anonymous": false,
502
+ "inputs": [{
503
+ "indexed": false,
504
+ "name": "contentSpace",
505
+ "type": "address"
506
+ }, {
507
+ "indexed": false,
508
+ "name": "parentAddress",
509
+ "type": "address"
510
+ }, {
511
+ "indexed": false,
512
+ "name": "visibility",
513
+ "type": "uint8"
514
+ }],
515
+ "name": "VisibilityChanged",
516
+ "type": "event"
517
+ }]
518
+ };
519
+ module.exports = contract;
@@ -0,0 +1,4 @@
1
+ var contract = {
2
+ "abi": []
3
+ };
4
+ module.exports = contract;