@odla-ai/chapter 0.39.2 → 0.40.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.cjs +25 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +25 -5
- package/dist/index.js.map +1 -1
- package/dist/worker/index.cjs +73 -21
- package/dist/worker/index.cjs.map +1 -1
- package/dist/worker/index.d.cts +3 -0
- package/dist/worker/index.d.ts +3 -0
- package/dist/worker/index.js +73 -21
- package/dist/worker/index.js.map +1 -1
- package/package.json +1 -1
- package/runbooks/greenfield.md +9 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@odla-ai/chapter",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.40.0",
|
|
4
4
|
"description": "A leader/follower foundation for branded membership sites: shared CRM, admin, auth, payments, booking, and explicit record delivery from one defineChapter config.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://odla.ai/docs/packages/chapter",
|
package/runbooks/greenfield.md
CHANGED
|
@@ -748,10 +748,15 @@ deployed dev origin.
|
|
|
748
748
|
### Stripe test mode
|
|
749
749
|
|
|
750
750
|
1. Create the approved recurring test product/price.
|
|
751
|
-
2.
|
|
752
|
-
`
|
|
753
|
-
3.
|
|
754
|
-
|
|
751
|
+
2. Store `stripe_secret_key` in the shared dev vault through write-only
|
|
752
|
+
`odla-ai secrets set stripe_secret_key --env dev --stdin`.
|
|
753
|
+
3. For one Worker per developer on shared dev data, declare top-level
|
|
754
|
+
`runtimes.<name>` with `dataEnvironment: "dev"` and its stable origin, then
|
|
755
|
+
run `odla-ai environment reconcile --runtime <name>`. ODLA creates the
|
|
756
|
+
endpoint, stores `stripe_webhook_secret__<name>` under write-only custody,
|
|
757
|
+
and binds `ODLA_RUNTIME`; do not manually reuse one signing secret across
|
|
758
|
+
endpoints. A legacy single-Worker app may still store
|
|
759
|
+
`stripe_webhook_secret` directly.
|
|
755
760
|
4. In the guarded `groups` row, set `stripePublishableKey` and `stripePriceId`.
|
|
756
761
|
5. Read that exact Stripe Price from Stripe and compare its first charge,
|
|
757
762
|
recurring amount, currency, and interval with the approved public contract.
|