@eluvio/elv-client-js 3.1.66 → 3.1.67
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.
- package/README.md +13 -2
- package/dist/ElvClient-min.js +2 -2
- package/dist/ElvClient-node-min.js +2 -2
- package/dist/ElvFrameClient-min.js +1 -1
- package/dist/src/ElvClient.js +6 -3
- package/dist/src/client/ContentAccess.js +868 -818
- package/package-lock.json +16 -11
- package/package.json +3 -1
- package/src/ElvClient.js +4 -1
- package/src/client/ContentAccess.js +29 -0
- package/testScripts/InitializeTenant.js +32 -1
- package/testScripts/Test.js +19 -0
- package/typeSpecs/Default.js +80 -0
- package/typeSpecs/DropEventSite.js +673 -0
- package/typeSpecs/EventSite.js +776 -0
- package/typeSpecs/EventSiteExtras.js +59 -0
- package/typeSpecs/EventTenant.js +86 -0
- package/typeSpecs/LanguageCodes.js +221 -0
- package/typeSpecs/MainSite.js +279 -0
- package/typeSpecs/Marketplace.js +203 -0
- package/typeSpecs/NFTCollection.js +69 -0
- package/typeSpecs/NFTTemplate.js +269 -0
- package/utilities/ChannelCreate.js +205 -0
- package/utilities/ChannelStartVaLOffering.js +63 -29
- package/utilities/LibraryListObjects.js +2 -0
- package/utilities/MezUnifyAudioDrmKeys.js +69 -0
package/dist/src/ElvClient.js
CHANGED
|
@@ -261,6 +261,7 @@ function () {
|
|
|
261
261
|
this.contentTypes = {};
|
|
262
262
|
this.encryptionConks = {};
|
|
263
263
|
this.stateChannelAccess = {};
|
|
264
|
+
this.objectTenantIds = {};
|
|
264
265
|
this.objectLibraryIds = {};
|
|
265
266
|
this.objectImageUrls = {};
|
|
266
267
|
this.visibilityInfo = {};
|
|
@@ -311,7 +312,7 @@ function () {
|
|
|
311
312
|
this.Crypto = Crypto;
|
|
312
313
|
this.Crypto.ElvCrypto();
|
|
313
314
|
|
|
314
|
-
case
|
|
315
|
+
case 17:
|
|
315
316
|
case "end":
|
|
316
317
|
return _context2.stop();
|
|
317
318
|
}
|
|
@@ -608,21 +609,23 @@ function () {
|
|
|
608
609
|
* @namedParams
|
|
609
610
|
* @param {string=} idToken - OAuth ID token
|
|
610
611
|
* @param {string=} authToken - Eluvio authorization token previously issued from OAuth ID token
|
|
612
|
+
* @param {string=} tenantId - If specified, user will be associated with the tenant
|
|
611
613
|
*/
|
|
612
614
|
|
|
613
615
|
}, {
|
|
614
616
|
key: "SetRemoteSigner",
|
|
615
617
|
value: function SetRemoteSigner(_ref9) {
|
|
616
|
-
var idToken, authToken, address, signer;
|
|
618
|
+
var idToken, authToken, tenantId, address, signer;
|
|
617
619
|
return _regeneratorRuntime.async(function SetRemoteSigner$(_context6) {
|
|
618
620
|
while (1) {
|
|
619
621
|
switch (_context6.prev = _context6.next) {
|
|
620
622
|
case 0:
|
|
621
|
-
idToken = _ref9.idToken, authToken = _ref9.authToken, address = _ref9.address;
|
|
623
|
+
idToken = _ref9.idToken, authToken = _ref9.authToken, tenantId = _ref9.tenantId, address = _ref9.address;
|
|
622
624
|
signer = new RemoteSigner({
|
|
623
625
|
rpcUris: this.authServiceURIs,
|
|
624
626
|
idToken: idToken,
|
|
625
627
|
authToken: authToken,
|
|
628
|
+
tenantId: tenantId,
|
|
626
629
|
address: address,
|
|
627
630
|
provider: this.ethClient.provider
|
|
628
631
|
});
|