@crvouga/mockingbird-service-stripe 0.8.0 → 1.0.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 CHANGED
@@ -1,6 +1,22 @@
1
1
  # Changelog — @crvouga/mockingbird-service-stripe
2
2
 
3
- ## 0.8.0 (2026-09-23)
3
+ ## 1.0.0 (2026-09-24)
4
+
5
+ ### ⚠️ Breaking changes
6
+
7
+ - vendor branding for every service; purge internal mocks and consumer names ([f689534](https://github.com/crvouga/mockingbird/commit/f6895343543550dafcb7d76b426cae7635e03226))
8
+
9
+ ### Dependencies
10
+
11
+ - `@crvouga/mockingbird-service-sqlite`
12
+
13
+ ## 0.9.0 (2026-09-23)
14
+
15
+ ### Features
16
+
17
+ - replace self-hosted Vault and Turborepo cache with GitHub ([963ecd8](https://github.com/crvouga/mockingbird/commit/963ecd862e50f2782acf16aaef0d25c518f87afc))
18
+
19
+ ## 0.8.0 (2026-09-22)
4
20
 
5
21
  ### Features
6
22
 
package/README.md CHANGED
@@ -236,7 +236,7 @@ only — never bodies, card numbers or emails.
236
236
 
237
237
  ### Corpus
238
238
 
239
- `GEVITI_CORPUS` is the recorded test-mode catalog our seeded fixtures point at (reference-data
239
+ `ACME_CORPUS` is the recorded test-mode catalog our seeded fixtures point at (reference-data
240
240
  products and prices, catalog plans, shop fixtures, QA snapshots such as `prod_SNj3rQYHrHNS0H` /
241
241
  `price_1StxtjGBBGmxLhdL8PzNSEgX`, and runbook coupons and promotion codes; 144 products, 172
242
242
  prices). Accounts with `corpus: true` answer those ids byte for byte; customers, intents and
@@ -261,7 +261,7 @@ recorded prices (listed in `synthesizedLookupKeys`). Pass your own with `createR
261
261
  | `STRIPE_API_VERSION` | The vendored latest version (`2026-08-26.dahlia`). |
262
262
  | `LEGACY_API_VERSION` | `"2024-06-20"`. |
263
263
  | `ACACIA_API_VERSION` | `"2025-02-24.acacia"`. |
264
- | `GEVITI_CORPUS` | The bundled recorded catalog. |
264
+ | `ACME_CORPUS` | The bundled recorded catalog. |
265
265
  | `TEST_TOKENS` | Every modelled `tok_…`. |
266
266
  | `TEST_PAYMENT_METHOD_IDS` | Every modelled magic `pm_card_…`. |
267
267
  | `TEST_CARD_NUMBERS` | Every modelled test card number. |
@@ -313,8 +313,8 @@ bun run client-parity # stripe-node smoke proof with webhook signature veri
313
313
  bun run vendor # re-vendor openapi.yaml from the pinned upstream spec
314
314
  ```
315
315
 
316
- Live parity loads `MOCKINGBIRD_STRIPE_SECRET_KEY` (a `sk_test_` key) from the environment or Vault
317
- (`secret/personal/prd`) and exits 2 without one. By default it walks only safe operations and
316
+ Live parity loads `MOCKINGBIRD_STRIPE_SECRET_KEY` (a `sk_test_` key) from the environment (`.env.local`,
317
+ or the repo secret via `bun run parity:remote -- stripe`) and exits 2 without one. By default it walks only safe operations and
318
318
  leaves out account-global ones (account profile, lifetime balance, lingering test clocks and
319
319
  webhook endpoints).
320
320
 
@@ -1538,7 +1538,7 @@ var restoreNamespace = (sqlite, namespace, snapshot) => {
1538
1538
  };
1539
1539
 
1540
1540
  // ../core/dist/version.js
1541
- var PACKAGE_VERSION = true ? "0.8.0" : UNRELEASED_VERSION;
1541
+ var PACKAGE_VERSION = true ? "1.0.0" : UNRELEASED_VERSION;
1542
1542
 
1543
1543
  // ../core/dist/signing.js
1544
1544
  var encoder = new TextEncoder();
@@ -9928,9 +9928,9 @@ var webhookEndpointHandlers = (services) => ({
9928
9928
  });
9929
9929
 
9930
9930
  // src/corpus-data.ts
9931
- var GEVITI_CORPUS = {
9932
- version: "geviti-2026-09-20",
9933
- source: "geviti-monorepo reference-data fixtures (bad5db760f4), shop catalog fixtures, QA snapshots and runbooks",
9931
+ var ACME_CORPUS = {
9932
+ version: "acme-2026-09-20",
9933
+ source: "the consumer app's reference-data fixtures, shop catalog fixtures, QA snapshots and runbooks",
9934
9934
  products: [
9935
9935
  {
9936
9936
  id: "prod_PBjBfgFMaKOdME",
@@ -9966,7 +9966,7 @@ var GEVITI_CORPUS = {
9966
9966
  },
9967
9967
  {
9968
9968
  id: "prod_QcDFyJ4xgxhdrq",
9969
- name: "Geviti Membership",
9969
+ name: "Acme Membership",
9970
9970
  active: true,
9971
9971
  description: null,
9972
9972
  metadata: {},
@@ -10038,7 +10038,7 @@ var GEVITI_CORPUS = {
10038
10038
  },
10039
10039
  {
10040
10040
  id: "prod_QmaONRQVKEvDGk",
10041
- name: "(Legacy) Geviti Membership.",
10041
+ name: "(Legacy) Acme Membership.",
10042
10042
  active: true,
10043
10043
  description: null,
10044
10044
  metadata: {},
@@ -10120,7 +10120,7 @@ var GEVITI_CORPUS = {
10120
10120
  forms: "yes",
10121
10121
  category: "TestKit",
10122
10122
  labTestId: "bb5efedc-8938-4873-a898-fe6761912bef",
10123
- learn_more_url: "https://geviti-app-assets.s3.us-west-1.amazonaws.com/testkit-learn-more-pdfs/GI%20Map%20PDF%20Overview.pdf",
10123
+ learn_more_url: "https://acme-app-assets.s3.us-west-1.amazonaws.com/testkit-learn-more-pdfs/GI%20Map%20PDF%20Overview.pdf",
10124
10124
  restricted_state: "NY,AZ",
10125
10125
  shop_paid_membership_tiers: "Plus"
10126
10126
  },
@@ -10135,7 +10135,7 @@ var GEVITI_CORPUS = {
10135
10135
  forms: "no",
10136
10136
  category: "TestKit",
10137
10137
  labTestId: "63fbf592-f358-4233-95cd-7a0a13cd20a0",
10138
- learn_more_url: "https://geviti-app-assets.s3.us-west-1.amazonaws.com/testkit-learn-more-pdfs/Metabolomix%20Test%20PDF%20Overview.pdf",
10138
+ learn_more_url: "https://acme-app-assets.s3.us-west-1.amazonaws.com/testkit-learn-more-pdfs/Metabolomix%20Test%20PDF%20Overview.pdf",
10139
10139
  requiredFeature: "can_purchase_junction",
10140
10140
  restricted_state: "NY"
10141
10141
  },
@@ -10175,7 +10175,7 @@ var GEVITI_CORPUS = {
10175
10175
  },
10176
10176
  {
10177
10177
  id: "prod_RPUtG8Y34EWVk3",
10178
- name: "Geviti Male Hormone Check",
10178
+ name: "Acme Male Hormone Check",
10179
10179
  active: true,
10180
10180
  description: null,
10181
10181
  metadata: {},
@@ -10183,7 +10183,7 @@ var GEVITI_CORPUS = {
10183
10183
  },
10184
10184
  {
10185
10185
  id: "prod_RPUxeGvZmnet4t",
10186
- name: "Geviti Female Hormone Check",
10186
+ name: "Acme Female Hormone Check",
10187
10187
  active: true,
10188
10188
  description: null,
10189
10189
  metadata: {},
@@ -10239,9 +10239,9 @@ var GEVITI_CORPUS = {
10239
10239
  },
10240
10240
  {
10241
10241
  id: "prod_RgR9DjhsfvF7R0",
10242
- name: "Geviti Longeviti Panel",
10242
+ name: "Acme Longevity Panel",
10243
10243
  active: true,
10244
- description: "The Longeviti Panel is Geviti's foundational blood panel, designed to give you the most complete picture of your internal health in a single draw. It looks across hormones, metabolism, cardiovascular health, thyroid function, inflammation, nutrient status, and more, providing the data your body actually needs to optimize for longevity and performance. It's a good fit if you want a comprehensive baseline of your health, are starting your longevity journey, or want testing that goes well beyond what a standard annual physical covers.",
10244
+ description: "The Longevity Panel is Acme's foundational blood panel, designed to give you the most complete picture of your internal health in a single draw. It looks across hormones, metabolism, cardiovascular health, thyroid function, inflammation, nutrient status, and more, providing the data your body actually needs to optimize for longevity and performance. It's a good fit if you want a comprehensive baseline of your health, are starting your longevity journey, or want testing that goes well beyond what a standard annual physical covers.",
10245
10245
  metadata: {
10246
10246
  forms: "yes",
10247
10247
  gender: "female",
@@ -10250,7 +10250,7 @@ var GEVITI_CORPUS = {
10250
10250
  shop_order: "0",
10251
10251
  lab_test_id: "42977f85-4aef-4511-806d-00dee2dd4acf",
10252
10252
  aha_panel_id: "dcfdb10c-aa15-404e-824f-cc6f0b393341",
10253
- shop_group_id: "geviti-longeviti-panel-female",
10253
+ shop_group_id: "acme-longevity-panel-female",
10254
10254
  quest_lab_test_id: "da919934-35bb-4ff0-9140-2bb418956bf7",
10255
10255
  walk_in_lab_test_id: "409cfa78-1824-4f01-bf74-855ea6b4da3e",
10256
10256
  shop_group_member_label: "At-home",
@@ -10286,7 +10286,7 @@ var GEVITI_CORPUS = {
10286
10286
  category: "TestKit",
10287
10287
  labTestId: "71170fce-0bdc-41e5-95ae-de76bad7f00e",
10288
10288
  shop_order: "4",
10289
- learn_more_url: "https://geviti-app-assets.s3.us-west-1.amazonaws.com/testkit-learn-more-pdfs/DUTCH+PDF+Overview.pdf",
10289
+ learn_more_url: "https://acme-app-assets.s3.us-west-1.amazonaws.com/testkit-learn-more-pdfs/DUTCH+PDF+Overview.pdf",
10290
10290
  restricted_state: "NY"
10291
10291
  },
10292
10292
  default_price: null
@@ -10554,7 +10554,7 @@ var GEVITI_CORPUS = {
10554
10554
  source: "external",
10555
10555
  category: "TestKit",
10556
10556
  shop_order: "3",
10557
- learn_more_url: "https://geviti-app-assets.s3.us-west-1.amazonaws.com/testkit-learn-more-pdfs/Cancer_Detection.pdf"
10557
+ learn_more_url: "https://acme-app-assets.s3.us-west-1.amazonaws.com/testkit-learn-more-pdfs/Cancer_Detection.pdf"
10558
10558
  },
10559
10559
  default_price: null
10560
10560
  },
@@ -10801,7 +10801,7 @@ var GEVITI_CORPUS = {
10801
10801
  category: "TestKit",
10802
10802
  provider: "mosaic",
10803
10803
  shop_order: "7",
10804
- learn_more_url: "https://geviti-app-assets.s3.us-west-1.amazonaws.com/testkit-learn-more-pdfs/MOSAIC-PDF-OVERVIEW.pdf",
10804
+ learn_more_url: "https://acme-app-assets.s3.us-west-1.amazonaws.com/testkit-learn-more-pdfs/MOSAIC-PDF-OVERVIEW.pdf",
10805
10805
  restricted_state: "NY,NJ"
10806
10806
  },
10807
10807
  default_price: null
@@ -10962,7 +10962,7 @@ var GEVITI_CORPUS = {
10962
10962
  },
10963
10963
  {
10964
10964
  id: "prod_UJo7M7mRxkmzQ6",
10965
- name: "Longeviti Genomics",
10965
+ name: "Longevity Genomics",
10966
10966
  active: true,
10967
10967
  description: "Decode 155 genetic insights across 28 genes with one simple swab.",
10968
10968
  metadata: {
@@ -10981,9 +10981,9 @@ var GEVITI_CORPUS = {
10981
10981
  },
10982
10982
  {
10983
10983
  id: "prod_UJsrSH2yiD8804",
10984
- name: "Longeviti Genomics",
10984
+ name: "Longevity Genomics",
10985
10985
  active: true,
10986
- description: "Longeviti Genomics is a specialty test to help you understand inherited traits and pathways relevant to longevity.",
10986
+ description: "Longevity Genomics is a specialty test to help you understand inherited traits and pathways relevant to longevity.",
10987
10987
  metadata: {
10988
10988
  category: "TestKit",
10989
10989
  pre_order: "true",
@@ -11077,7 +11077,7 @@ var GEVITI_CORPUS = {
11077
11077
  },
11078
11078
  {
11079
11079
  id: "prod_UdLPj6GCyMI9e5",
11080
- name: "Geviti Longeviti Panel",
11080
+ name: "Acme Longevity Panel",
11081
11081
  active: true,
11082
11082
  description: "Get a full health snapshot with a clinician's at-home blood draw analyzing 100+ biomarkers.",
11083
11083
  metadata: {
@@ -11086,7 +11086,7 @@ var GEVITI_CORPUS = {
11086
11086
  category: "Walk-In",
11087
11087
  labTestId: "409cfa78-1824-4f01-bf74-855ea6b4da3e",
11088
11088
  lab_test_id: "409cfa78-1824-4f01-bf74-855ea6b4da3e",
11089
- shop_group_id: "geviti-longeviti-panel-female",
11089
+ shop_group_id: "acme-longevity-panel-female",
11090
11090
  quest_lab_test_id: "2e02b573-f025-41f7-9629-a83b13874df7",
11091
11091
  walk_in_lab_test_id: "409cfa78-1824-4f01-bf74-855ea6b4da3e",
11092
11092
  shop_group_member_label: "Walk-in",
@@ -11106,7 +11106,7 @@ var GEVITI_CORPUS = {
11106
11106
  source: "external",
11107
11107
  category: "TestKit",
11108
11108
  shop_order: "3",
11109
- learn_more_url: "https://geviti-app-assets.s3.us-west-1.amazonaws.com/testkit-learn-more-pdfs/Cancer_Detection.pdf"
11109
+ learn_more_url: "https://acme-app-assets.s3.us-west-1.amazonaws.com/testkit-learn-more-pdfs/Cancer_Detection.pdf"
11110
11110
  },
11111
11111
  default_price: "price_1TmuUPGBBGmxLhdLIfM4PI1E"
11112
11112
  },
@@ -11130,14 +11130,14 @@ var GEVITI_CORPUS = {
11130
11130
  },
11131
11131
  {
11132
11132
  id: "prod_UmTRKnSeEgi6TD",
11133
- name: "Geviti Longeviti Panel",
11133
+ name: "Acme Longevity Panel",
11134
11134
  active: true,
11135
- description: "The Longeviti Panel is Geviti's foundational blood panel, designed to give you the most complete picture of your internal health in a single draw. It looks across hormones, metabolism, cardiovascular health, thyroid function, inflammation, nutrient status, and more, providing the data your body actually needs to optimize for longevity and performance. It's a good fit if you want a comprehensive baseline of your health, are starting your longevity journey, or want testing that goes well beyond what a standard annual physical covers.",
11135
+ description: "The Longevity Panel is Acme's foundational blood panel, designed to give you the most complete picture of your internal health in a single draw. It looks across hormones, metabolism, cardiovascular health, thyroid function, inflammation, nutrient status, and more, providing the data your body actually needs to optimize for longevity and performance. It's a good fit if you want a comprehensive baseline of your health, are starting your longevity journey, or want testing that goes well beyond what a standard annual physical covers.",
11136
11136
  metadata: {
11137
11137
  forms: "yes",
11138
11138
  category: "Walk-In",
11139
11139
  shop_order: "1",
11140
- shop_group_id: "geviti-longeviti-panel",
11140
+ shop_group_id: "acme-longevity-panel",
11141
11141
  walk_in_lab_test_id: "70bdae4c-b0c8-4dcb-ae00-4ab6dca13aa7",
11142
11142
  shop_group_member_label: "Walk-In",
11143
11143
  walk_in_quest_lab_test_id: "70bdae4c-b0c8-4dcb-ae00-4ab6dca13aa7",
@@ -11180,7 +11180,7 @@ var GEVITI_CORPUS = {
11180
11180
  category: "TestKit",
11181
11181
  provider: "mosaic",
11182
11182
  shop_order: "7",
11183
- learn_more_url: "https://geviti-app-assets.s3.us-west-1.amazonaws.com/testkit-learn-more-pdfs/MOSAIC-PDF-OVERVIEW.pdf",
11183
+ learn_more_url: "https://acme-app-assets.s3.us-west-1.amazonaws.com/testkit-learn-more-pdfs/MOSAIC-PDF-OVERVIEW.pdf",
11184
11184
  restricted_state: "NY,NJ"
11185
11185
  },
11186
11186
  default_price: "price_1TmuUNGBBGmxLhdLq1LuQ215"
@@ -11234,14 +11234,14 @@ var GEVITI_CORPUS = {
11234
11234
  category: "TestKit",
11235
11235
  labTestId: "63fbf592-f358-4233-95cd-7a0a13cd20a0",
11236
11236
  shop_order: "4",
11237
- learn_more_url: "https://geviti-app-assets.s3.us-west-1.amazonaws.com/testkit-learn-more-pdfs/DUTCH+PDF+Overview.pdf",
11237
+ learn_more_url: "https://acme-app-assets.s3.us-west-1.amazonaws.com/testkit-learn-more-pdfs/DUTCH+PDF+Overview.pdf",
11238
11238
  restricted_state: "NY"
11239
11239
  },
11240
11240
  default_price: "price_1TmuURGBBGmxLhdLdFHIWe3h"
11241
11241
  },
11242
11242
  {
11243
11243
  id: "prod_UmTa3E8DOmQlCW",
11244
- name: "Geviti Longeviti Panel",
11244
+ name: "Acme Longevity Panel",
11245
11245
  active: true,
11246
11246
  description: null,
11247
11247
  metadata: {},
@@ -11249,7 +11249,7 @@ var GEVITI_CORPUS = {
11249
11249
  },
11250
11250
  {
11251
11251
  id: "prod_UmTlIhiLE2PmLy",
11252
- name: "Geviti Longeviti Panel",
11252
+ name: "Acme Longevity Panel",
11253
11253
  active: true,
11254
11254
  description: null,
11255
11255
  metadata: {
@@ -11259,7 +11259,7 @@ var GEVITI_CORPUS = {
11259
11259
  shop_order: "0",
11260
11260
  lab_test_id: "4d90ddd6-3c66-43eb-ad0a-28e727fc4101",
11261
11261
  aha_panel_id: "dcfdb10c-aa15-404e-824f-cc6f0b393341",
11262
- shop_group_id: "geviti-longeviti-panel",
11262
+ shop_group_id: "acme-longevity-panel",
11263
11263
  quest_lab_test_id: "0d4c5db0-1930-41dc-9bd6-267022f93d4e",
11264
11264
  walk_in_lab_test_id: "70bdae4c-b0c8-4dcb-ae00-4ab6dca13aa7",
11265
11265
  shop_group_member_label: "At-Home",
@@ -11271,7 +11271,7 @@ var GEVITI_CORPUS = {
11271
11271
  },
11272
11272
  {
11273
11273
  id: "prod_UmTlgrQ1iG1Dvl",
11274
- name: "Geviti Longeviti Panel",
11274
+ name: "Acme Longevity Panel",
11275
11275
  active: true,
11276
11276
  description: "Get a full health snapshot with a clinician's at-home blood draw analyzing 100+ biomarkers.",
11277
11277
  metadata: {
@@ -11280,7 +11280,7 @@ var GEVITI_CORPUS = {
11280
11280
  category: "Walk-In",
11281
11281
  labTestId: "70bdae4c-b0c8-4dcb-ae00-4ab6dca13aa7",
11282
11282
  lab_test_id: "70bdae4c-b0c8-4dcb-ae00-4ab6dca13aa7",
11283
- shop_group_id: "geviti-longeviti-panel-female",
11283
+ shop_group_id: "acme-longevity-panel-female",
11284
11284
  quest_lab_test_id: "2e02b573-f025-41f7-9629-a83b13874df7",
11285
11285
  walk_in_lab_test_id: "70bdae4c-b0c8-4dcb-ae00-4ab6dca13aa7",
11286
11286
  shop_group_member_label: "Walk-in",
@@ -11373,9 +11373,9 @@ var GEVITI_CORPUS = {
11373
11373
  forms: "no",
11374
11374
  category: "TestKit",
11375
11375
  labTestId: "63fbf592-f358-4233-95cd-7a0a13cd20a0",
11376
- learn_more_url: "https://geviti-app-assets.s3.us-west-1.amazonaws.com/testkit-learn-more-pdfs/MethylDetox-Genetic-Profile-PDF.pdf",
11376
+ learn_more_url: "https://acme-app-assets.s3.us-west-1.amazonaws.com/testkit-learn-more-pdfs/MethylDetox-Genetic-Profile-PDF.pdf",
11377
11377
  restricted_state: "NY",
11378
- archive_product_reason: "https://linear.app/geviti/issue/ENG-848/ability-to-click-on-shop-card-and-see-description-of-the-blood-panel\nIt was part of this ticket\n"
11378
+ archive_product_reason: "https://linear.app/acme/issue/ENG-848/ability-to-click-on-shop-card-and-see-description-of-the-blood-panel\nIt was part of this ticket\n"
11379
11379
  },
11380
11380
  default_price: "price_1TmvPuGBBGmxLhdLof7tA0J3"
11381
11381
  },
@@ -12547,7 +12547,7 @@ var GEVITI_CORPUS = {
12547
12547
  currency: "usd",
12548
12548
  recurring: null,
12549
12549
  lookup_key: null,
12550
- nickname: "geviti-longeviti-panel-one-time",
12550
+ nickname: "acme-longevity-panel-one-time",
12551
12551
  active: true,
12552
12552
  metadata: {}
12553
12553
  },
@@ -14064,7 +14064,7 @@ var createRuntime2 = (options = {}) => {
14064
14064
  tickAll();
14065
14065
  }
14066
14066
  };
14067
- const corpus = options.corpus ?? GEVITI_CORPUS;
14067
+ const corpus = options.corpus ?? ACME_CORPUS;
14068
14068
  const admin = (runtime2) => ({
14069
14069
  "GET /accounts": () => json3(200, {
14070
14070
  accounts: accounts.list().map((account) => ({
@@ -14632,7 +14632,7 @@ export {
14632
14632
  operationIds,
14633
14633
  supportedOperationIds,
14634
14634
  STRIPE_NAMESPACE,
14635
- GEVITI_CORPUS,
14635
+ ACME_CORPUS,
14636
14636
  QA_SURFACE_OPS,
14637
14637
  QA_METADATA,
14638
14638
  QA_AMOUNTS,
@@ -14646,4 +14646,4 @@ export {
14646
14646
  createRuntime2 as createRuntime,
14647
14647
  StripeAPI
14648
14648
  };
14649
- //# sourceMappingURL=chunk-25KD4HCX.js.map
14649
+ //# sourceMappingURL=chunk-QQMKLRLM.js.map