@crvouga/mockingbird-service-flex 3.7.0 → 3.7.1
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 +9 -1
- package/dist/{chunk-5EGCGPYQ.js → chunk-27FDBCTN.js} +3 -3
- 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.js +2 -2
- package/openapi.yaml +9 -3
- package/package.json +1 -1
- /package/dist/{chunk-5EGCGPYQ.js.map → chunk-27FDBCTN.js.map} +0 -0
package/dist/cli.js
CHANGED
package/dist/index.js
CHANGED
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.7.
|
|
3
|
+
"version": "3.7.1",
|
|
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",
|
|
File without changes
|