@takeal/cusfront-sdk 0.3.7 → 0.3.12

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/telegram.js CHANGED
@@ -379,8 +379,8 @@ var CardsResource = class {
379
379
  );
380
380
  }
381
381
  /**
382
- * Reveal the FULL PAN + CVV for the caller's own card. Re-auth gated
383
- * (password, + TOTP when the user has it enrolled) and rate-limited
382
+ * Reveal the FULL PAN + CVV for the caller's own card. The signed-in
383
+ * session is all the API asks for; the call is rate-limited and audited
384
384
  * server-side. The Takeal API never persists this data and marks the
385
385
  * response no-store; the SDK returns it verbatim and holds nothing.
386
386
  *
@@ -391,11 +391,8 @@ var CardsResource = class {
391
391
  * 401 bad re-auth · 403 not your card · 429 rate-limited · 501 connector
392
392
  * has no sensitive-data endpoint · 503 provider error.
393
393
  */
394
- async reveal(id, input) {
395
- return this.http.post(
396
- `/me/cards/${encodeURIComponent(id)}/reveal`,
397
- { body: { password: input.password, totp_code: input.totpCode } }
398
- );
394
+ async reveal(id, _input) {
395
+ return this.http.post(`/me/cards/${encodeURIComponent(id)}/reveal`);
399
396
  }
400
397
  /** Unfreeze a previously-frozen card. Idempotent on an already-active card. */
401
398
  async unfreeze(id) {
@@ -749,7 +746,7 @@ var DevicesResource = class {
749
746
  };
750
747
 
751
748
  // src/version.ts
752
- var SDK_VERSION = "0.3.7";
749
+ var SDK_VERSION = "0.3.12";
753
750
 
754
751
  // src/client-platform.ts
755
752
  var CLIENT_HEADER = "X-Takeal-Client";