@actuarial-ts/interchange 0.9.0 → 0.11.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/README.md +16 -7
- package/dist/envelope.d.ts +1 -1
- package/dist/envelope.d.ts.map +1 -1
- package/dist/envelope.js +1 -1
- package/dist/envelope.js.map +1 -1
- package/package.json +3 -3
- package/src/envelope.ts +1 -1
package/README.md
CHANGED
|
@@ -3,15 +3,17 @@
|
|
|
3
3
|
Typed TypeScript implementation of actuarial-interchange: portable, integrity-stamped documents shared by actuarial-ts, chainladder-python, and R ChainLadder.
|
|
4
4
|
|
|
5
5
|
```bash
|
|
6
|
-
npm install @actuarial-ts/interchange@0.
|
|
6
|
+
npm install @actuarial-ts/interchange@0.10.0 @actuarial-ts/core@0.10.0
|
|
7
7
|
```
|
|
8
8
|
|
|
9
9
|
Node 20+, ESM. Current writers use interchange wire `1.2.0` and readers accept compatible major-version-1 documents. SDK package versions and interchange wire versions are independent.
|
|
10
10
|
|
|
11
|
+
The source repository is private, so the guide, reference, and specification links below open only with repository access. The published package is unaffected and remains Apache-2.0.
|
|
12
|
+
|
|
11
13
|
Wire 1.2 adds the portable `customization-analysis` document. TypeScript can
|
|
12
14
|
execute and verify its current contracts; Python and R adapter 0.3 parse and
|
|
13
|
-
preserve it without claiming execution. See the
|
|
14
|
-
and
|
|
15
|
+
preserve it without claiming execution. See the 0.8 adoption guide (`docs/migrations/0.8-reusable-customization.md`)
|
|
16
|
+
and customization reference (`docs/reference/reusable-customization.md`).
|
|
15
17
|
|
|
16
18
|
## Document kinds
|
|
17
19
|
|
|
@@ -45,18 +47,25 @@ passed to `parseDocument`, and is not the three-shore aggregate-cell replay
|
|
|
45
47
|
contract described above. Use compliance's dedicated stream reader with its
|
|
46
48
|
required resource policy. A stream's engine-version identities also require
|
|
47
49
|
retaining the producing SDK versions; same interchange or stream wire versions
|
|
48
|
-
do not promise cross-SDK-version verification. See the
|
|
49
|
-
and
|
|
50
|
+
do not promise cross-SDK-version verification. See the compact adoption guide (`docs/migrations/0.7-compact-diagnostics.md`)
|
|
51
|
+
and replay reference (`docs/reference/diagnostic-replay-stream.md`).
|
|
50
52
|
|
|
51
53
|
`crosscheck` compares two method-result documents under explicit convention profiles. Outcomes are `agree`, `disagree`, `not-comparable`, or `verified-by-value`; the referee never hides convention differences or treats mutual agreement as proof of correctness.
|
|
52
54
|
|
|
53
55
|
Integrity tags detect accidental drift and support deterministic linking. FNV-1a is unkeyed and is not tamper resistance, authentication, or a security boundary.
|
|
54
56
|
|
|
55
|
-
The normative format is
|
|
57
|
+
The normative format is actuarial-interchange rev 2.5 (`docs/spec/actuarial-interchange.md`). See the generated diagnostic formula catalog (`docs/reference/diagnostic-formulas.md`) and 0.6 migration guide (`docs/migrations/0.6-generalized-diagnostics.md`).
|
|
56
58
|
|
|
57
59
|
## License
|
|
58
60
|
|
|
59
61
|
Apache-2.0. See LICENSE and NOTICE.
|
|
60
62
|
|
|
61
63
|
SDK 0.9 adds native post-aggregation formulas and correct financial currency units.
|
|
62
|
-
See the
|
|
64
|
+
See the 0.9 migration guide (`docs/migrations/0.9-analysis-expressions.md`).
|
|
65
|
+
|
|
66
|
+
## Composite history sources
|
|
67
|
+
|
|
68
|
+
SDK 0.10 adds multiple original artifacts within one claim namespace, explicit
|
|
69
|
+
composite identity selectors and complete input-artifact membership checks.
|
|
70
|
+
Upgrade the five SDK packages together and preserve the producing runtime
|
|
71
|
+
with archived evidence. See the 0.10 migration guide (`docs/migrations/0.10-composite-history.md`).
|
package/dist/envelope.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ export declare const INTERCHANGE_SPEC_MAJOR = 1;
|
|
|
32
32
|
* This package's version, stamped into `generator` by default. A sync test
|
|
33
33
|
* asserts it matches package.json so it cannot silently drift.
|
|
34
34
|
*/
|
|
35
|
-
export declare const INTERCHANGE_PACKAGE_VERSION = "0.
|
|
35
|
+
export declare const INTERCHANGE_PACKAGE_VERSION = "0.11.0";
|
|
36
36
|
export interface GeneratorStamp {
|
|
37
37
|
name: string;
|
|
38
38
|
version: string;
|
package/dist/envelope.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"envelope.d.ts","sourceRoot":"","sources":["../src/envelope.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAEH,wDAAwD;AACxD,eAAO,MAAM,wBAAwB,UAAU,CAAC;AAEhD,iFAAiF;AACjF,eAAO,MAAM,sBAAsB,IAAI,CAAC;AAExC;;;GAGG;AACH,eAAO,MAAM,2BAA2B,
|
|
1
|
+
{"version":3,"file":"envelope.d.ts","sourceRoot":"","sources":["../src/envelope.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAEH,wDAAwD;AACxD,eAAO,MAAM,wBAAwB,UAAU,CAAC;AAEhD,iFAAiF;AACjF,eAAO,MAAM,sBAAsB,IAAI,CAAC;AAExC;;;GAGG;AACH,eAAO,MAAM,2BAA2B,WAAW,CAAC;AAEpD,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,wEAAwE;AACxE,eAAO,MAAM,iBAAiB,EAAE,QAAQ,CAAC,cAAc,CAGrD,CAAC;AAEH,eAAO,MAAM,cAAc,qKAUjB,CAAC;AAEX,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,CAAC,CAAC;AAmB3D,iCAAiC;AACjC,eAAO,MAAM,eAAe,aAAqC,CAAC;AAElE,eAAO,MAAM,eAAe;;;;;;;;;gCAEZ,CAAC;AAEjB;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,CAAC,SAAS,YAAY,EAAE,IAAI,EAAE,CAAC;;;;;;;;;;;;;;;;EAe5D;AAED,2EAA2E;AAC3E,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAMD;;;GAGG;AACH,wBAAgB,cAAc,CAAC,GAAG,EAAE,YAAY,GAAG,OAAO,CAoBzD;AAED,oEAAoE;AACpE,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,YAAY,GAAG,MAAM,CAE1D;AAED,kEAAkE;AAClE,wBAAgB,cAAc,CAAC,CAAC,SAAS,YAAY,EACnD,GAAG,EAAE,YAAY,GAAG,IAAI,CAAC,CAAC,EAAE,WAAW,CAAC,GACvC,CAAC,CAEH;AAED,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,OAAO,CAAC;IACZ,iDAAiD;IACjD,QAAQ,EAAE,MAAM,CAAC;IACjB,mCAAmC;IACnC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB;AAED,gFAAgF;AAChF,wBAAgB,eAAe,CAAC,GAAG,EAAE,YAAY,GAAG,cAAc,CAKjE;AAED,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,OAAO,EAAE,OAAO,GAAG,aAAa,CAmB7D"}
|
package/dist/envelope.js
CHANGED
|
@@ -34,7 +34,7 @@ export const INTERCHANGE_SPEC_MAJOR = 1;
|
|
|
34
34
|
* This package's version, stamped into `generator` by default. A sync test
|
|
35
35
|
* asserts it matches package.json so it cannot silently drift.
|
|
36
36
|
*/
|
|
37
|
-
export const INTERCHANGE_PACKAGE_VERSION = "0.
|
|
37
|
+
export const INTERCHANGE_PACKAGE_VERSION = "0.11.0";
|
|
38
38
|
/** Default `generator` stamp for documents authored by this package. */
|
|
39
39
|
export const DEFAULT_GENERATOR = Object.freeze({
|
|
40
40
|
name: "@actuarial-ts/interchange",
|
package/dist/envelope.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"envelope.js","sourceRoot":"","sources":["../src/envelope.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,aAAa,EACb,OAAO,EACP,aAAa,GACd,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAEnD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAEH,wDAAwD;AACxD,MAAM,CAAC,MAAM,wBAAwB,GAAG,OAAO,CAAC;AAEhD,iFAAiF;AACjF,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC;AAExC;;;GAGG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,
|
|
1
|
+
{"version":3,"file":"envelope.js","sourceRoot":"","sources":["../src/envelope.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,aAAa,EACb,OAAO,EACP,aAAa,GACd,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAEnD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAEH,wDAAwD;AACxD,MAAM,CAAC,MAAM,wBAAwB,GAAG,OAAO,CAAC;AAEhD,iFAAiF;AACjF,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC;AAExC;;;GAGG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,QAAQ,CAAC;AAOpD,wEAAwE;AACxE,MAAM,CAAC,MAAM,iBAAiB,GAA6B,MAAM,CAAC,MAAM,CAAC;IACvE,IAAI,EAAE,2BAA2B;IACjC,OAAO,EAAE,2BAA2B;CACrC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,UA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AAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@actuarial-ts/interchange",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"description": "Language-neutral actuarial-interchange documents for triangles, selections, results, studies, bundles, crosschecks, and portable diagnostic definitions across TypeScript, Python, and R.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
"emit-schema": "npm run build && node --experimental-strip-types scripts/emit-schema.ts"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@actuarial-ts/core": "^0.
|
|
58
|
-
"@actuarial-ts/data": "^0.
|
|
57
|
+
"@actuarial-ts/core": "^0.11.0",
|
|
58
|
+
"@actuarial-ts/data": "^0.11.0",
|
|
59
59
|
"zod": "^3.25.76"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
package/src/envelope.ts
CHANGED
|
@@ -43,7 +43,7 @@ export const INTERCHANGE_SPEC_MAJOR = 1;
|
|
|
43
43
|
* This package's version, stamped into `generator` by default. A sync test
|
|
44
44
|
* asserts it matches package.json so it cannot silently drift.
|
|
45
45
|
*/
|
|
46
|
-
export const INTERCHANGE_PACKAGE_VERSION = "0.
|
|
46
|
+
export const INTERCHANGE_PACKAGE_VERSION = "0.11.0";
|
|
47
47
|
|
|
48
48
|
export interface GeneratorStamp {
|
|
49
49
|
name: string;
|