@adonis-agora/payments 1.0.0-rc.7 → 1.0.0-rc.9
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/CHANGELOG.md +12 -0
- package/dist/assets/spa/assets/index-BUdMYvF3.js.map +1 -1
- package/dist/providers/dashboard_provider.d.ts.map +1 -1
- package/dist/providers/dashboard_provider.js +6 -4
- package/dist/providers/dashboard_provider.js.map +1 -1
- package/dist/src/billing/index.d.ts +1 -1
- package/dist/src/billing/index.d.ts.map +1 -1
- package/dist/src/billing/lucid_billing_store.d.ts +28 -2
- package/dist/src/billing/lucid_billing_store.d.ts.map +1 -1
- package/dist/src/billing/lucid_billing_store.js +63 -15
- package/dist/src/billing/lucid_billing_store.js.map +1 -1
- package/dist/src/billing/resolve_store.d.ts.map +1 -1
- package/dist/src/billing/resolve_store.js +26 -2
- package/dist/src/billing/resolve_store.js.map +1 -1
- package/dist/src/billing/schema.d.ts +33 -3
- package/dist/src/billing/schema.d.ts.map +1 -1
- package/dist/src/billing/schema.js +153 -62
- package/dist/src/billing/schema.js.map +1 -1
- package/dist/src/define_config.d.ts +22 -0
- package/dist/src/define_config.d.ts.map +1 -1
- package/dist/src/define_config.js +12 -2
- package/dist/src/define_config.js.map +1 -1
- package/dist/src/doctor/checks.d.ts +9 -2
- package/dist/src/doctor/checks.d.ts.map +1 -1
- package/dist/src/doctor/checks.js +94 -4
- package/dist/src/doctor/checks.js.map +1 -1
- package/dist/src/index.d.ts +2 -2
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js.map +1 -1
- package/dist/stubs/database/migrations/create_billing_tables.stub +9 -2
- package/package.json +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @adonis-agora/payments
|
|
2
2
|
|
|
3
|
+
## 1.0.0-rc.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#235](https://github.com/DavideCarvalho/adonis-agora-payments/pull/235) [`13c4b2d`](https://github.com/DavideCarvalho/adonis-agora-payments/commit/13c4b2debac163f0990d9ca005d5720b111cfba1) Thanks [@DavideCarvalho](https://github.com/DavideCarvalho)! - The payments console no longer gets a 404 on load with tenancy off. `GET <path>/api/tenants` is now always mounted and answers `{ mode: 'off' }` when tenancy is off, the same way telescope's console answers. The audited organization switch (`POST <path>/api/tenants/:id/select`) is still mounted only with tenancy on.
|
|
8
|
+
|
|
9
|
+
## 1.0.0-rc.8
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [#234](https://github.com/DavideCarvalho/adonis-agora-payments/pull/234) [`09f49a8`](https://github.com/DavideCarvalho/adonis-agora-payments/commit/09f49a8d3bde85c9b38517c5bb08349351561fc7) Thanks [@DavideCarvalho](https://github.com/DavideCarvalho)! - `billing.connection` and `billing.schema` put the billing tables on their own Lucid connection and in their own Postgres schema (MySQL: database), e.g. `"billing"."billing_payments"` while the app stays in `public`. Every statement names the schema: the DDL, the column checks, the store's reads and writes (so the dashboard, account console and dev MCP reads too), the published migration and `agora:doctor`. Nothing relies on `search_path`, so this is safe behind PgBouncer in transaction mode. The schema is created on first use (or by the migration), the name is validated at boot, and SQLite with a `schema` fails the boot. `billingStores.lucid(...)` inherits both options; `createBillingTables`/`dropBillingTables`/`truncateBillingTables` take `{ schema }`. Without either option, behaviour is unchanged.
|
|
14
|
+
|
|
3
15
|
## 1.0.0-rc.7
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|