@weblock-wallet/sdk 0.1.50 → 0.1.51
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/dist/index.cjs +5 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -105045,9 +105045,12 @@ var UserClient = class {
|
|
|
105045
105045
|
let lastError = null;
|
|
105046
105046
|
for (const body of candidates) {
|
|
105047
105047
|
try {
|
|
105048
|
-
const res = await this.
|
|
105048
|
+
const res = await this.client.post(
|
|
105049
105049
|
"/v1/users/register-token",
|
|
105050
|
-
body
|
|
105050
|
+
body,
|
|
105051
|
+
{
|
|
105052
|
+
needsAccessToken: true
|
|
105053
|
+
}
|
|
105051
105054
|
);
|
|
105052
105055
|
const coin = res?.coin ?? res?.data ?? res;
|
|
105053
105056
|
if (coin?.contractAddress) {
|