@antelopejs/interface-dms-saas 0.6.0 → 0.6.1
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 +4 -4
- package/dist/provisioning.d.ts +1 -1
- package/docs/3.lifecycle-and-usage.md +1 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -54,8 +54,8 @@ The implementation is `@antelopejs/dms-saas >=0.6.0`. The interface declares the
|
|
|
54
54
|
|
|
55
55
|
| Package | Range |
|
|
56
56
|
| --- | --- |
|
|
57
|
-
| `@antelopejs/interface-data-api` | `>=0.
|
|
58
|
-
| `@antelopejs/interface-dms` | `>=0.
|
|
57
|
+
| `@antelopejs/interface-data-api` | `>=0.4.0 <1.0.0` |
|
|
58
|
+
| `@antelopejs/interface-dms` | `>=0.9.0 <1.0.0` |
|
|
59
59
|
|
|
60
60
|
Peer dependencies:
|
|
61
61
|
|
|
@@ -64,8 +64,8 @@ Peer dependencies:
|
|
|
64
64
|
| Package | Range |
|
|
65
65
|
| --- | --- |
|
|
66
66
|
| `@antelopejs/interface-core` | `>=0.2.4 <1.0.0` |
|
|
67
|
-
| `@antelopejs/interface-database` | `>=0.1.
|
|
68
|
-
| `@antelopejs/interface-database-decorators` | `>=0.1.
|
|
67
|
+
| `@antelopejs/interface-database` | `>=0.1.11 <1.0.0` |
|
|
68
|
+
| `@antelopejs/interface-database-decorators` | `>=0.1.10 <1.0.0` |
|
|
69
69
|
|
|
70
70
|
Subpaths resolve through the `exports` map only: compile consumers with `moduleResolution` set to `bundler`, `node16` or `nodenext`. Upgrade this package together with `@antelopejs/dms-saas`; the [upgrade notes](https://dms.antelopejs.com/docs/modules/saas/faq#upgrading) cover the tenant billing page anchors and the rows written by earlier builds.
|
|
71
71
|
|
package/dist/provisioning.d.ts
CHANGED
|
@@ -157,7 +157,7 @@ Delivery is **at least once**. Deduplicate by `operationId`, durably link provis
|
|
|
157
157
|
|
|
158
158
|
## Registration and provisioning
|
|
159
159
|
|
|
160
|
-
`TenantBeingProvisionedPayload` from `/provisioning` has `tenantId: string`, `userId: string`, and optional `extras: Record<string, unknown>`. Use it with the DMS `Hook.TENANT_BEING_PROVISIONED` hook; the hook handler returns `Promise<undefined>`, not `Promise<void>`.
|
|
160
|
+
`TenantBeingProvisionedPayload` from `/provisioning` has `tenantId: string`, optional `userId: string`, and optional `extras: Record<string, unknown>`. Use it with the DMS `Hook.TENANT_BEING_PROVISIONED` hook; the hook handler returns `Promise<undefined>`, not `Promise<void>`. The runtime fires the hook through DMS `ProvisionTenant`, which registers the workspace's tenant-schema instance before any listener runs. DMS also fires it once for its `default` tenant, at its creation and without `userId`: write a tenant's default data in this hook, never in `start()` or `DATABASE_INITIALIZED`.
|
|
161
161
|
|
|
162
162
|
Listeners run serially inside provisioning, while the per-card lock is held, after workspace records exist but before registration returns. A throwing listener cancels registration and rolls back the runtime's tenant, subscription, Stripe customer and password-path account. Do not assume external side effects of your listener roll back automatically. Keep it to bounded persistence work rather than network provisioning; use durable `created` delivery for post-payment resources.
|
|
163
163
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antelopejs/interface-dms-saas",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"description": "AntelopeJS interface for the DMS SaaS module: billing, plans, registration, workspace pages and lifecycle extension points.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"antelopejs",
|
|
@@ -70,13 +70,13 @@
|
|
|
70
70
|
"prepack": "pnpm run build"
|
|
71
71
|
},
|
|
72
72
|
"dependencies": {
|
|
73
|
-
"@antelopejs/interface-data-api": ">=0.
|
|
74
|
-
"@antelopejs/interface-dms": ">=0.
|
|
73
|
+
"@antelopejs/interface-data-api": ">=0.4.0 <1.0.0",
|
|
74
|
+
"@antelopejs/interface-dms": ">=0.9.0 <1.0.0"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
77
|
"@antelopejs/interface-core": ">=0.2.4 <1.0.0",
|
|
78
|
-
"@antelopejs/interface-database": ">=0.1.
|
|
79
|
-
"@antelopejs/interface-database-decorators": ">=0.1.
|
|
78
|
+
"@antelopejs/interface-database": ">=0.1.11 <1.0.0",
|
|
79
|
+
"@antelopejs/interface-database-decorators": ">=0.1.10 <1.0.0",
|
|
80
80
|
"@types/node": "^24.0.0",
|
|
81
81
|
"knip": "^6.34.0",
|
|
82
82
|
"oxfmt": "^0.66.0",
|
|
@@ -89,8 +89,8 @@
|
|
|
89
89
|
},
|
|
90
90
|
"peerDependencies": {
|
|
91
91
|
"@antelopejs/interface-core": ">=0.2.4 <1.0.0",
|
|
92
|
-
"@antelopejs/interface-database": ">=0.1.
|
|
93
|
-
"@antelopejs/interface-database-decorators": ">=0.1.
|
|
92
|
+
"@antelopejs/interface-database": ">=0.1.11 <1.0.0",
|
|
93
|
+
"@antelopejs/interface-database-decorators": ">=0.1.10 <1.0.0"
|
|
94
94
|
},
|
|
95
95
|
"packageManager": "pnpm@10.2.0",
|
|
96
96
|
"antelopeJs": {}
|