@eluvio/elv-client-js 3.1.89 → 3.1.90
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/package-lock.json +1 -1
- package/package.json +1 -1
- package/src/AuthorizationClient.js +2 -2
package/package-lock.json
CHANGED
package/package.json
CHANGED
|
@@ -144,7 +144,7 @@ class AuthorizationClient {
|
|
|
144
144
|
this.noCache = true;
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
if(this.client.signer && this.client.signer.remoteSigner) {
|
|
147
|
+
if(channelAuth && this.client.signer && this.client.signer.remoteSigner) {
|
|
148
148
|
// Channel auth not supported for remote signer, use a self-signed no-auth token instead
|
|
149
149
|
noAuth = true;
|
|
150
150
|
channelAuth = false;
|
|
@@ -204,7 +204,7 @@ class AuthorizationClient {
|
|
|
204
204
|
addr: Utils.FormatAddress(((this.client.signer && this.client.signer.address) || ""))
|
|
205
205
|
};
|
|
206
206
|
|
|
207
|
-
if(!(this.noAuth || noAuth)) {
|
|
207
|
+
if(!(this.noAuth || noAuth) && !this.client.signer.remoteSigner) {
|
|
208
208
|
const { transactionHash } = await this.MakeAccessRequest({
|
|
209
209
|
libraryId,
|
|
210
210
|
objectId,
|