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