@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,443 @@
1
+ var contract = {
2
+ "abi": [{
3
+ "constant": true,
4
+ "inputs": [],
5
+ "name": "creator",
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": "",
17
+ "type": "uint8"
18
+ }, {
19
+ "name": "",
20
+ "type": "bytes32[]"
21
+ }, {
22
+ "name": "",
23
+ "type": "address[]"
24
+ }],
25
+ "name": "runAccessInfo",
26
+ "outputs": [{
27
+ "name": "",
28
+ "type": "uint8"
29
+ }, {
30
+ "name": "",
31
+ "type": "uint8"
32
+ }, {
33
+ "name": "",
34
+ "type": "uint8"
35
+ }, {
36
+ "name": "",
37
+ "type": "uint256"
38
+ }],
39
+ "payable": false,
40
+ "stateMutability": "view",
41
+ "type": "function"
42
+ }, {
43
+ "constant": false,
44
+ "inputs": [{
45
+ "name": "",
46
+ "type": "uint256"
47
+ }, {
48
+ "name": "",
49
+ "type": "uint8"
50
+ }, {
51
+ "name": "",
52
+ "type": "bytes32[]"
53
+ }, {
54
+ "name": "",
55
+ "type": "address[]"
56
+ }],
57
+ "name": "runAccess",
58
+ "outputs": [{
59
+ "name": "",
60
+ "type": "uint256"
61
+ }],
62
+ "payable": true,
63
+ "stateMutability": "payable",
64
+ "type": "function"
65
+ }, {
66
+ "constant": false,
67
+ "inputs": [{
68
+ "name": "",
69
+ "type": "uint256"
70
+ }, {
71
+ "name": "",
72
+ "type": "uint256"
73
+ }],
74
+ "name": "runFinalize",
75
+ "outputs": [{
76
+ "name": "",
77
+ "type": "uint256"
78
+ }],
79
+ "payable": true,
80
+ "stateMutability": "payable",
81
+ "type": "function"
82
+ }, {
83
+ "constant": false,
84
+ "inputs": [{
85
+ "name": "proposed_status_code",
86
+ "type": "int256"
87
+ }],
88
+ "name": "runStatusChange",
89
+ "outputs": [{
90
+ "name": "",
91
+ "type": "int256"
92
+ }],
93
+ "payable": true,
94
+ "stateMutability": "payable",
95
+ "type": "function"
96
+ }, {
97
+ "constant": false,
98
+ "inputs": [],
99
+ "name": "kill",
100
+ "outputs": [],
101
+ "payable": false,
102
+ "stateMutability": "nonpayable",
103
+ "type": "function"
104
+ }, {
105
+ "constant": true,
106
+ "inputs": [{
107
+ "name": "",
108
+ "type": "int256"
109
+ }],
110
+ "name": "runDescribeStatus",
111
+ "outputs": [{
112
+ "name": "",
113
+ "type": "bytes32"
114
+ }],
115
+ "payable": false,
116
+ "stateMutability": "pure",
117
+ "type": "function"
118
+ }, {
119
+ "constant": true,
120
+ "inputs": [],
121
+ "name": "version",
122
+ "outputs": [{
123
+ "name": "",
124
+ "type": "bytes32"
125
+ }],
126
+ "payable": false,
127
+ "stateMutability": "view",
128
+ "type": "function"
129
+ }, {
130
+ "constant": true,
131
+ "inputs": [],
132
+ "name": "DEFAULT_ACCESS",
133
+ "outputs": [{
134
+ "name": "",
135
+ "type": "uint8"
136
+ }],
137
+ "payable": false,
138
+ "stateMutability": "view",
139
+ "type": "function"
140
+ }, {
141
+ "constant": false,
142
+ "inputs": [{
143
+ "name": "newCreator",
144
+ "type": "address"
145
+ }],
146
+ "name": "transferCreatorship",
147
+ "outputs": [],
148
+ "payable": false,
149
+ "stateMutability": "nonpayable",
150
+ "type": "function"
151
+ }, {
152
+ "constant": false,
153
+ "inputs": [],
154
+ "name": "runCreate",
155
+ "outputs": [{
156
+ "name": "",
157
+ "type": "uint256"
158
+ }],
159
+ "payable": true,
160
+ "stateMutability": "payable",
161
+ "type": "function"
162
+ }, {
163
+ "constant": true,
164
+ "inputs": [],
165
+ "name": "owner",
166
+ "outputs": [{
167
+ "name": "",
168
+ "type": "address"
169
+ }],
170
+ "payable": false,
171
+ "stateMutability": "view",
172
+ "type": "function"
173
+ }, {
174
+ "constant": false,
175
+ "inputs": [],
176
+ "name": "runKill",
177
+ "outputs": [{
178
+ "name": "",
179
+ "type": "uint256"
180
+ }],
181
+ "payable": true,
182
+ "stateMutability": "payable",
183
+ "type": "function"
184
+ }, {
185
+ "constant": true,
186
+ "inputs": [],
187
+ "name": "contentSpace",
188
+ "outputs": [{
189
+ "name": "",
190
+ "type": "address"
191
+ }],
192
+ "payable": false,
193
+ "stateMutability": "view",
194
+ "type": "function"
195
+ }, {
196
+ "constant": true,
197
+ "inputs": [],
198
+ "name": "DEFAULT_SEE",
199
+ "outputs": [{
200
+ "name": "",
201
+ "type": "uint8"
202
+ }],
203
+ "payable": false,
204
+ "stateMutability": "view",
205
+ "type": "function"
206
+ }, {
207
+ "constant": false,
208
+ "inputs": [],
209
+ "name": "runEdit",
210
+ "outputs": [{
211
+ "name": "",
212
+ "type": "uint256"
213
+ }],
214
+ "payable": false,
215
+ "stateMutability": "nonpayable",
216
+ "type": "function"
217
+ }, {
218
+ "constant": false,
219
+ "inputs": [{
220
+ "name": "",
221
+ "type": "uint256"
222
+ }, {
223
+ "name": "",
224
+ "type": "bool"
225
+ }],
226
+ "name": "runGrant",
227
+ "outputs": [{
228
+ "name": "",
229
+ "type": "uint256"
230
+ }],
231
+ "payable": true,
232
+ "stateMutability": "payable",
233
+ "type": "function"
234
+ }, {
235
+ "constant": false,
236
+ "inputs": [{
237
+ "name": "requestID",
238
+ "type": "uint256"
239
+ }, {
240
+ "name": "score_pct",
241
+ "type": "uint256"
242
+ }, {
243
+ "name": "originator",
244
+ "type": "address"
245
+ }],
246
+ "name": "runFinalizeExt",
247
+ "outputs": [{
248
+ "name": "",
249
+ "type": "uint256"
250
+ }],
251
+ "payable": true,
252
+ "stateMutability": "payable",
253
+ "type": "function"
254
+ }, {
255
+ "constant": true,
256
+ "inputs": [],
257
+ "name": "DEFAULT_CHARGE",
258
+ "outputs": [{
259
+ "name": "",
260
+ "type": "uint8"
261
+ }],
262
+ "payable": false,
263
+ "stateMutability": "view",
264
+ "type": "function"
265
+ }, {
266
+ "constant": false,
267
+ "inputs": [{
268
+ "name": "newOwner",
269
+ "type": "address"
270
+ }],
271
+ "name": "transferOwnership",
272
+ "outputs": [],
273
+ "payable": false,
274
+ "stateMutability": "nonpayable",
275
+ "type": "function"
276
+ }, {
277
+ "payable": true,
278
+ "stateMutability": "payable",
279
+ "type": "fallback"
280
+ }, {
281
+ "anonymous": false,
282
+ "inputs": [{
283
+ "indexed": false,
284
+ "name": "label",
285
+ "type": "string"
286
+ }],
287
+ "name": "Log",
288
+ "type": "event"
289
+ }, {
290
+ "anonymous": false,
291
+ "inputs": [{
292
+ "indexed": false,
293
+ "name": "label",
294
+ "type": "string"
295
+ }, {
296
+ "indexed": false,
297
+ "name": "b",
298
+ "type": "bool"
299
+ }],
300
+ "name": "LogBool",
301
+ "type": "event"
302
+ }, {
303
+ "anonymous": false,
304
+ "inputs": [{
305
+ "indexed": false,
306
+ "name": "label",
307
+ "type": "string"
308
+ }, {
309
+ "indexed": false,
310
+ "name": "a",
311
+ "type": "address"
312
+ }],
313
+ "name": "LogAddress",
314
+ "type": "event"
315
+ }, {
316
+ "anonymous": false,
317
+ "inputs": [{
318
+ "indexed": false,
319
+ "name": "label",
320
+ "type": "string"
321
+ }, {
322
+ "indexed": false,
323
+ "name": "u",
324
+ "type": "uint256"
325
+ }],
326
+ "name": "LogUint256",
327
+ "type": "event"
328
+ }, {
329
+ "anonymous": false,
330
+ "inputs": [{
331
+ "indexed": false,
332
+ "name": "label",
333
+ "type": "string"
334
+ }, {
335
+ "indexed": false,
336
+ "name": "u",
337
+ "type": "int256"
338
+ }],
339
+ "name": "LogInt256",
340
+ "type": "event"
341
+ }, {
342
+ "anonymous": false,
343
+ "inputs": [{
344
+ "indexed": false,
345
+ "name": "label",
346
+ "type": "string"
347
+ }, {
348
+ "indexed": false,
349
+ "name": "b",
350
+ "type": "bytes32"
351
+ }],
352
+ "name": "LogBytes32",
353
+ "type": "event"
354
+ }, {
355
+ "anonymous": false,
356
+ "inputs": [{
357
+ "indexed": false,
358
+ "name": "label",
359
+ "type": "string"
360
+ }, {
361
+ "indexed": false,
362
+ "name": "payee",
363
+ "type": "address"
364
+ }, {
365
+ "indexed": false,
366
+ "name": "amount",
367
+ "type": "uint256"
368
+ }],
369
+ "name": "LogPayment",
370
+ "type": "event"
371
+ }, {
372
+ "anonymous": false,
373
+ "inputs": [{
374
+ "indexed": false,
375
+ "name": "result",
376
+ "type": "uint256"
377
+ }],
378
+ "name": "RunCreate",
379
+ "type": "event"
380
+ }, {
381
+ "anonymous": false,
382
+ "inputs": [{
383
+ "indexed": false,
384
+ "name": "result",
385
+ "type": "uint256"
386
+ }],
387
+ "name": "RunKill",
388
+ "type": "event"
389
+ }, {
390
+ "anonymous": false,
391
+ "inputs": [{
392
+ "indexed": false,
393
+ "name": "proposedStatusCode",
394
+ "type": "int256"
395
+ }, {
396
+ "indexed": false,
397
+ "name": "returnStatusCode",
398
+ "type": "int256"
399
+ }],
400
+ "name": "RunStatusChange",
401
+ "type": "event"
402
+ }, {
403
+ "anonymous": false,
404
+ "inputs": [{
405
+ "indexed": false,
406
+ "name": "level",
407
+ "type": "uint8"
408
+ }, {
409
+ "indexed": false,
410
+ "name": "calculateAccessCharge",
411
+ "type": "int256"
412
+ }],
413
+ "name": "RunAccessCharge",
414
+ "type": "event"
415
+ }, {
416
+ "anonymous": false,
417
+ "inputs": [{
418
+ "indexed": false,
419
+ "name": "requestID",
420
+ "type": "uint256"
421
+ }, {
422
+ "indexed": false,
423
+ "name": "result",
424
+ "type": "uint256"
425
+ }],
426
+ "name": "RunAccess",
427
+ "type": "event"
428
+ }, {
429
+ "anonymous": false,
430
+ "inputs": [{
431
+ "indexed": false,
432
+ "name": "requestID",
433
+ "type": "uint256"
434
+ }, {
435
+ "indexed": false,
436
+ "name": "result",
437
+ "type": "uint256"
438
+ }],
439
+ "name": "RunFinalize",
440
+ "type": "event"
441
+ }]
442
+ };
443
+ module.exports = contract;