@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,295 +0,0 @@
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": "canConfirm",
28
- "outputs": [{
29
- "name": "",
30
- "type": "bool"
31
- }],
32
- "payable": false,
33
- "stateMutability": "view",
34
- "type": "function"
35
- }, {
36
- "constant": true,
37
- "inputs": [],
38
- "name": "countVersionHashes",
39
- "outputs": [{
40
- "name": "",
41
- "type": "uint256"
42
- }],
43
- "payable": false,
44
- "stateMutability": "view",
45
- "type": "function"
46
- }, {
47
- "constant": true,
48
- "inputs": [],
49
- "name": "commitPending",
50
- "outputs": [{
51
- "name": "",
52
- "type": "bool"
53
- }],
54
- "payable": false,
55
- "stateMutability": "view",
56
- "type": "function"
57
- }, {
58
- "constant": false,
59
- "inputs": [],
60
- "name": "kill",
61
- "outputs": [],
62
- "payable": false,
63
- "stateMutability": "nonpayable",
64
- "type": "function"
65
- }, {
66
- "constant": false,
67
- "inputs": [],
68
- "name": "confirmCommit",
69
- "outputs": [{
70
- "name": "",
71
- "type": "bool"
72
- }],
73
- "payable": true,
74
- "stateMutability": "payable",
75
- "type": "function"
76
- }, {
77
- "constant": true,
78
- "inputs": [],
79
- "name": "version",
80
- "outputs": [{
81
- "name": "",
82
- "type": "bytes32"
83
- }],
84
- "payable": false,
85
- "stateMutability": "view",
86
- "type": "function"
87
- }, {
88
- "constant": false,
89
- "inputs": [],
90
- "name": "clearPending",
91
- "outputs": [],
92
- "payable": false,
93
- "stateMutability": "nonpayable",
94
- "type": "function"
95
- }, {
96
- "constant": true,
97
- "inputs": [],
98
- "name": "pendingHash",
99
- "outputs": [{
100
- "name": "",
101
- "type": "string"
102
- }],
103
- "payable": false,
104
- "stateMutability": "view",
105
- "type": "function"
106
- }, {
107
- "constant": false,
108
- "inputs": [{
109
- "name": "newCreator",
110
- "type": "address"
111
- }],
112
- "name": "transferCreatorship",
113
- "outputs": [],
114
- "payable": false,
115
- "stateMutability": "nonpayable",
116
- "type": "function"
117
- }, {
118
- "constant": true,
119
- "inputs": [],
120
- "name": "canCommit",
121
- "outputs": [{
122
- "name": "",
123
- "type": "bool"
124
- }],
125
- "payable": false,
126
- "stateMutability": "view",
127
- "type": "function"
128
- }, {
129
- "constant": true,
130
- "inputs": [{
131
- "name": "",
132
- "type": "uint256"
133
- }],
134
- "name": "versionTimestamp",
135
- "outputs": [{
136
- "name": "",
137
- "type": "uint256"
138
- }],
139
- "payable": false,
140
- "stateMutability": "view",
141
- "type": "function"
142
- }, {
143
- "constant": true,
144
- "inputs": [{
145
- "name": "",
146
- "type": "uint256"
147
- }],
148
- "name": "versionHashes",
149
- "outputs": [{
150
- "name": "",
151
- "type": "string"
152
- }],
153
- "payable": false,
154
- "stateMutability": "view",
155
- "type": "function"
156
- }, {
157
- "constant": true,
158
- "inputs": [],
159
- "name": "owner",
160
- "outputs": [{
161
- "name": "",
162
- "type": "address"
163
- }],
164
- "payable": false,
165
- "stateMutability": "view",
166
- "type": "function"
167
- }, {
168
- "constant": false,
169
- "inputs": [{
170
- "name": "_objectHash",
171
- "type": "string"
172
- }],
173
- "name": "commit",
174
- "outputs": [],
175
- "payable": false,
176
- "stateMutability": "nonpayable",
177
- "type": "function"
178
- }, {
179
- "constant": true,
180
- "inputs": [],
181
- "name": "contentSpace",
182
- "outputs": [{
183
- "name": "",
184
- "type": "address"
185
- }],
186
- "payable": false,
187
- "stateMutability": "view",
188
- "type": "function"
189
- }, {
190
- "constant": false,
191
- "inputs": [],
192
- "name": "updateRequest",
193
- "outputs": [],
194
- "payable": false,
195
- "stateMutability": "nonpayable",
196
- "type": "function"
197
- }, {
198
- "constant": true,
199
- "inputs": [],
200
- "name": "objectHash",
201
- "outputs": [{
202
- "name": "",
203
- "type": "string"
204
- }],
205
- "payable": false,
206
- "stateMutability": "view",
207
- "type": "function"
208
- }, {
209
- "constant": false,
210
- "inputs": [{
211
- "name": "_versionHash",
212
- "type": "string"
213
- }],
214
- "name": "deleteVersion",
215
- "outputs": [{
216
- "name": "",
217
- "type": "int256"
218
- }],
219
- "payable": false,
220
- "stateMutability": "nonpayable",
221
- "type": "function"
222
- }, {
223
- "constant": false,
224
- "inputs": [{
225
- "name": "newOwner",
226
- "type": "address"
227
- }],
228
- "name": "transferOwnership",
229
- "outputs": [],
230
- "payable": false,
231
- "stateMutability": "nonpayable",
232
- "type": "function"
233
- }, {
234
- "payable": true,
235
- "stateMutability": "payable",
236
- "type": "fallback"
237
- }, {
238
- "anonymous": false,
239
- "inputs": [{
240
- "indexed": false,
241
- "name": "spaceAddress",
242
- "type": "address"
243
- }, {
244
- "indexed": false,
245
- "name": "parentAddress",
246
- "type": "address"
247
- }, {
248
- "indexed": false,
249
- "name": "objectHash",
250
- "type": "string"
251
- }],
252
- "name": "CommitPending",
253
- "type": "event"
254
- }, {
255
- "anonymous": false,
256
- "inputs": [{
257
- "indexed": false,
258
- "name": "objectHash",
259
- "type": "string"
260
- }],
261
- "name": "UpdateRequest",
262
- "type": "event"
263
- }, {
264
- "anonymous": false,
265
- "inputs": [{
266
- "indexed": false,
267
- "name": "spaceAddress",
268
- "type": "address"
269
- }, {
270
- "indexed": false,
271
- "name": "objectHash",
272
- "type": "string"
273
- }],
274
- "name": "VersionConfirm",
275
- "type": "event"
276
- }, {
277
- "anonymous": false,
278
- "inputs": [{
279
- "indexed": false,
280
- "name": "spaceAddress",
281
- "type": "address"
282
- }, {
283
- "indexed": false,
284
- "name": "versionHash",
285
- "type": "string"
286
- }, {
287
- "indexed": false,
288
- "name": "index",
289
- "type": "int256"
290
- }],
291
- "name": "VersionDelete",
292
- "type": "event"
293
- }]
294
- };
295
- module.exports = contract;
@@ -1,57 +0,0 @@
1
- var contract = {
2
- "abi": [{
3
- "constant": false,
4
- "inputs": [{
5
- "name": "address_KMS",
6
- "type": "address"
7
- }],
8
- "name": "createLibrary",
9
- "outputs": [{
10
- "name": "",
11
- "type": "address"
12
- }],
13
- "payable": false,
14
- "stateMutability": "nonpayable",
15
- "type": "function"
16
- }, {
17
- "constant": false,
18
- "inputs": [],
19
- "name": "createGroup",
20
- "outputs": [{
21
- "name": "",
22
- "type": "address"
23
- }],
24
- "payable": false,
25
- "stateMutability": "nonpayable",
26
- "type": "function"
27
- }, {
28
- "constant": false,
29
- "inputs": [],
30
- "name": "createContentType",
31
- "outputs": [{
32
- "name": "",
33
- "type": "address"
34
- }],
35
- "payable": false,
36
- "stateMutability": "nonpayable",
37
- "type": "function"
38
- }, {
39
- "constant": false,
40
- "inputs": [{
41
- "name": "lib",
42
- "type": "address"
43
- }, {
44
- "name": "content_type",
45
- "type": "address"
46
- }],
47
- "name": "createContent",
48
- "outputs": [{
49
- "name": "",
50
- "type": "address"
51
- }],
52
- "payable": false,
53
- "stateMutability": "nonpayable",
54
- "type": "function"
55
- }]
56
- };
57
- module.exports = contract;
@@ -1,52 +0,0 @@
1
- var contract = {
2
- "abi": [{
3
- "constant": true,
4
- "inputs": [{
5
- "name": "_kmsID",
6
- "type": "string"
7
- }, {
8
- "name": "prefix",
9
- "type": "bytes"
10
- }],
11
- "name": "getKMSInfo",
12
- "outputs": [{
13
- "name": "",
14
- "type": "string"
15
- }, {
16
- "name": "",
17
- "type": "string"
18
- }],
19
- "payable": false,
20
- "stateMutability": "view",
21
- "type": "function"
22
- }, {
23
- "constant": true,
24
- "inputs": [{
25
- "name": "_kmsAddr",
26
- "type": "address"
27
- }],
28
- "name": "getKMSID",
29
- "outputs": [{
30
- "name": "",
31
- "type": "string"
32
- }],
33
- "payable": false,
34
- "stateMutability": "view",
35
- "type": "function"
36
- }, {
37
- "constant": true,
38
- "inputs": [{
39
- "name": "_kmsAddr",
40
- "type": "address"
41
- }],
42
- "name": "checkKMSAddr",
43
- "outputs": [{
44
- "name": "",
45
- "type": "uint256"
46
- }],
47
- "payable": false,
48
- "stateMutability": "view",
49
- "type": "function"
50
- }]
51
- };
52
- module.exports = contract;