@odla-ai/chapter 0.33.1 → 0.34.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odla-ai/chapter",
3
- "version": "0.33.1",
3
+ "version": "0.34.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",
@@ -75,6 +75,7 @@
75
75
  },
76
76
  "dependencies": {
77
77
  "@odla-ai/crm": ">=0.5.0 <0.10.0",
78
+ "@odla-ai/promotion": "0.1.0",
78
79
  "@odla-ai/stripe": ">=0.1.0 <1.0.0",
79
80
  "jose": "^6.2.3"
80
81
  },
@@ -414,6 +414,10 @@ exact acknowledged revision/digest. The follower must render and charge from
414
414
  its locally materialized active revision, so applicant traffic has no runtime
415
415
  dependency on the hub.
416
416
 
417
+ The receiver upserts provisioned groups and tiers through natural-key lookups
418
+ on their unique public `id` attributes. Treat a JSON `materialization_failed`
419
+ response as retryable; do not parse or depend on internal database errors.
420
+
417
421
  Every target id must equal that follower's `chapter.id`. This binds snapshot
418
422
  responses to configured sites. Received records use structured
419
423
  `crm_record_origin` identity; leader attempts use `crm_record_delivery` state.