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