@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,351 @@
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": "_candidate",
17
+ "type": "address"
18
+ }],
19
+ "name": "isAdmin",
20
+ "outputs": [{
21
+ "name": "",
22
+ "type": "bool"
23
+ }],
24
+ "payable": false,
25
+ "stateMutability": "view",
26
+ "type": "function"
27
+ }, {
28
+ "constant": false,
29
+ "inputs": [{
30
+ "name": "_ident",
31
+ "type": "bytes32"
32
+ }, {
33
+ "name": "_ord",
34
+ "type": "uint8"
35
+ }],
36
+ "name": "setAndGetBit",
37
+ "outputs": [{
38
+ "name": "",
39
+ "type": "bool"
40
+ }],
41
+ "payable": false,
42
+ "stateMutability": "nonpayable",
43
+ "type": "function"
44
+ }, {
45
+ "constant": true,
46
+ "inputs": [{
47
+ "name": "_ident",
48
+ "type": "bytes32"
49
+ }, {
50
+ "name": "_ord",
51
+ "type": "uint8"
52
+ }],
53
+ "name": "getBit",
54
+ "outputs": [{
55
+ "name": "",
56
+ "type": "bool"
57
+ }],
58
+ "payable": false,
59
+ "stateMutability": "view",
60
+ "type": "function"
61
+ }, {
62
+ "constant": false,
63
+ "inputs": [{
64
+ "name": "_ident",
65
+ "type": "bytes32"
66
+ }, {
67
+ "name": "_ord",
68
+ "type": "uint8"
69
+ }],
70
+ "name": "setAndGetBitInternal",
71
+ "outputs": [{
72
+ "name": "",
73
+ "type": "bool"
74
+ }],
75
+ "payable": false,
76
+ "stateMutability": "nonpayable",
77
+ "type": "function"
78
+ }, {
79
+ "constant": false,
80
+ "inputs": [],
81
+ "name": "kill",
82
+ "outputs": [],
83
+ "payable": false,
84
+ "stateMutability": "nonpayable",
85
+ "type": "function"
86
+ }, {
87
+ "constant": true,
88
+ "inputs": [],
89
+ "name": "version",
90
+ "outputs": [{
91
+ "name": "",
92
+ "type": "bytes32"
93
+ }],
94
+ "payable": false,
95
+ "stateMutability": "view",
96
+ "type": "function"
97
+ }, {
98
+ "constant": true,
99
+ "inputs": [],
100
+ "name": "versionAPI",
101
+ "outputs": [{
102
+ "name": "",
103
+ "type": "bytes32"
104
+ }],
105
+ "payable": false,
106
+ "stateMutability": "view",
107
+ "type": "function"
108
+ }, {
109
+ "constant": false,
110
+ "inputs": [{
111
+ "name": "newCreator",
112
+ "type": "address"
113
+ }],
114
+ "name": "transferCreatorship",
115
+ "outputs": [],
116
+ "payable": false,
117
+ "stateMutability": "nonpayable",
118
+ "type": "function"
119
+ }, {
120
+ "constant": false,
121
+ "inputs": [{
122
+ "name": "_ident",
123
+ "type": "bytes32"
124
+ }, {
125
+ "name": "_ord",
126
+ "type": "uint8"
127
+ }],
128
+ "name": "incrementCounter",
129
+ "outputs": [],
130
+ "payable": false,
131
+ "stateMutability": "nonpayable",
132
+ "type": "function"
133
+ }, {
134
+ "constant": true,
135
+ "inputs": [],
136
+ "name": "owner",
137
+ "outputs": [{
138
+ "name": "",
139
+ "type": "address"
140
+ }],
141
+ "payable": false,
142
+ "stateMutability": "view",
143
+ "type": "function"
144
+ }, {
145
+ "constant": false,
146
+ "inputs": [{
147
+ "name": "_encToken",
148
+ "type": "bytes"
149
+ }],
150
+ "name": "checkAndSet",
151
+ "outputs": [],
152
+ "payable": false,
153
+ "stateMutability": "nonpayable",
154
+ "type": "function"
155
+ }, {
156
+ "constant": true,
157
+ "inputs": [{
158
+ "name": "key",
159
+ "type": "bytes"
160
+ }],
161
+ "name": "getMeta",
162
+ "outputs": [{
163
+ "name": "",
164
+ "type": "bytes"
165
+ }],
166
+ "payable": false,
167
+ "stateMutability": "view",
168
+ "type": "function"
169
+ }, {
170
+ "constant": true,
171
+ "inputs": [],
172
+ "name": "contentSpace",
173
+ "outputs": [{
174
+ "name": "",
175
+ "type": "address"
176
+ }],
177
+ "payable": false,
178
+ "stateMutability": "view",
179
+ "type": "function"
180
+ }, {
181
+ "constant": false,
182
+ "inputs": [{
183
+ "name": "_encAuthToken",
184
+ "type": "bytes"
185
+ }, {
186
+ "name": "_amount",
187
+ "type": "uint256"
188
+ }, {
189
+ "name": "_to",
190
+ "type": "address"
191
+ }],
192
+ "name": "transferToken",
193
+ "outputs": [],
194
+ "payable": false,
195
+ "stateMutability": "nonpayable",
196
+ "type": "function"
197
+ }, {
198
+ "constant": false,
199
+ "inputs": [{
200
+ "name": "_encToken",
201
+ "type": "bytes"
202
+ }, {
203
+ "name": "",
204
+ "type": "uint256"
205
+ }, {
206
+ "name": "_to",
207
+ "type": "address"
208
+ }],
209
+ "name": "applyGroups",
210
+ "outputs": [],
211
+ "payable": false,
212
+ "stateMutability": "nonpayable",
213
+ "type": "function"
214
+ }, {
215
+ "constant": true,
216
+ "inputs": [{
217
+ "name": "_ident",
218
+ "type": "bytes32"
219
+ }, {
220
+ "name": "_ord",
221
+ "type": "uint8"
222
+ }],
223
+ "name": "getCounter",
224
+ "outputs": [{
225
+ "name": "",
226
+ "type": "uint32"
227
+ }],
228
+ "payable": false,
229
+ "stateMutability": "view",
230
+ "type": "function"
231
+ }, {
232
+ "constant": false,
233
+ "inputs": [{
234
+ "name": "key",
235
+ "type": "bytes"
236
+ }, {
237
+ "name": "value",
238
+ "type": "bytes"
239
+ }],
240
+ "name": "putMeta",
241
+ "outputs": [],
242
+ "payable": false,
243
+ "stateMutability": "nonpayable",
244
+ "type": "function"
245
+ }, {
246
+ "constant": false,
247
+ "inputs": [{
248
+ "name": "_ident",
249
+ "type": "bytes32"
250
+ }],
251
+ "name": "deleteGroup",
252
+ "outputs": [],
253
+ "payable": false,
254
+ "stateMutability": "nonpayable",
255
+ "type": "function"
256
+ }, {
257
+ "constant": false,
258
+ "inputs": [{
259
+ "name": "newOwner",
260
+ "type": "address"
261
+ }],
262
+ "name": "transferOwnership",
263
+ "outputs": [],
264
+ "payable": false,
265
+ "stateMutability": "nonpayable",
266
+ "type": "function"
267
+ }, {
268
+ "payable": true,
269
+ "stateMutability": "payable",
270
+ "type": "fallback"
271
+ }, {
272
+ "anonymous": false,
273
+ "inputs": [{
274
+ "indexed": false,
275
+ "name": "to",
276
+ "type": "address"
277
+ }, {
278
+ "indexed": false,
279
+ "name": "amount",
280
+ "type": "uint256"
281
+ }],
282
+ "name": "TenantTransfer",
283
+ "type": "event"
284
+ }, {
285
+ "anonymous": false,
286
+ "inputs": [{
287
+ "indexed": false,
288
+ "name": "to",
289
+ "type": "address"
290
+ }, {
291
+ "indexed": false,
292
+ "name": "numGroups",
293
+ "type": "uint256"
294
+ }],
295
+ "name": "ApplyGroups",
296
+ "type": "event"
297
+ }, {
298
+ "anonymous": false,
299
+ "inputs": [{
300
+ "indexed": false,
301
+ "name": "ident",
302
+ "type": "bytes32"
303
+ }, {
304
+ "indexed": false,
305
+ "name": "slot",
306
+ "type": "uint8"
307
+ }, {
308
+ "indexed": false,
309
+ "name": "val",
310
+ "type": "uint32"
311
+ }],
312
+ "name": "CounterIncremented",
313
+ "type": "event"
314
+ }, {
315
+ "anonymous": false,
316
+ "inputs": [{
317
+ "indexed": false,
318
+ "name": "ident",
319
+ "type": "bytes32"
320
+ }, {
321
+ "indexed": false,
322
+ "name": "ord",
323
+ "type": "uint8"
324
+ }, {
325
+ "indexed": false,
326
+ "name": "prev",
327
+ "type": "bool"
328
+ }],
329
+ "name": "BitSetAndGet",
330
+ "type": "event"
331
+ }, {
332
+ "anonymous": false,
333
+ "inputs": [{
334
+ "indexed": false,
335
+ "name": "ident",
336
+ "type": "bytes32"
337
+ }],
338
+ "name": "WordGroupDeleted",
339
+ "type": "event"
340
+ }, {
341
+ "anonymous": false,
342
+ "inputs": [{
343
+ "indexed": false,
344
+ "name": "key",
345
+ "type": "bytes"
346
+ }],
347
+ "name": "ObjectMetaChanged",
348
+ "type": "event"
349
+ }]
350
+ };
351
+ module.exports = contract;
@@ -0,0 +1,82 @@
1
+ var contract = {
2
+ "abi": [{
3
+ "constant": false,
4
+ "inputs": [{
5
+ "name": "_guarantor",
6
+ "type": "address"
7
+ }, {
8
+ "name": "_v",
9
+ "type": "uint8"
10
+ }, {
11
+ "name": "_r",
12
+ "type": "bytes32"
13
+ }, {
14
+ "name": "_s",
15
+ "type": "bytes32"
16
+ }, {
17
+ "name": "_dest",
18
+ "type": "address"
19
+ }, {
20
+ "name": "_value",
21
+ "type": "uint256"
22
+ }, {
23
+ "name": "_ts",
24
+ "type": "uint256"
25
+ }],
26
+ "name": "execute",
27
+ "outputs": [{
28
+ "name": "",
29
+ "type": "bool"
30
+ }],
31
+ "payable": false,
32
+ "stateMutability": "nonpayable",
33
+ "type": "function"
34
+ }, {
35
+ "constant": true,
36
+ "inputs": [{
37
+ "name": "_v",
38
+ "type": "uint8"
39
+ }, {
40
+ "name": "_r",
41
+ "type": "bytes32"
42
+ }, {
43
+ "name": "_s",
44
+ "type": "bytes32"
45
+ }, {
46
+ "name": "_dest",
47
+ "type": "address"
48
+ }, {
49
+ "name": "_value",
50
+ "type": "uint256"
51
+ }, {
52
+ "name": "_ts",
53
+ "type": "uint256"
54
+ }],
55
+ "name": "validateTransaction",
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": "_ts",
67
+ "type": "uint256"
68
+ }],
69
+ "name": "validateTimestamp",
70
+ "outputs": [{
71
+ "name": "",
72
+ "type": "bool"
73
+ }, {
74
+ "name": "",
75
+ "type": "uint256"
76
+ }],
77
+ "payable": false,
78
+ "stateMutability": "view",
79
+ "type": "function"
80
+ }]
81
+ };
82
+ module.exports = contract;
@@ -0,0 +1,43 @@
1
+ var contract = {
2
+ "abi": [{
3
+ "constant": true,
4
+ "inputs": [],
5
+ "name": "version",
6
+ "outputs": [{
7
+ "name": "",
8
+ "type": "bytes32"
9
+ }],
10
+ "payable": false,
11
+ "stateMutability": "view",
12
+ "type": "function"
13
+ }, {
14
+ "constant": true,
15
+ "inputs": [{
16
+ "name": "_userAddr",
17
+ "type": "address"
18
+ }],
19
+ "name": "userWallets",
20
+ "outputs": [{
21
+ "name": "",
22
+ "type": "address"
23
+ }],
24
+ "payable": false,
25
+ "stateMutability": "view",
26
+ "type": "function"
27
+ }, {
28
+ "constant": false,
29
+ "inputs": [{
30
+ "name": "_user",
31
+ "type": "address"
32
+ }],
33
+ "name": "createUserWallet",
34
+ "outputs": [{
35
+ "name": "",
36
+ "type": "address"
37
+ }],
38
+ "payable": false,
39
+ "stateMutability": "nonpayable",
40
+ "type": "function"
41
+ }]
42
+ };
43
+ module.exports = contract;
@@ -0,0 +1,18 @@
1
+ var contract = {
2
+ "abi": [{
3
+ "constant": true,
4
+ "inputs": [{
5
+ "name": "addr",
6
+ "type": "address"
7
+ }],
8
+ "name": "getBalance",
9
+ "outputs": [{
10
+ "name": "",
11
+ "type": "uint256"
12
+ }],
13
+ "payable": false,
14
+ "stateMutability": "view",
15
+ "type": "function"
16
+ }]
17
+ };
18
+ module.exports = contract;
@@ -0,0 +1,53 @@
1
+ var contract = {
2
+ "abi": [{
3
+ "constant": true,
4
+ "inputs": [{
5
+ "name": "_addr",
6
+ "type": "address"
7
+ }, {
8
+ "name": "msgHash",
9
+ "type": "bytes32"
10
+ }, {
11
+ "name": "v",
12
+ "type": "uint8"
13
+ }, {
14
+ "name": "r",
15
+ "type": "bytes32"
16
+ }, {
17
+ "name": "s",
18
+ "type": "bytes32"
19
+ }],
20
+ "name": "isSigned",
21
+ "outputs": [{
22
+ "name": "",
23
+ "type": "bool"
24
+ }],
25
+ "payable": false,
26
+ "stateMutability": "pure",
27
+ "type": "function"
28
+ }, {
29
+ "constant": true,
30
+ "inputs": [{
31
+ "name": "msgHash",
32
+ "type": "bytes32"
33
+ }, {
34
+ "name": "v",
35
+ "type": "uint8"
36
+ }, {
37
+ "name": "r",
38
+ "type": "bytes32"
39
+ }, {
40
+ "name": "s",
41
+ "type": "bytes32"
42
+ }],
43
+ "name": "recoverAddr",
44
+ "outputs": [{
45
+ "name": "",
46
+ "type": "address"
47
+ }],
48
+ "payable": false,
49
+ "stateMutability": "pure",
50
+ "type": "function"
51
+ }]
52
+ };
53
+ module.exports = contract;
@@ -0,0 +1,4 @@
1
+ var contract = {
2
+ "abi": []
3
+ };
4
+ module.exports = contract;