@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,183 @@
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": false,
15
+ "inputs": [{
16
+ "name": "addr",
17
+ "type": "address"
18
+ }],
19
+ "name": "isContract",
20
+ "outputs": [{
21
+ "name": "",
22
+ "type": "bool"
23
+ }],
24
+ "payable": false,
25
+ "stateMutability": "nonpayable",
26
+ "type": "function"
27
+ }, {
28
+ "constant": false,
29
+ "inputs": [],
30
+ "name": "kill",
31
+ "outputs": [],
32
+ "payable": false,
33
+ "stateMutability": "nonpayable",
34
+ "type": "function"
35
+ }, {
36
+ "constant": true,
37
+ "inputs": [],
38
+ "name": "OP_ACCESS_COMPLETE",
39
+ "outputs": [{
40
+ "name": "",
41
+ "type": "uint32"
42
+ }],
43
+ "payable": false,
44
+ "stateMutability": "view",
45
+ "type": "function"
46
+ }, {
47
+ "constant": false,
48
+ "inputs": [{
49
+ "name": "_opCodes",
50
+ "type": "uint32[]"
51
+ }, {
52
+ "name": "_contentAddrs",
53
+ "type": "address[]"
54
+ }, {
55
+ "name": "_userAddrs",
56
+ "type": "address[]"
57
+ }, {
58
+ "name": "_requestNonces",
59
+ "type": "uint256[]"
60
+ }, {
61
+ "name": "_ctxHashes",
62
+ "type": "bytes32[]"
63
+ }, {
64
+ "name": "_ts",
65
+ "type": "uint256[]"
66
+ }, {
67
+ "name": "_amt",
68
+ "type": "uint256[]"
69
+ }],
70
+ "name": "executeAccessBatch",
71
+ "outputs": [],
72
+ "payable": false,
73
+ "stateMutability": "nonpayable",
74
+ "type": "function"
75
+ }, {
76
+ "constant": true,
77
+ "inputs": [],
78
+ "name": "OP_ACCESS_REQUEST",
79
+ "outputs": [{
80
+ "name": "",
81
+ "type": "uint32"
82
+ }],
83
+ "payable": false,
84
+ "stateMutability": "view",
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": true,
121
+ "inputs": [],
122
+ "name": "owner",
123
+ "outputs": [{
124
+ "name": "",
125
+ "type": "address"
126
+ }],
127
+ "payable": false,
128
+ "stateMutability": "view",
129
+ "type": "function"
130
+ }, {
131
+ "constant": true,
132
+ "inputs": [],
133
+ "name": "contentSpace",
134
+ "outputs": [{
135
+ "name": "",
136
+ "type": "address"
137
+ }],
138
+ "payable": false,
139
+ "stateMutability": "view",
140
+ "type": "function"
141
+ }, {
142
+ "constant": false,
143
+ "inputs": [{
144
+ "name": "lib",
145
+ "type": "address"
146
+ }, {
147
+ "name": "content_type",
148
+ "type": "address"
149
+ }],
150
+ "name": "createContent",
151
+ "outputs": [{
152
+ "name": "",
153
+ "type": "address"
154
+ }],
155
+ "payable": false,
156
+ "stateMutability": "nonpayable",
157
+ "type": "function"
158
+ }, {
159
+ "constant": false,
160
+ "inputs": [{
161
+ "name": "newOwner",
162
+ "type": "address"
163
+ }],
164
+ "name": "transferOwnership",
165
+ "outputs": [],
166
+ "payable": false,
167
+ "stateMutability": "nonpayable",
168
+ "type": "function"
169
+ }, {
170
+ "inputs": [{
171
+ "name": "_spaceAddr",
172
+ "type": "address"
173
+ }],
174
+ "payable": false,
175
+ "stateMutability": "nonpayable",
176
+ "type": "constructor"
177
+ }, {
178
+ "payable": true,
179
+ "stateMutability": "payable",
180
+ "type": "fallback"
181
+ }]
182
+ };
183
+ module.exports = contract;
@@ -0,0 +1,175 @@
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": false,
15
+ "inputs": [{
16
+ "name": "addr",
17
+ "type": "address"
18
+ }],
19
+ "name": "isContract",
20
+ "outputs": [{
21
+ "name": "",
22
+ "type": "bool"
23
+ }],
24
+ "payable": false,
25
+ "stateMutability": "nonpayable",
26
+ "type": "function"
27
+ }, {
28
+ "constant": false,
29
+ "inputs": [],
30
+ "name": "kill",
31
+ "outputs": [],
32
+ "payable": false,
33
+ "stateMutability": "nonpayable",
34
+ "type": "function"
35
+ }, {
36
+ "constant": true,
37
+ "inputs": [],
38
+ "name": "OP_ACCESS_COMPLETE",
39
+ "outputs": [{
40
+ "name": "",
41
+ "type": "uint32"
42
+ }],
43
+ "payable": false,
44
+ "stateMutability": "view",
45
+ "type": "function"
46
+ }, {
47
+ "constant": true,
48
+ "inputs": [],
49
+ "name": "OP_ACCESS_REQUEST",
50
+ "outputs": [{
51
+ "name": "",
52
+ "type": "uint32"
53
+ }],
54
+ "payable": false,
55
+ "stateMutability": "view",
56
+ "type": "function"
57
+ }, {
58
+ "constant": true,
59
+ "inputs": [],
60
+ "name": "version",
61
+ "outputs": [{
62
+ "name": "",
63
+ "type": "bytes32"
64
+ }],
65
+ "payable": false,
66
+ "stateMutability": "view",
67
+ "type": "function"
68
+ }, {
69
+ "constant": true,
70
+ "inputs": [],
71
+ "name": "versionAPI",
72
+ "outputs": [{
73
+ "name": "",
74
+ "type": "bytes32"
75
+ }],
76
+ "payable": false,
77
+ "stateMutability": "view",
78
+ "type": "function"
79
+ }, {
80
+ "constant": false,
81
+ "inputs": [{
82
+ "name": "newCreator",
83
+ "type": "address"
84
+ }],
85
+ "name": "transferCreatorship",
86
+ "outputs": [],
87
+ "payable": false,
88
+ "stateMutability": "nonpayable",
89
+ "type": "function"
90
+ }, {
91
+ "constant": true,
92
+ "inputs": [],
93
+ "name": "owner",
94
+ "outputs": [{
95
+ "name": "",
96
+ "type": "address"
97
+ }],
98
+ "payable": false,
99
+ "stateMutability": "view",
100
+ "type": "function"
101
+ }, {
102
+ "constant": false,
103
+ "inputs": [{
104
+ "name": "_opCodes",
105
+ "type": "uint32[]"
106
+ }, {
107
+ "name": "_contentAddrs",
108
+ "type": "address[]"
109
+ }, {
110
+ "name": "_userAddrs",
111
+ "type": "address[]"
112
+ }, {
113
+ "name": "_requestNonces",
114
+ "type": "bytes32[]"
115
+ }, {
116
+ "name": "_ctxHashes",
117
+ "type": "bytes32[]"
118
+ }, {
119
+ "name": "_ts",
120
+ "type": "uint256[]"
121
+ }, {
122
+ "name": "_amt",
123
+ "type": "uint256[]"
124
+ }],
125
+ "name": "executeAccessBatch",
126
+ "outputs": [],
127
+ "payable": false,
128
+ "stateMutability": "nonpayable",
129
+ "type": "function"
130
+ }, {
131
+ "constant": true,
132
+ "inputs": [],
133
+ "name": "contentSpace",
134
+ "outputs": [{
135
+ "name": "",
136
+ "type": "address"
137
+ }],
138
+ "payable": false,
139
+ "stateMutability": "view",
140
+ "type": "function"
141
+ }, {
142
+ "constant": false,
143
+ "inputs": [{
144
+ "name": "lib",
145
+ "type": "address"
146
+ }, {
147
+ "name": "content_type",
148
+ "type": "address"
149
+ }],
150
+ "name": "createContent",
151
+ "outputs": [{
152
+ "name": "",
153
+ "type": "address"
154
+ }],
155
+ "payable": false,
156
+ "stateMutability": "nonpayable",
157
+ "type": "function"
158
+ }, {
159
+ "constant": false,
160
+ "inputs": [{
161
+ "name": "newOwner",
162
+ "type": "address"
163
+ }],
164
+ "name": "transferOwnership",
165
+ "outputs": [],
166
+ "payable": false,
167
+ "stateMutability": "nonpayable",
168
+ "type": "function"
169
+ }, {
170
+ "payable": true,
171
+ "stateMutability": "payable",
172
+ "type": "fallback"
173
+ }]
174
+ };
175
+ module.exports = contract;