@ultimat3/money 12.0.0 → 14.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/CLAUDE.md +7 -0
  2. package/package.json +3 -3
package/CLAUDE.md CHANGED
@@ -19,6 +19,13 @@ alias is re-declared, if `minor` widens back to a `bigint`, if any field loses `
19
19
  fourth field appears — or if `scale` ever stops being optional, which is the pin that says the
20
20
  shape is still additive and this is still a minor version.
21
21
 
22
+ **The widening a WRITE accepts is `@ultimat3/entity`'s `MoneyInput`, and `RowWrite<Row>` is how a
23
+ caller spells it**, `As of 2026-08-25`. A minor unit read straight off a `bigint` column reaches
24
+ `Repo.insert`/`insertAll`/`upsertAll` with no conversion at the call site and is narrowed there,
25
+ before an invariant or a statement sees it — so nothing in THIS package ever meets a `bigint`
26
+ `minor`, and nothing here should learn to. `type-pins.ts` pins both halves: those three writes take
27
+ the wide shape and answer with the row type.
28
+
22
29
  ## Boundary
23
30
 
24
31
  | File | Single responsibility |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ultimat3/money",
3
- "version": "12.0.0",
3
+ "version": "14.0.0",
4
4
  "description": "Integer minor units with an attached currency: arithmetic, allocation, rounding, Intl formatting",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -34,7 +34,7 @@
34
34
  "test": "bun test"
35
35
  },
36
36
  "dependencies": {
37
- "@ultimat3/core": "12.0.0",
38
- "@ultimat3/schema": "12.0.0"
37
+ "@ultimat3/core": "14.0.0",
38
+ "@ultimat3/schema": "14.0.0"
39
39
  }
40
40
  }