@crvouga/mockingbird-service-flex 3.7.0 → 3.8.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/CHANGELOG.md +15 -1
- package/dist/{chunk-5EGCGPYQ.js → chunk-52PUYMBF.js} +15 -6
- package/dist/chunk-52PUYMBF.js.map +7 -0
- package/dist/{chunk-IGAL67SI.js → chunk-M4IU3NAI.js} +17 -3
- package/dist/{chunk-IGAL67SI.js.map → chunk-M4IU3NAI.js.map} +2 -2
- package/dist/cli.js +2 -2
- package/dist/index.js +1 -1
- package/dist/server.d.ts +2 -0
- package/dist/server.js +2 -2
- package/openapi.yaml +9 -3
- package/package.json +1 -1
- package/dist/chunk-5EGCGPYQ.js.map +0 -7
package/dist/cli.js
CHANGED
package/dist/index.js
CHANGED
package/dist/server.d.ts
CHANGED
|
@@ -986,6 +986,8 @@ type ServeTarget = {
|
|
|
986
986
|
*/
|
|
987
987
|
parseSettings?(settings: Record<string, unknown>): Record<string, unknown>;
|
|
988
988
|
create(values: CliValues, common: CommonServeOptions): Promise<ServiceRuntime$1<ServiceInstance$1>> | ServiceRuntime$1<ServiceInstance$1>;
|
|
989
|
+
/** Largest request body the HTTP server accepts. Default 16 MiB. */
|
|
990
|
+
maxBodyBytes?: number;
|
|
989
991
|
/** Startup lines after the listen address, e.g. the loaded corpus version. */
|
|
990
992
|
banner?(runtime: ServiceRuntime$1<ServiceInstance$1>): string[];
|
|
991
993
|
/** After the HTTP server is bound. A service that speaks more than HTTP attaches it here. */
|
package/dist/server.js
CHANGED
package/openapi.yaml
CHANGED
|
@@ -575,6 +575,14 @@ components:
|
|
|
575
575
|
type: string
|
|
576
576
|
param:
|
|
577
577
|
type: string
|
|
578
|
+
CheckoutSessionMetadata:
|
|
579
|
+
type: object
|
|
580
|
+
description: >-
|
|
581
|
+
Flex sets no limit on the number of keys or the length of a key or value. It refuses the
|
|
582
|
+
whole object with a 422 when its compact JSON is more than 4096 bytes of UTF-8, measured
|
|
583
|
+
against test mode; the emulator enforces that limit in code.
|
|
584
|
+
additionalProperties:
|
|
585
|
+
type: string
|
|
578
586
|
StringMap:
|
|
579
587
|
type: object
|
|
580
588
|
maxProperties: 50
|
|
@@ -702,7 +710,6 @@ components:
|
|
|
702
710
|
quantity:
|
|
703
711
|
type: integer
|
|
704
712
|
minimum: 1
|
|
705
|
-
maximum: 100
|
|
706
713
|
Recurring:
|
|
707
714
|
type: object
|
|
708
715
|
description: >-
|
|
@@ -750,11 +757,10 @@ components:
|
|
|
750
757
|
maxLength: 255
|
|
751
758
|
line_items:
|
|
752
759
|
type: array
|
|
753
|
-
maxItems: 20
|
|
754
760
|
items:
|
|
755
761
|
$ref: "#/components/schemas/LineItem"
|
|
756
762
|
metadata:
|
|
757
|
-
$ref: "#/components/schemas/
|
|
763
|
+
$ref: "#/components/schemas/CheckoutSessionMetadata"
|
|
758
764
|
mode:
|
|
759
765
|
type: string
|
|
760
766
|
enum: [payment, subscription, off_session, setup]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crvouga/mockingbird-service-flex",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.8.0",
|
|
4
4
|
"description": "Stateful emulator of the Flex HSA/FSA payments API: products (recorded catalog corpus), checkout sessions in payment, subscription, off-session and setup modes, subscriptions, customers, setup intents, refunds, the hosted checkout page, and Svix-signed webhooks.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|