@eluvio/elv-client-js 4.0.39 → 4.0.40
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.json
CHANGED
|
@@ -672,7 +672,7 @@ class ElvWalletClient {
|
|
|
672
672
|
return response;
|
|
673
673
|
}
|
|
674
674
|
|
|
675
|
-
async SetCodeAuth({code, address, authToken}) {
|
|
675
|
+
async SetCodeAuth({code, address, type, authToken}) {
|
|
676
676
|
await Utils.ResponseToJson(
|
|
677
677
|
this.client.authClient.MakeAuthServiceRequest({
|
|
678
678
|
path: UrlJoin("as", "wlt", "login", "session", code),
|
|
@@ -687,6 +687,7 @@ class ElvWalletClient {
|
|
|
687
687
|
payload: JSON.stringify({
|
|
688
688
|
addr: Utils.FormatAddress(address),
|
|
689
689
|
eth: address ? `ikms${Utils.AddressToHash(address)}` : "",
|
|
690
|
+
type,
|
|
690
691
|
token: authToken
|
|
691
692
|
})
|
|
692
693
|
}
|