@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.js CHANGED
@@ -105004,9 +105004,12 @@ var UserClient = class {
105004
105004
  let lastError = null;
105005
105005
  for (const body of candidates) {
105006
105006
  try {
105007
- const res = await this.postAuthed(
105007
+ const res = await this.client.post(
105008
105008
  "/v1/users/register-token",
105009
- body
105009
+ body,
105010
+ {
105011
+ needsAccessToken: true
105012
+ }
105010
105013
  );
105011
105014
  const coin = res?.coin ?? res?.data ?? res;
105012
105015
  if (coin?.contractAddress) {