@owlmeans/payment 0.1.18-rc.44 → 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.
|
|
11
|
+
bun add @owlmeans/payment@^0.1.18-rc.46
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
## Concepts
|
|
@@ -129,7 +129,7 @@ This package ships embedded agent skills under `agent-meta/`. After installing y
|
|
|
129
129
|
your project's skill store (`.agents/skills/`):
|
|
130
130
|
|
|
131
131
|
```sh
|
|
132
|
-
npx @owlmeans/agent-skills@^0.1.18-rc.
|
|
132
|
+
npx @owlmeans/agent-skills@^0.1.18-rc.46
|
|
133
133
|
```
|
|
134
134
|
|
|
135
135
|
The embedded files are version-matched to this package release. Do not edit them
|
package/agent-meta/manifest.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 2,
|
|
3
3
|
"package": "@owlmeans/payment",
|
|
4
|
-
"version": "0.1.18-rc.
|
|
5
|
-
"generatedAt": "2026-10-
|
|
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.
|
|
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.
|
|
3
|
+
"version": "0.1.18-rc.46",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -32,14 +32,14 @@
|
|
|
32
32
|
"ajv": "*"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@owlmeans/api-config": "^0.1.18-rc.
|
|
36
|
-
"@owlmeans/auth": "^0.1.18-rc.
|
|
37
|
-
"@owlmeans/basic-envelope": "^0.1.18-rc.
|
|
38
|
-
"@owlmeans/config": "^0.1.18-rc.
|
|
35
|
+
"@owlmeans/api-config": "^0.1.18-rc.40",
|
|
36
|
+
"@owlmeans/auth": "^0.1.18-rc.38",
|
|
37
|
+
"@owlmeans/basic-envelope": "^0.1.18-rc.43",
|
|
38
|
+
"@owlmeans/config": "^0.1.18-rc.41",
|
|
39
39
|
"@owlmeans/context": "^0.1.18-rc.32",
|
|
40
40
|
"@owlmeans/error": "^0.1.18-rc.36",
|
|
41
41
|
"@owlmeans/i18n": "^0.1.18-rc.37",
|
|
42
|
-
"@owlmeans/entrypoint": "^0.1.18-rc.
|
|
42
|
+
"@owlmeans/entrypoint": "^0.1.18-rc.39",
|
|
43
43
|
"@owlmeans/resource": "^0.1.18-rc.37",
|
|
44
44
|
"@owlmeans/route": "^0.1.18-rc.33"
|
|
45
45
|
},
|