@dainamite/cpq-billing-connector 1.0.0 → 2.0.0
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 +29 -0
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
# @dainamite/cpq-billing-connector
|
|
2
2
|
|
|
3
|
+
## 2.0.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- d7ce539: Require Open Mercato `0.9.0`. Peer ranges move from `^0.6.7` to `^0.9.0` for
|
|
8
|
+
`@open-mercato/core`, `shared`, `ui`, `events` and `queue`, and the MikroORM
|
|
9
|
+
peers from `^7.1.5` to `^7.1.14`. Consumers on Open Mercato `0.6.x`–`0.8.x`
|
|
10
|
+
must upgrade before taking these versions.
|
|
11
|
+
|
|
12
|
+
`@dainamite/cpq` and `@dainamite/billing` now peer on `@tanstack/react-table`
|
|
13
|
+
`^9.0.0` (was `^8.0.0 || ^9.0.0`): Open Mercato 0.7 moved its `DataTable` to
|
|
14
|
+
TanStack Table v9, and list pages now import `LegacyColumnDef` from
|
|
15
|
+
`@tanstack/react-table/legacy`, which v8 does not have.
|
|
16
|
+
|
|
17
|
+
`@dainamite/cpq` also fixes CPQ quote and order API routes answering `500`
|
|
18
|
+
instead of the service's typed status (e.g. `404 Quote not found`). Next
|
|
19
|
+
bundles the package once per server layer and the DI container is shared, so
|
|
20
|
+
the route could catch a `QuotingError` / `OrderError` from the other copy of
|
|
21
|
+
the class and `instanceof` failed. Both classes now carry a `Symbol.for`
|
|
22
|
+
brand; new `isQuotingError` / `isOrderError` guards are exported alongside
|
|
23
|
+
them and should be used instead of `instanceof` in route handlers.
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- Updated dependencies [924c8b6]
|
|
28
|
+
- Updated dependencies [d7ce539]
|
|
29
|
+
- @dainamite/billing@0.20.0
|
|
30
|
+
- @dainamite/cpq@0.5.0
|
|
31
|
+
|
|
3
32
|
## 1.0.0
|
|
4
33
|
|
|
5
34
|
### Minor Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dainamite/cpq-billing-connector",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Wires @dainamite/cpq subscription lifecycle events to @dainamite/billing API calls (activated / amended / renewed / cancelled / merged / superseded).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/modules/cpq_billing_connector/index.js",
|
|
@@ -93,14 +93,14 @@
|
|
|
93
93
|
}
|
|
94
94
|
},
|
|
95
95
|
"peerDependencies": {
|
|
96
|
-
"@dainamite/billing": "^0.
|
|
97
|
-
"@dainamite/cpq": "^0.
|
|
98
|
-
"@mikro-orm/core": "^7.1.
|
|
99
|
-
"@mikro-orm/decorators": "^7.1.
|
|
100
|
-
"@mikro-orm/postgresql": "^7.1.
|
|
101
|
-
"@open-mercato/core": "^0.
|
|
102
|
-
"@open-mercato/events": "^0.
|
|
103
|
-
"@open-mercato/shared": "^0.
|
|
96
|
+
"@dainamite/billing": "^0.20.0",
|
|
97
|
+
"@dainamite/cpq": "^0.5.0",
|
|
98
|
+
"@mikro-orm/core": "^7.1.14",
|
|
99
|
+
"@mikro-orm/decorators": "^7.1.14",
|
|
100
|
+
"@mikro-orm/postgresql": "^7.1.14",
|
|
101
|
+
"@open-mercato/core": "^0.9.0",
|
|
102
|
+
"@open-mercato/events": "^0.9.0",
|
|
103
|
+
"@open-mercato/shared": "^0.9.0",
|
|
104
104
|
"awilix": "^12.0.0",
|
|
105
105
|
"zod": "^4.0.0"
|
|
106
106
|
},
|