@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,432 +0,0 @@
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": "",
210
- "type": "uint256"
211
- }, {
212
- "name": "",
213
- "type": "bool"
214
- }],
215
- "name": "runGrant",
216
- "outputs": [{
217
- "name": "",
218
- "type": "uint256"
219
- }],
220
- "payable": true,
221
- "stateMutability": "payable",
222
- "type": "function"
223
- }, {
224
- "constant": false,
225
- "inputs": [{
226
- "name": "requestID",
227
- "type": "uint256"
228
- }, {
229
- "name": "score_pct",
230
- "type": "uint256"
231
- }, {
232
- "name": "originator",
233
- "type": "address"
234
- }],
235
- "name": "runFinalizeExt",
236
- "outputs": [{
237
- "name": "",
238
- "type": "uint256"
239
- }],
240
- "payable": true,
241
- "stateMutability": "payable",
242
- "type": "function"
243
- }, {
244
- "constant": true,
245
- "inputs": [],
246
- "name": "DEFAULT_CHARGE",
247
- "outputs": [{
248
- "name": "",
249
- "type": "uint8"
250
- }],
251
- "payable": false,
252
- "stateMutability": "view",
253
- "type": "function"
254
- }, {
255
- "constant": false,
256
- "inputs": [{
257
- "name": "newOwner",
258
- "type": "address"
259
- }],
260
- "name": "transferOwnership",
261
- "outputs": [],
262
- "payable": false,
263
- "stateMutability": "nonpayable",
264
- "type": "function"
265
- }, {
266
- "payable": true,
267
- "stateMutability": "payable",
268
- "type": "fallback"
269
- }, {
270
- "anonymous": false,
271
- "inputs": [{
272
- "indexed": false,
273
- "name": "label",
274
- "type": "string"
275
- }],
276
- "name": "Log",
277
- "type": "event"
278
- }, {
279
- "anonymous": false,
280
- "inputs": [{
281
- "indexed": false,
282
- "name": "label",
283
- "type": "string"
284
- }, {
285
- "indexed": false,
286
- "name": "b",
287
- "type": "bool"
288
- }],
289
- "name": "LogBool",
290
- "type": "event"
291
- }, {
292
- "anonymous": false,
293
- "inputs": [{
294
- "indexed": false,
295
- "name": "label",
296
- "type": "string"
297
- }, {
298
- "indexed": false,
299
- "name": "a",
300
- "type": "address"
301
- }],
302
- "name": "LogAddress",
303
- "type": "event"
304
- }, {
305
- "anonymous": false,
306
- "inputs": [{
307
- "indexed": false,
308
- "name": "label",
309
- "type": "string"
310
- }, {
311
- "indexed": false,
312
- "name": "u",
313
- "type": "uint256"
314
- }],
315
- "name": "LogUint256",
316
- "type": "event"
317
- }, {
318
- "anonymous": false,
319
- "inputs": [{
320
- "indexed": false,
321
- "name": "label",
322
- "type": "string"
323
- }, {
324
- "indexed": false,
325
- "name": "u",
326
- "type": "int256"
327
- }],
328
- "name": "LogInt256",
329
- "type": "event"
330
- }, {
331
- "anonymous": false,
332
- "inputs": [{
333
- "indexed": false,
334
- "name": "label",
335
- "type": "string"
336
- }, {
337
- "indexed": false,
338
- "name": "b",
339
- "type": "bytes32"
340
- }],
341
- "name": "LogBytes32",
342
- "type": "event"
343
- }, {
344
- "anonymous": false,
345
- "inputs": [{
346
- "indexed": false,
347
- "name": "label",
348
- "type": "string"
349
- }, {
350
- "indexed": false,
351
- "name": "payee",
352
- "type": "address"
353
- }, {
354
- "indexed": false,
355
- "name": "amount",
356
- "type": "uint256"
357
- }],
358
- "name": "LogPayment",
359
- "type": "event"
360
- }, {
361
- "anonymous": false,
362
- "inputs": [{
363
- "indexed": false,
364
- "name": "result",
365
- "type": "uint256"
366
- }],
367
- "name": "RunCreate",
368
- "type": "event"
369
- }, {
370
- "anonymous": false,
371
- "inputs": [{
372
- "indexed": false,
373
- "name": "result",
374
- "type": "uint256"
375
- }],
376
- "name": "RunKill",
377
- "type": "event"
378
- }, {
379
- "anonymous": false,
380
- "inputs": [{
381
- "indexed": false,
382
- "name": "proposedStatusCode",
383
- "type": "int256"
384
- }, {
385
- "indexed": false,
386
- "name": "returnStatusCode",
387
- "type": "int256"
388
- }],
389
- "name": "RunStatusChange",
390
- "type": "event"
391
- }, {
392
- "anonymous": false,
393
- "inputs": [{
394
- "indexed": false,
395
- "name": "level",
396
- "type": "uint8"
397
- }, {
398
- "indexed": false,
399
- "name": "calculateAccessCharge",
400
- "type": "int256"
401
- }],
402
- "name": "RunAccessCharge",
403
- "type": "event"
404
- }, {
405
- "anonymous": false,
406
- "inputs": [{
407
- "indexed": false,
408
- "name": "requestID",
409
- "type": "uint256"
410
- }, {
411
- "indexed": false,
412
- "name": "result",
413
- "type": "uint256"
414
- }],
415
- "name": "RunAccess",
416
- "type": "event"
417
- }, {
418
- "anonymous": false,
419
- "inputs": [{
420
- "indexed": false,
421
- "name": "requestID",
422
- "type": "uint256"
423
- }, {
424
- "indexed": false,
425
- "name": "result",
426
- "type": "uint256"
427
- }],
428
- "name": "RunFinalize",
429
- "type": "event"
430
- }]
431
- };
432
- module.exports = contract;