@owlmeans/payment 0.1.18-rc.45 → 0.1.18-rc.46

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/README.md CHANGED
@@ -8,7 +8,7 @@ server integration (`@owlmeans/server-payment`) implements against these contrac
8
8
  ## Installation
9
9
 
10
10
  ```bash
11
- bun add @owlmeans/payment@^0.1.18-rc.45
11
+ bun add @owlmeans/payment@^0.1.18-rc.46
12
12
  ```
13
13
 
14
14
  ## Concepts
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 2,
3
3
  "package": "@owlmeans/payment",
4
- "version": "0.1.18-rc.45",
5
- "generatedAt": "2026-10-03T11:19:50.792Z",
4
+ "version": "0.1.18-rc.46",
5
+ "generatedAt": "2026-10-03T15:33:53.023Z",
6
6
  "canonicalRepo": "https://github.com/owlmeans/common",
7
7
  "entries": [
8
8
  {
@@ -32,6 +32,10 @@ answer from the same pure functions, so a disabled button and a 403 cannot disag
32
32
  - **The effective plan** is the highest-ranked subscription in `ENTITLING_STATUSES`
33
33
  (`Active`, `Trial`, `PastDue`). `PastDue` still entitles and is flagged; `Suspended` revokes
34
34
  until resumed; terminal statuses fall back to the free plan.
35
+ - **One subscription may hold other ceilings than its plan declares**: the row's `overrides.limits`
36
+ replace the plan's ceilings for that subscription only, promo or not (the `server-payment` skill,
37
+ § The subscription store). Read a plan's limits from the effective plan or the entitlement view,
38
+ never from the catalogue by sku, or an override is missed.
35
39
  - A plan names its keys, never a product's copy: every limit key an application gates on appears
36
40
  on every plan (with `limit: 0` where not included), so "not included" is an answer, not a
37
41
  missing row.
@@ -8,7 +8,7 @@ user-invocable: false
8
8
  # @owlmeans/payment
9
9
 
10
10
  **Layer:** Core
11
- **Install:** `"@owlmeans/payment": "^0.1.18-rc.45"` in `dependencies`
11
+ **Install:** `"@owlmeans/payment": "^0.1.18-rc.46"` in `dependencies`
12
12
 
13
13
  The contracts half of payments: the catalogue (products, plans, localizations), amount- and
14
14
  quantity-priced checkout, the entitlement model — plan capabilities, counted limits, promos,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@owlmeans/payment",
3
- "version": "0.1.18-rc.45",
3
+ "version": "0.1.18-rc.46",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "scripts": {