@owlmeans/payment 0.1.15 → 0.1.16
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
|
@@ -86,10 +86,9 @@ Creates the payment service.
|
|
|
86
86
|
<!-- owlmeans:agent-guidance:start -->
|
|
87
87
|
## Agent guidance
|
|
88
88
|
|
|
89
|
-
This package ships embedded
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
(`.claude/skills/` and `.github/instructions/`):
|
|
89
|
+
This package ships embedded agent skills under `agent-meta/`. After installing your
|
|
90
|
+
`@owlmeans/*` packages, run the OwlMeans agent-skills installer to place them into
|
|
91
|
+
your project's skill store (`.agents/skills/`):
|
|
93
92
|
|
|
94
93
|
```sh
|
|
95
94
|
npx @owlmeans/agent-skills
|
package/agent-meta/manifest.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"schemaVersion":
|
|
2
|
+
"schemaVersion": 2,
|
|
3
3
|
"package": "@owlmeans/payment",
|
|
4
|
-
"version": "0.1.
|
|
5
|
-
"generatedAt": "2026-08-
|
|
4
|
+
"version": "0.1.16",
|
|
5
|
+
"generatedAt": "2026-08-14T10:14:48.859Z",
|
|
6
6
|
"canonicalRepo": "https://github.com/owlmeans/common",
|
|
7
7
|
"entries": [
|
|
8
8
|
{
|
|
@@ -10,14 +10,7 @@
|
|
|
10
10
|
"name": "payment",
|
|
11
11
|
"category": "package-specific",
|
|
12
12
|
"file": "skills/payment/SKILL.md",
|
|
13
|
-
"canonicalPath": ".
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"kind": "instruction",
|
|
17
|
-
"name": "payment",
|
|
18
|
-
"category": "package-specific",
|
|
19
|
-
"file": "instructions/payment.instructions.md",
|
|
20
|
-
"canonicalPath": ".github/instructions/payment.instructions.md"
|
|
13
|
+
"canonicalPath": ".agents/skills/payment/SKILL.md"
|
|
21
14
|
}
|
|
22
15
|
]
|
|
23
16
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@owlmeans/payment",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.16",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -31,15 +31,15 @@
|
|
|
31
31
|
"ajv": "*"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@owlmeans/auth": "^0.1.
|
|
35
|
-
"@owlmeans/basic-envelope": "^0.1.
|
|
36
|
-
"@owlmeans/config": "^0.1.
|
|
37
|
-
"@owlmeans/context": "^0.1.
|
|
38
|
-
"@owlmeans/error": "^0.1.
|
|
39
|
-
"@owlmeans/i18n": "^0.1.
|
|
40
|
-
"@owlmeans/entrypoint": "^0.1.
|
|
41
|
-
"@owlmeans/resource": "^0.1.
|
|
42
|
-
"@owlmeans/route": "^0.1.
|
|
34
|
+
"@owlmeans/auth": "^0.1.16",
|
|
35
|
+
"@owlmeans/basic-envelope": "^0.1.16",
|
|
36
|
+
"@owlmeans/config": "^0.1.16",
|
|
37
|
+
"@owlmeans/context": "^0.1.16",
|
|
38
|
+
"@owlmeans/error": "^0.1.16",
|
|
39
|
+
"@owlmeans/i18n": "^0.1.16",
|
|
40
|
+
"@owlmeans/entrypoint": "^0.1.16",
|
|
41
|
+
"@owlmeans/resource": "^0.1.16",
|
|
42
|
+
"@owlmeans/route": "^0.1.16"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@owlmeans/dep-config": "workspace:*",
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: "How to use @owlmeans/payment — payment processing types, models, errors, paymentApi service alias for cross-service checkout calls."
|
|
3
|
-
applyTo: "**/*.ts, **/*.tsx"
|
|
4
|
-
---
|
|
5
|
-
<!-- AUTO-GENERATED — do not edit. Regenerate via sync-agent-meta. -->
|
|
6
|
-
|
|
7
|
-
# @owlmeans/payment
|
|
8
|
-
|
|
9
|
-
**Layer:** Core
|
|
10
|
-
**Install:** `"@owlmeans/payment": "^0.1.15"` in `dependencies`
|
|
11
|
-
|
|
12
|
-
## Key Exports
|
|
13
|
-
|
|
14
|
-
| Export | Description |
|
|
15
|
-
|--------|-------------|
|
|
16
|
-
| `paymentApi` | Service alias tree |
|
|
17
|
-
| `Payment`, `Checkout` types | Domain shapes |
|
|
18
|
-
| `paymentModules` | Entrypoints to spread into `appModules` |
|
|
19
|
-
| Errors | Typed payment errors |
|
|
20
|
-
| Constants | Payment service aliases |
|
|
21
|
-
| `model` submodule | Reusable payment models |
|
|
22
|
-
|
|
23
|
-
## Subpath Exports
|
|
24
|
-
|
|
25
|
-
- `./utils` — payment helpers
|
|
26
|
-
|
|
27
|
-
## Usage
|
|
28
|
-
|
|
29
|
-
```typescript
|
|
30
|
-
import { paymentApi, paymentModules } from '@owlmeans/payment'
|
|
31
|
-
|
|
32
|
-
export const appModules = [...modules, ...paymentModules]
|
|
33
|
-
|
|
34
|
-
const [result] = await ctx.entrypoint<ClientEntrypoint<CreateCheckoutResponse>>(
|
|
35
|
-
paymentApi.service.checkout.session.external.create
|
|
36
|
-
).call({ body: { productSku: 'tokens', entityId, successUrl } })
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
## Depends On
|
|
40
|
-
|
|
41
|
-
- `@owlmeans/entrypoint`, `@owlmeans/route`, `@owlmeans/auth`, `@owlmeans/error`, `@owlmeans/i18n`
|