sinfactura-types 1.6.81 → 1.6.83

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/auth.d.ts CHANGED
@@ -8,6 +8,10 @@ declare global {
8
8
  /** reCAPTCHA v3 token — required by the BE only after a
9
9
  * `CAPTCHA_REQUIRED` login rejection (api#1505); otherwise omit. */
10
10
  captchaToken?: string;
11
+ /** Firebase App Check token — the mobile (body-transport) step-up,
12
+ * required by the BE only after an `ATTESTATION_REQUIRED` login
13
+ * rejection (api#1855); the native equivalent of `captchaToken`. */
14
+ appCheckToken?: string;
11
15
  }
12
16
  interface Social {
13
17
  /** REQUIRED on the wire (the BE rejects an empty/missing token) —
@@ -27,7 +31,7 @@ declare global {
27
31
  interface Recover {
28
32
  email: string;
29
33
  }
30
- type LoginErrorCode = 'WRONG_CREDENTIALS' | 'ACCOUNT_LOCKED' | 'ACCOUNT_DISABLED' | 'CAPTCHA_REQUIRED' | 'CAPTCHA_INVALID';
34
+ type LoginErrorCode = 'WRONG_CREDENTIALS' | 'ACCOUNT_LOCKED' | 'ACCOUNT_DISABLED' | 'CAPTCHA_REQUIRED' | 'CAPTCHA_INVALID' | 'ATTESTATION_REQUIRED' | 'ATTESTATION_INVALID';
31
35
  interface AccountLockedResponse {
32
36
  error: 'ACCOUNT_LOCKED';
33
37
  retryAfterSeconds: number;
package/dist/basket.d.ts CHANGED
@@ -33,5 +33,9 @@ declare global {
33
33
  promoApplied?: boolean;
34
34
  basePrice?: number;
35
35
  }
36
+ interface BasketMergeMeta {
37
+ droppedSkus: string[];
38
+ mergedCount: number;
39
+ }
36
40
  }
37
41
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sinfactura-types",
3
- "version": "1.6.81",
3
+ "version": "1.6.83",
4
4
  "main": "dist/index.js",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",