@fun-xyz/fiat-contract 0.61.0 → 0.62.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
|
@@ -226,6 +226,8 @@ __export(index_exports, {
|
|
|
226
226
|
SelectOptionSchema: () => SelectOptionSchema,
|
|
227
227
|
SessionAuthStateSchema: () => SessionAuthStateSchema,
|
|
228
228
|
StatusHistoryEntrySchema: () => StatusHistoryEntrySchema,
|
|
229
|
+
StripeAccountEmailNextActionSchema: () => StripeAccountEmailNextActionSchema,
|
|
230
|
+
StripeAccountEmailRequestSchema: () => StripeAccountEmailRequestSchema,
|
|
229
231
|
StripeAttestationNextActionSchema: () => StripeAttestationNextActionSchema,
|
|
230
232
|
StripeAuthorizeNextActionSchema: () => StripeAuthorizeNextActionSchema,
|
|
231
233
|
StripeAuthorizeRequestSchema: () => StripeAuthorizeRequestSchema,
|
|
@@ -1518,7 +1520,7 @@ var $stepResponse = import_zod.z.union([$providerBoundStepResponse, $funAuthStep
|
|
|
1518
1520
|
var FiatStepResponseSchema = $stepResponse;
|
|
1519
1521
|
|
|
1520
1522
|
// package.json
|
|
1521
|
-
var version = "0.
|
|
1523
|
+
var version = "0.62.0";
|
|
1522
1524
|
|
|
1523
1525
|
// src/table.ts
|
|
1524
1526
|
var TABLE_VERSION = version;
|
|
@@ -3988,6 +3990,7 @@ var consentFields2 = {
|
|
|
3988
3990
|
...heldOrder
|
|
3989
3991
|
};
|
|
3990
3992
|
var sessionFields = { action: import_zod4.z.literal("session"), ...heldOrder };
|
|
3993
|
+
var accountEmailFields = { action: import_zod4.z.literal("accountEmail"), email: nonEmpty.pipe(import_zod4.z.string().max(254)), ...heldOrder };
|
|
3991
3994
|
var authorizeConsentedFields = {
|
|
3992
3995
|
action: import_zod4.z.literal("authorize"),
|
|
3993
3996
|
linkAuthIntentId: nonEmpty,
|
|
@@ -4004,6 +4007,7 @@ var orderFields2 = { action: import_zod4.z.literal("order"), orderId: mintedOrde
|
|
|
4004
4007
|
var observeRequest = obj4({ ...contextFields2, ...observeFields2 });
|
|
4005
4008
|
var consentRequest = obj4({ ...contextFields2, ...consentFields2 });
|
|
4006
4009
|
var sessionRequest = obj4({ ...contextFields2, ...sessionFields });
|
|
4010
|
+
var accountEmailRequest = obj4({ ...contextFields2, ...accountEmailFields });
|
|
4007
4011
|
var authorizeRequest = import_zod4.z.union([obj4({ ...contextFields2, ...authorizeConsentedFields }), obj4({ ...contextFields2, ...authorizeDeclinedFields })]);
|
|
4008
4012
|
var kycRequest = obj4({ ...contextFields2, ...kycFields2 });
|
|
4009
4013
|
var placeOrderRequest = obj4({ ...contextFields2, ...placeOrderFields2 });
|
|
@@ -4012,18 +4016,20 @@ var orderRequest = obj4({ ...contextFields2, ...orderFields2 });
|
|
|
4012
4016
|
var StripeObserveRequestSchema = observeRequest;
|
|
4013
4017
|
var StripeConsentRequestSchema = consentRequest;
|
|
4014
4018
|
var StripeSessionRequestSchema = sessionRequest;
|
|
4019
|
+
var StripeAccountEmailRequestSchema = accountEmailRequest;
|
|
4015
4020
|
var StripeAuthorizeRequestSchema = authorizeRequest;
|
|
4016
4021
|
var StripeKycRequestSchema = kycRequest;
|
|
4017
4022
|
var StripePlaceOrderRequestSchema = placeOrderRequest;
|
|
4018
4023
|
var StripeCheckoutRequestSchema = checkoutRequest;
|
|
4019
4024
|
var StripeOrderRequestSchema = orderRequest;
|
|
4020
|
-
var request = import_zod4.z.union([observeRequest, consentRequest, sessionRequest, authorizeRequest, kycRequest, placeOrderRequest, checkoutRequest, orderRequest]);
|
|
4025
|
+
var request = import_zod4.z.union([observeRequest, consentRequest, sessionRequest, accountEmailRequest, authorizeRequest, kycRequest, placeOrderRequest, checkoutRequest, orderRequest]);
|
|
4021
4026
|
var StripeRequestSchema = request;
|
|
4022
4027
|
var envelope2 = { provider: import_zod4.z.literal("STRIPE"), geo: FiatGeoSchema, ...contextFields2 };
|
|
4023
4028
|
var nextRequest = import_zod4.z.union([
|
|
4024
4029
|
obj4({ ...envelope2, ...observeFields2 }),
|
|
4025
4030
|
obj4({ ...envelope2, ...consentFields2 }),
|
|
4026
4031
|
obj4({ ...envelope2, ...sessionFields }),
|
|
4032
|
+
obj4({ ...envelope2, ...accountEmailFields }),
|
|
4027
4033
|
obj4({ ...envelope2, ...authorizeConsentedFields }),
|
|
4028
4034
|
obj4({ ...envelope2, ...authorizeDeclinedFields }),
|
|
4029
4035
|
obj4({ ...envelope2, ...kycFields2 }),
|
|
@@ -4053,6 +4059,11 @@ var reask = obj4({
|
|
|
4053
4059
|
var StripeReaskSchema = reask;
|
|
4054
4060
|
var consentShape = obj4({ next: import_zod4.z.literal("consent"), documents: import_zod4.z.array(TermsDocumentSchema).min(1) });
|
|
4055
4061
|
var sessionNextAction = obj4({ next: import_zod4.z.literal("session") });
|
|
4062
|
+
var accountEmailNextAction = obj4({
|
|
4063
|
+
next: import_zod4.z.literal("accountEmail"),
|
|
4064
|
+
field: obj4({ type: import_zod4.z.literal("TEXT"), regex: nonEmpty, maxLength: import_zod4.z.number().int().positive(), labelFallback: nonEmpty }),
|
|
4065
|
+
error: nonEmpty.nullable()
|
|
4066
|
+
});
|
|
4056
4067
|
var authorizeNextAction = obj4({ next: import_zod4.z.literal("authorize"), linkAuthIntentId: nonEmpty, expiresAt: instant });
|
|
4057
4068
|
var kycShape = obj4({
|
|
4058
4069
|
next: import_zod4.z.literal("kyc"),
|
|
@@ -4130,6 +4141,7 @@ var checkPlaceOrder = (nextAction, context2) => {
|
|
|
4130
4141
|
};
|
|
4131
4142
|
var StripeConsentNextActionSchema = consentShape.superRefine(checkConsent3);
|
|
4132
4143
|
var StripeSessionNextActionSchema = sessionNextAction;
|
|
4144
|
+
var StripeAccountEmailNextActionSchema = accountEmailNextAction;
|
|
4133
4145
|
var StripeAuthorizeNextActionSchema = authorizeNextAction;
|
|
4134
4146
|
var StripeKycNextActionSchema = kycShape.superRefine(checkKyc3);
|
|
4135
4147
|
var StripeIdentifiersNextActionSchema = identifiersNextAction;
|
|
@@ -4149,6 +4161,7 @@ var checkNextAction3 = (response, context2) => {
|
|
|
4149
4161
|
var nextActionOptions = [
|
|
4150
4162
|
consentShape,
|
|
4151
4163
|
sessionNextAction,
|
|
4164
|
+
accountEmailNextAction,
|
|
4152
4165
|
authorizeNextAction,
|
|
4153
4166
|
kycShape,
|
|
4154
4167
|
identifiersNextAction,
|
|
@@ -4193,6 +4206,7 @@ var StripeResponseSchemaFor = {
|
|
|
4193
4206
|
observe: StripeStepResponseSchema,
|
|
4194
4207
|
consent: StripeStepResponseSchema,
|
|
4195
4208
|
session: StripeStepResponseSchema,
|
|
4209
|
+
accountEmail: StripeStepResponseSchema,
|
|
4196
4210
|
authorize: StripeStepResponseSchema,
|
|
4197
4211
|
kyc: StripeStepResponseSchema,
|
|
4198
4212
|
placeOrder: StripeStepResponseSchema,
|
package/dist/index.mjs
CHANGED
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
tableEntry,
|
|
24
24
|
unofferedEndpoints,
|
|
25
25
|
unreachableStates
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-5RXN5OY3.mjs";
|
|
27
27
|
import {
|
|
28
28
|
MOONPAY_ENDPOINTS
|
|
29
29
|
} from "./chunk-TIEGTTFY.mjs";
|
|
@@ -3037,6 +3037,7 @@ var consentFields2 = {
|
|
|
3037
3037
|
...heldOrder
|
|
3038
3038
|
};
|
|
3039
3039
|
var sessionFields = { action: z4.literal("session"), ...heldOrder };
|
|
3040
|
+
var accountEmailFields = { action: z4.literal("accountEmail"), email: nonEmpty.pipe(z4.string().max(254)), ...heldOrder };
|
|
3040
3041
|
var authorizeConsentedFields = {
|
|
3041
3042
|
action: z4.literal("authorize"),
|
|
3042
3043
|
linkAuthIntentId: nonEmpty,
|
|
@@ -3053,6 +3054,7 @@ var orderFields2 = { action: z4.literal("order"), orderId: mintedOrderId };
|
|
|
3053
3054
|
var observeRequest = obj4({ ...contextFields2, ...observeFields2 });
|
|
3054
3055
|
var consentRequest = obj4({ ...contextFields2, ...consentFields2 });
|
|
3055
3056
|
var sessionRequest = obj4({ ...contextFields2, ...sessionFields });
|
|
3057
|
+
var accountEmailRequest = obj4({ ...contextFields2, ...accountEmailFields });
|
|
3056
3058
|
var authorizeRequest = z4.union([obj4({ ...contextFields2, ...authorizeConsentedFields }), obj4({ ...contextFields2, ...authorizeDeclinedFields })]);
|
|
3057
3059
|
var kycRequest = obj4({ ...contextFields2, ...kycFields2 });
|
|
3058
3060
|
var placeOrderRequest = obj4({ ...contextFields2, ...placeOrderFields2 });
|
|
@@ -3061,18 +3063,20 @@ var orderRequest = obj4({ ...contextFields2, ...orderFields2 });
|
|
|
3061
3063
|
var StripeObserveRequestSchema = observeRequest;
|
|
3062
3064
|
var StripeConsentRequestSchema = consentRequest;
|
|
3063
3065
|
var StripeSessionRequestSchema = sessionRequest;
|
|
3066
|
+
var StripeAccountEmailRequestSchema = accountEmailRequest;
|
|
3064
3067
|
var StripeAuthorizeRequestSchema = authorizeRequest;
|
|
3065
3068
|
var StripeKycRequestSchema = kycRequest;
|
|
3066
3069
|
var StripePlaceOrderRequestSchema = placeOrderRequest;
|
|
3067
3070
|
var StripeCheckoutRequestSchema = checkoutRequest;
|
|
3068
3071
|
var StripeOrderRequestSchema = orderRequest;
|
|
3069
|
-
var request = z4.union([observeRequest, consentRequest, sessionRequest, authorizeRequest, kycRequest, placeOrderRequest, checkoutRequest, orderRequest]);
|
|
3072
|
+
var request = z4.union([observeRequest, consentRequest, sessionRequest, accountEmailRequest, authorizeRequest, kycRequest, placeOrderRequest, checkoutRequest, orderRequest]);
|
|
3070
3073
|
var StripeRequestSchema = request;
|
|
3071
3074
|
var envelope2 = { provider: z4.literal("STRIPE"), geo: FiatGeoSchema, ...contextFields2 };
|
|
3072
3075
|
var nextRequest = z4.union([
|
|
3073
3076
|
obj4({ ...envelope2, ...observeFields2 }),
|
|
3074
3077
|
obj4({ ...envelope2, ...consentFields2 }),
|
|
3075
3078
|
obj4({ ...envelope2, ...sessionFields }),
|
|
3079
|
+
obj4({ ...envelope2, ...accountEmailFields }),
|
|
3076
3080
|
obj4({ ...envelope2, ...authorizeConsentedFields }),
|
|
3077
3081
|
obj4({ ...envelope2, ...authorizeDeclinedFields }),
|
|
3078
3082
|
obj4({ ...envelope2, ...kycFields2 }),
|
|
@@ -3102,6 +3106,11 @@ var reask = obj4({
|
|
|
3102
3106
|
var StripeReaskSchema = reask;
|
|
3103
3107
|
var consentShape = obj4({ next: z4.literal("consent"), documents: z4.array(TermsDocumentSchema).min(1) });
|
|
3104
3108
|
var sessionNextAction = obj4({ next: z4.literal("session") });
|
|
3109
|
+
var accountEmailNextAction = obj4({
|
|
3110
|
+
next: z4.literal("accountEmail"),
|
|
3111
|
+
field: obj4({ type: z4.literal("TEXT"), regex: nonEmpty, maxLength: z4.number().int().positive(), labelFallback: nonEmpty }),
|
|
3112
|
+
error: nonEmpty.nullable()
|
|
3113
|
+
});
|
|
3105
3114
|
var authorizeNextAction = obj4({ next: z4.literal("authorize"), linkAuthIntentId: nonEmpty, expiresAt: instant });
|
|
3106
3115
|
var kycShape = obj4({
|
|
3107
3116
|
next: z4.literal("kyc"),
|
|
@@ -3179,6 +3188,7 @@ var checkPlaceOrder = (nextAction, context2) => {
|
|
|
3179
3188
|
};
|
|
3180
3189
|
var StripeConsentNextActionSchema = consentShape.superRefine(checkConsent3);
|
|
3181
3190
|
var StripeSessionNextActionSchema = sessionNextAction;
|
|
3191
|
+
var StripeAccountEmailNextActionSchema = accountEmailNextAction;
|
|
3182
3192
|
var StripeAuthorizeNextActionSchema = authorizeNextAction;
|
|
3183
3193
|
var StripeKycNextActionSchema = kycShape.superRefine(checkKyc3);
|
|
3184
3194
|
var StripeIdentifiersNextActionSchema = identifiersNextAction;
|
|
@@ -3198,6 +3208,7 @@ var checkNextAction3 = (response, context2) => {
|
|
|
3198
3208
|
var nextActionOptions = [
|
|
3199
3209
|
consentShape,
|
|
3200
3210
|
sessionNextAction,
|
|
3211
|
+
accountEmailNextAction,
|
|
3201
3212
|
authorizeNextAction,
|
|
3202
3213
|
kycShape,
|
|
3203
3214
|
identifiersNextAction,
|
|
@@ -3242,6 +3253,7 @@ var StripeResponseSchemaFor = {
|
|
|
3242
3253
|
observe: StripeStepResponseSchema,
|
|
3243
3254
|
consent: StripeStepResponseSchema,
|
|
3244
3255
|
session: StripeStepResponseSchema,
|
|
3256
|
+
accountEmail: StripeStepResponseSchema,
|
|
3245
3257
|
authorize: StripeStepResponseSchema,
|
|
3246
3258
|
kyc: StripeStepResponseSchema,
|
|
3247
3259
|
placeOrder: StripeStepResponseSchema,
|
|
@@ -3647,6 +3659,8 @@ export {
|
|
|
3647
3659
|
SelectOptionSchema,
|
|
3648
3660
|
SessionAuthStateSchema,
|
|
3649
3661
|
StatusHistoryEntrySchema,
|
|
3662
|
+
StripeAccountEmailNextActionSchema,
|
|
3663
|
+
StripeAccountEmailRequestSchema,
|
|
3650
3664
|
StripeAttestationNextActionSchema,
|
|
3651
3665
|
StripeAuthorizeNextActionSchema,
|
|
3652
3666
|
StripeAuthorizeRequestSchema,
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* A response names the next action in `next`; the client's request names it in `action`. `observe` answers the
|
|
5
5
|
* current next action. `wait`, `identifiers`, `attestation` and `verifyIdentity` have no request: send `observe` after
|
|
6
6
|
* them. `orderPending` is answered by `order`. Identity, the verified email and the deposit wallet come from the
|
|
7
|
-
* verified partner assertion, never from a request body.
|
|
7
|
+
* verified partner assertion, never from a request body. Only `accountEmail` carries an email the buyer typed.
|
|
8
8
|
*
|
|
9
9
|
* A retry sends the same request and gets the current response. A fault is a 4xx/5xx whose body is
|
|
10
10
|
* `StripeErrorBody`; anything the buyer can act on is a 200.
|
|
@@ -71,6 +71,34 @@ export type StripeSessionNextAction = {
|
|
|
71
71
|
export type StripeSessionRequest = {
|
|
72
72
|
action: 'session';
|
|
73
73
|
} & StripeHeldOrder;
|
|
74
|
+
/** The email input an `accountEmail` next action shows. Check the typed email with `regex` and `maxLength` before you send it. */
|
|
75
|
+
export type StripeAccountEmailField = {
|
|
76
|
+
type: 'TEXT';
|
|
77
|
+
regex: string;
|
|
78
|
+
maxLength: number;
|
|
79
|
+
labelFallback: string;
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* The assertion's verified email cannot open or register a Link account for this buyer, such as an Apple private
|
|
83
|
+
* relay address. Ask the buyer for the email their Link account is under with `field`, then send `accountEmail`. The
|
|
84
|
+
* `session` after it signs in under that email, and an `ACCOUNT` round's `verifiedEmail` is that email. `error` is why
|
|
85
|
+
* the backend did not accept the last email, or `null` on a first ask. The backend sends this next action only to a
|
|
86
|
+
* client that declares the `account_email` client capability.
|
|
87
|
+
*/
|
|
88
|
+
export type StripeAccountEmailNextAction = {
|
|
89
|
+
next: 'accountEmail';
|
|
90
|
+
field: StripeAccountEmailField;
|
|
91
|
+
error: string | null;
|
|
92
|
+
};
|
|
93
|
+
/**
|
|
94
|
+
* The email the buyer typed. The backend holds it for this login. An email it does not accept answers `accountEmail`
|
|
95
|
+
* with `error`. Sent when no `accountEmail` is asked, it writes nothing and answers the current next action. Too many
|
|
96
|
+
* different emails for one buyer is a `RATE_LIMITED` fault.
|
|
97
|
+
*/
|
|
98
|
+
export type StripeAccountEmailRequest = {
|
|
99
|
+
action: 'accountEmail';
|
|
100
|
+
email: string;
|
|
101
|
+
} & StripeHeldOrder;
|
|
74
102
|
/** Run the SDK's `authorize(linkAuthIntentId)` before `expiresAt` (ISO-8601), then send `authorize` with its outcome. */
|
|
75
103
|
export type StripeAuthorizeNextAction = {
|
|
76
104
|
next: 'authorize';
|
|
@@ -253,7 +281,7 @@ export type StripeOrderPendingNextAction = {
|
|
|
253
281
|
poll?: OrderPoll;
|
|
254
282
|
order: FiatStepResponse | null;
|
|
255
283
|
};
|
|
256
|
-
export type StripeRequest = StripeRequestContext & (StripeObserveRequest | StripeConsentRequest | StripeSessionRequest | StripeAuthorizeRequest | StripeKycRequest | StripePlaceOrderRequest | StripeCheckoutRequest | StripeOrderRequest);
|
|
284
|
+
export type StripeRequest = StripeRequestContext & (StripeObserveRequest | StripeConsentRequest | StripeSessionRequest | StripeAccountEmailRequest | StripeAuthorizeRequest | StripeKycRequest | StripePlaceOrderRequest | StripeCheckoutRequest | StripeOrderRequest);
|
|
257
285
|
/**
|
|
258
286
|
* Every `action` a Stripe request names. `wait`, `identifiers`, `attestation` and `verifyIdentity` are next actions the
|
|
259
287
|
* client answers with `observe`.
|
|
@@ -265,7 +293,7 @@ export type StripeNextRequest = {
|
|
|
265
293
|
geo: FiatGeo;
|
|
266
294
|
} & StripeRequest;
|
|
267
295
|
/** Every next action but `checkoutSecret`, which only `checkout` answers. */
|
|
268
|
-
export type StripeNextAction = StripeConsentNextAction | StripeSessionNextAction | StripeAuthorizeNextAction | StripeKycNextAction | StripeIdentifiersNextAction | StripeAttestationNextAction | StripeVerifyIdentityNextAction | StripeWaitNextAction | StripePlaceOrderNextAction | StripePayNextAction | StripeOrderPendingNextAction;
|
|
296
|
+
export type StripeNextAction = StripeConsentNextAction | StripeSessionNextAction | StripeAccountEmailNextAction | StripeAuthorizeNextAction | StripeKycNextAction | StripeIdentifiersNextAction | StripeAttestationNextAction | StripeVerifyIdentityNextAction | StripeWaitNextAction | StripePlaceOrderNextAction | StripePayNextAction | StripeOrderPendingNextAction;
|
|
269
297
|
/** The order is terminal. `order` is its body, which the shared order screen renders. */
|
|
270
298
|
export type StripeDone = {
|
|
271
299
|
next: 'done';
|
|
@@ -307,6 +335,7 @@ export type StripeResponseFor = {
|
|
|
307
335
|
observe: StripeStepResponse;
|
|
308
336
|
consent: StripeStepResponse;
|
|
309
337
|
session: StripeStepResponse;
|
|
338
|
+
accountEmail: StripeStepResponse;
|
|
310
339
|
authorize: StripeStepResponse;
|
|
311
340
|
kyc: StripeStepResponse;
|
|
312
341
|
placeOrder: StripeStepResponse;
|
|
@@ -3,12 +3,13 @@
|
|
|
3
3
|
* exported from the package root, never from `./stripe`, so the production entry stays free of zod.
|
|
4
4
|
*/
|
|
5
5
|
import { z } from 'zod';
|
|
6
|
-
import type { StripeAttestationNextAction, StripeAuthorizeNextAction, StripeAuthorizeRequest, StripeCheckout, StripeCheckoutRequest, StripeCheckoutResponse, StripeCheckoutSecretNextAction, StripeConsentNextAction, StripeConsentRequest, StripeDone, StripeErrorBody, StripeFault, StripeIdentifiersNextAction, StripeKycNextAction, StripeKycRequest, StripeLinkAuthToken, StripeNextAction, StripeNextRequest, StripeObserveRequest, StripeOrderPendingNextAction, StripeOrderRequest, StripeOrderResponse, StripePayNextAction, StripePaySheet, StripePlaceOrderNextAction, StripePlaceOrderRequest, StripePrice, StripeReask, StripeIdentityReask, StripeRefused, StripeRequest, StripeRequestContext, StripeResponseFor, StripeSessionNextAction, StripeSessionRequest, StripeStepResponse, StripeVerifyIdentityNextAction, StripeWaitNextAction } from './stripe';
|
|
6
|
+
import type { StripeAccountEmailNextAction, StripeAccountEmailRequest, StripeAttestationNextAction, StripeAuthorizeNextAction, StripeAuthorizeRequest, StripeCheckout, StripeCheckoutRequest, StripeCheckoutResponse, StripeCheckoutSecretNextAction, StripeConsentNextAction, StripeConsentRequest, StripeDone, StripeErrorBody, StripeFault, StripeIdentifiersNextAction, StripeKycNextAction, StripeKycRequest, StripeLinkAuthToken, StripeNextAction, StripeNextRequest, StripeObserveRequest, StripeOrderPendingNextAction, StripeOrderRequest, StripeOrderResponse, StripePayNextAction, StripePaySheet, StripePlaceOrderNextAction, StripePlaceOrderRequest, StripePrice, StripeReask, StripeIdentityReask, StripeRefused, StripeRequest, StripeRequestContext, StripeResponseFor, StripeSessionNextAction, StripeSessionRequest, StripeStepResponse, StripeVerifyIdentityNextAction, StripeWaitNextAction } from './stripe';
|
|
7
7
|
export declare const StripeCheckoutSchema: z.ZodType<StripeCheckout>;
|
|
8
8
|
export declare const StripeRequestContextSchema: z.ZodType<StripeRequestContext>;
|
|
9
9
|
export declare const StripeObserveRequestSchema: z.ZodType<StripeRequestContext & StripeObserveRequest>;
|
|
10
10
|
export declare const StripeConsentRequestSchema: z.ZodType<StripeRequestContext & StripeConsentRequest>;
|
|
11
11
|
export declare const StripeSessionRequestSchema: z.ZodType<StripeRequestContext & StripeSessionRequest>;
|
|
12
|
+
export declare const StripeAccountEmailRequestSchema: z.ZodType<StripeRequestContext & StripeAccountEmailRequest>;
|
|
12
13
|
export declare const StripeAuthorizeRequestSchema: z.ZodType<StripeRequestContext & StripeAuthorizeRequest>;
|
|
13
14
|
export declare const StripeKycRequestSchema: z.ZodType<StripeRequestContext & StripeKycRequest>;
|
|
14
15
|
export declare const StripePlaceOrderRequestSchema: z.ZodType<StripeRequestContext & StripePlaceOrderRequest>;
|
|
@@ -23,6 +24,7 @@ export declare const StripeReaskSchema: z.ZodType<StripeReask>;
|
|
|
23
24
|
export declare const StripeIdentityReaskSchema: z.ZodType<StripeIdentityReask>;
|
|
24
25
|
export declare const StripeConsentNextActionSchema: z.ZodType<StripeConsentNextAction>;
|
|
25
26
|
export declare const StripeSessionNextActionSchema: z.ZodType<StripeSessionNextAction>;
|
|
27
|
+
export declare const StripeAccountEmailNextActionSchema: z.ZodType<StripeAccountEmailNextAction>;
|
|
26
28
|
export declare const StripeAuthorizeNextActionSchema: z.ZodType<StripeAuthorizeNextAction>;
|
|
27
29
|
export declare const StripeKycNextActionSchema: z.ZodType<StripeKycNextAction>;
|
|
28
30
|
export declare const StripeIdentifiersNextActionSchema: z.ZodType<StripeIdentifiersNextAction>;
|
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.62.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": {
|
|
@@ -108,9 +108,12 @@
|
|
|
108
108
|
"@types/node": "^20.19.0",
|
|
109
109
|
"esbuild": "^0.25.0",
|
|
110
110
|
"typescript": "^5.9.3",
|
|
111
|
-
"vitest": "^3.2.
|
|
111
|
+
"vitest": "^3.2.7",
|
|
112
112
|
"zod": "^4.4.3"
|
|
113
113
|
},
|
|
114
|
+
"overrides": {
|
|
115
|
+
"tinypool": "^2.2.0"
|
|
116
|
+
},
|
|
114
117
|
"module": "./dist/index.mjs",
|
|
115
118
|
"sideEffects": false,
|
|
116
119
|
"typesVersions": {
|