@fun-xyz/fiat-contract 0.53.0 → 0.54.0

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.
@@ -1,5 +1,5 @@
1
1
  // package.json
2
- var version = "0.53.0";
2
+ var version = "0.54.0";
3
3
 
4
4
  // src/table.ts
5
5
  var TABLE_VERSION = version;
package/dist/index.js CHANGED
@@ -1491,7 +1491,7 @@ var $stepResponse = import_zod.z.union([$providerBoundStepResponse, $funAuthStep
1491
1491
  var FiatStepResponseSchema = $stepResponse;
1492
1492
 
1493
1493
  // package.json
1494
- var version = "0.53.0";
1494
+ var version = "0.54.0";
1495
1495
 
1496
1496
  // src/table.ts
1497
1497
  var TABLE_VERSION = version;
@@ -4134,7 +4134,7 @@ var StripeDoneSchema = done;
4134
4134
  var refused = import_zod4.z.union([
4135
4135
  obj4({
4136
4136
  next: import_zod4.z.literal("refused"),
4137
- reason: import_zod4.z.enum(["NOT_ELIGIBLE", "KYC_REJECTED", "FINAL_REJECTION", "TOTAL_MISMATCH"]),
4137
+ reason: import_zod4.z.enum(["NOT_ELIGIBLE", "KYC_REJECTED", "FINAL_REJECTION", "TOTAL_MISMATCH", "REGION_MISMATCH"]),
4138
4138
  recovery: import_zod4.z.enum(["REQUOTE", "NONE"])
4139
4139
  }),
4140
4140
  obj4({
package/dist/index.mjs CHANGED
@@ -16,7 +16,7 @@ import {
16
16
  tableEntry,
17
17
  unofferedEndpoints,
18
18
  unreachableStates
19
- } from "./chunk-QXPR2MW6.mjs";
19
+ } from "./chunk-J5NHRKOG.mjs";
20
20
  import {
21
21
  MOONPAY_ENDPOINTS
22
22
  } from "./chunk-TIEGTTFY.mjs";
@@ -3204,7 +3204,7 @@ var StripeDoneSchema = done;
3204
3204
  var refused = z4.union([
3205
3205
  obj4({
3206
3206
  next: z4.literal("refused"),
3207
- reason: z4.enum(["NOT_ELIGIBLE", "KYC_REJECTED", "FINAL_REJECTION", "TOTAL_MISMATCH"]),
3207
+ reason: z4.enum(["NOT_ELIGIBLE", "KYC_REJECTED", "FINAL_REJECTION", "TOTAL_MISMATCH", "REGION_MISMATCH"]),
3208
3208
  recovery: z4.enum(["REQUOTE", "NONE"])
3209
3209
  }),
3210
3210
  obj4({
@@ -263,8 +263,11 @@ export type StripeDone = {
263
263
  /**
264
264
  * Read `recovery`, never derive it from the reason. `REQUOTE` goes back to routing; `NONE` ends the flow.
265
265
  * `LIMITS_EXCEEDED` carries the cap that refused as `maxAmount` when that cap is an amount.
266
+ * `REGION_MISMATCH`: Stripe holds the buyer's residence in a region that does not sell the checkout's
267
+ * currency, such as a US address on an EUR purchase. The address usually came from the buyer's Apple Pay
268
+ * card, so the client can say why before it moves on.
266
269
  */
267
- export type StripeStepRefusal = 'NOT_ELIGIBLE' | 'KYC_REJECTED' | 'FINAL_REJECTION' | 'TOTAL_MISMATCH';
270
+ export type StripeStepRefusal = 'NOT_ELIGIBLE' | 'KYC_REJECTED' | 'FINAL_REJECTION' | 'TOTAL_MISMATCH' | 'REGION_MISMATCH';
268
271
  export type StripeRefused = {
269
272
  next: 'refused';
270
273
  reason: StripeStepRefusal;
package/dist/table.js CHANGED
@@ -37,7 +37,7 @@ __export(table_exports, {
37
37
  module.exports = __toCommonJS(table_exports);
38
38
 
39
39
  // package.json
40
- var version = "0.53.0";
40
+ var version = "0.54.0";
41
41
 
42
42
  // src/table.ts
43
43
  var TABLE_VERSION = version;
package/dist/table.mjs CHANGED
@@ -12,7 +12,7 @@ import {
12
12
  tableEntry,
13
13
  unofferedEndpoints,
14
14
  unreachableStates
15
- } from "./chunk-QXPR2MW6.mjs";
15
+ } from "./chunk-J5NHRKOG.mjs";
16
16
  export {
17
17
  DOCUMENTED_ENDPOINTS,
18
18
  FUN_AUTH_ERROR_CODES,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fun-xyz/fiat-contract",
3
- "version": "0.53.0",
3
+ "version": "0.54.0",
4
4
  "description": "Published conformance contract for Fun's headless fiat onramp: FlowState/Transition types, zod schemas, the transition table as data, recorded fixtures, assertion helpers.",
5
5
  "license": "MIT",
6
6
  "repository": {