@cosmicdrift/kumiko-server-runtime 0.416.0 → 0.417.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.
@@ -26,6 +26,7 @@ export type BillingBootOption = {
26
26
  readonly webhookPath?: string;
27
27
  readonly oneOffPriceIds?: SubscriptionStripeOptions["oneOffPriceIds"];
28
28
  readonly paymentInvoiceCreation?: boolean;
29
+ readonly allowPromotionCodes?: SubscriptionStripeOptions["allowPromotionCodes"];
29
30
  readonly clientConfig?: SubscriptionStripeOptions["clientConfig"];
30
31
  };
31
32
  readonly paddle?: {
@@ -23,6 +23,9 @@ function providerFeatures({ stripe, paddle }, envSource) {
23
23
  ...(stripe.paymentInvoiceCreation !== undefined && {
24
24
  paymentInvoiceCreation: stripe.paymentInvoiceCreation,
25
25
  }),
26
+ ...(stripe.allowPromotionCodes !== undefined && {
27
+ allowPromotionCodes: stripe.allowPromotionCodes,
28
+ }),
26
29
  ...(stripe.clientConfig && { clientConfig: stripe.clientConfig }),
27
30
  ...bridgeCredentials(envSource, "STRIPE_API_KEY", "STRIPE_WEBHOOK_SECRET"),
28
31
  }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cosmicdrift/kumiko-server-runtime",
3
- "version": "0.416.0",
3
+ "version": "0.417.0",
4
4
  "description": "Production server-boot runtime for Kumiko apps: connections, schema-drift-gate, seeds, lifecycle, graceful shutdown. Symmetric to kumiko-dev-server's runDevApp, without dev/scaffold tooling.",
5
5
  "license": "MIT",
6
6
  "author": "Marc Frost <marc@cosmicdriftgamestudio.com>",
@@ -100,11 +100,11 @@
100
100
  }
101
101
  },
102
102
  "dependencies": {
103
- "@cosmicdrift/kumiko-bundled-features": "0.416.0",
104
- "@cosmicdrift/kumiko-framework": "0.416.0",
105
- "@cosmicdrift/kumiko-renderer": "0.416.0",
106
- "@cosmicdrift/kumiko-renderer-mail-html": "0.416.0",
107
- "@cosmicdrift/kumiko-types": "0.416.0",
103
+ "@cosmicdrift/kumiko-bundled-features": "0.417.0",
104
+ "@cosmicdrift/kumiko-framework": "0.417.0",
105
+ "@cosmicdrift/kumiko-renderer": "0.417.0",
106
+ "@cosmicdrift/kumiko-renderer-mail-html": "0.417.0",
107
+ "@cosmicdrift/kumiko-types": "0.417.0",
108
108
  "ioredis": "^5.11.1",
109
109
  "temporal-polyfill": "^0.3.2",
110
110
  "zod": "^4.6.7"
@@ -113,7 +113,7 @@
113
113
  "bun-types": "^1.4.4"
114
114
  },
115
115
  "devDependencies": {
116
- "@cosmicdrift/kumiko-testing": "0.416.0",
116
+ "@cosmicdrift/kumiko-testing": "0.417.0",
117
117
  "bun-types": "^1.4.4"
118
118
  },
119
119
  "publishConfig": {
package/src/changes.json CHANGED
@@ -1,4 +1,10 @@
1
1
  [
2
+ {
3
+ "version": "0.417.0",
4
+ "type": "improvement",
5
+ "title": "The billing boot option forwards allowPromotionCodes",
6
+ "detail": "`billing.stripe.allowPromotionCodes` reaches `createSubscriptionStripeFeature`, so an app booted through `runProdApp` or `runWorkerApp` can show Stripe's promotion-code field in checkout. Default false."
7
+ },
2
8
  {
3
9
  "version": "0.415.0",
4
10
  "type": "fix",