@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.
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.
|
|
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-
|
|
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
package/dist/table.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fun-xyz/fiat-contract",
|
|
3
|
-
"version": "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": {
|