@weblock-wallet/sdk 0.1.53 → 0.1.55

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
@@ -105018,7 +105018,12 @@ var UserClient = class {
105018
105018
  try {
105019
105019
  const res = await this.client.post(
105020
105020
  `${this.baseUrl}/register-token`,
105021
- body
105021
+ body,
105022
+ {
105023
+ // register-token 은 사용자 컨텍스트가 필요한 엔드포인트이므로
105024
+ // 반드시 Authorization: Bearer <JWT> 가 포함되어야 한다.
105025
+ needsAccessToken: true
105026
+ }
105022
105027
  );
105023
105028
  const coin = this.unwrapCoin(res);
105024
105029
  if (!coin?.contractAddress) {