@actuarial-ts/interchange 0.8.0 → 0.9.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 +9 -6
- package/dist/envelope.d.ts +1 -1
- package/dist/envelope.js +1 -1
- package/package.json +3 -3
- package/src/envelope.ts +1 -1
package/README.md
CHANGED
|
@@ -3,15 +3,15 @@
|
|
|
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.9.0 @actuarial-ts/core@0.9.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
11
|
Wire 1.2 adds the portable `customization-analysis` document. TypeScript can
|
|
12
12
|
execute and verify its current contracts; Python and R adapter 0.3 parse and
|
|
13
|
-
preserve it without claiming execution. See the [0.8 adoption guide](https://github.com/yerromnitsuj/actng/blob/v0.
|
|
14
|
-
and [customization reference](https://github.com/yerromnitsuj/actng/blob/v0.
|
|
13
|
+
preserve it without claiming execution. See the [0.8 adoption guide](https://github.com/yerromnitsuj/actng/blob/v0.9.0/docs/migrations/0.8-reusable-customization.md)
|
|
14
|
+
and [customization reference](https://github.com/yerromnitsuj/actng/blob/v0.9.0/docs/reference/reusable-customization.md).
|
|
15
15
|
|
|
16
16
|
## Document kinds
|
|
17
17
|
|
|
@@ -45,15 +45,18 @@ passed to `parseDocument`, and is not the three-shore aggregate-cell replay
|
|
|
45
45
|
contract described above. Use compliance's dedicated stream reader with its
|
|
46
46
|
required resource policy. A stream's engine-version identities also require
|
|
47
47
|
retaining the producing SDK versions; same interchange or stream wire versions
|
|
48
|
-
do not promise cross-SDK-version verification. See the [compact adoption guide](https://github.com/yerromnitsuj/actng/blob/v0.
|
|
49
|
-
and [replay reference](https://github.com/yerromnitsuj/actng/blob/v0.
|
|
48
|
+
do not promise cross-SDK-version verification. See the [compact adoption guide](https://github.com/yerromnitsuj/actng/blob/v0.9.0/docs/migrations/0.7-compact-diagnostics.md)
|
|
49
|
+
and [replay reference](https://github.com/yerromnitsuj/actng/blob/v0.9.0/docs/reference/diagnostic-replay-stream.md).
|
|
50
50
|
|
|
51
51
|
`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
52
|
|
|
53
53
|
Integrity tags detect accidental drift and support deterministic linking. FNV-1a is unkeyed and is not tamper resistance, authentication, or a security boundary.
|
|
54
54
|
|
|
55
|
-
The normative format is [actuarial-interchange rev 2.5](https://github.com/yerromnitsuj/actng/blob/v0.
|
|
55
|
+
The normative format is [actuarial-interchange rev 2.5](https://github.com/yerromnitsuj/actng/blob/v0.9.0/docs/spec/actuarial-interchange.md). See the generated [diagnostic formula catalog](https://github.com/yerromnitsuj/actng/blob/v0.9.0/docs/reference/diagnostic-formulas.md) and [0.6 migration guide](https://github.com/yerromnitsuj/actng/blob/v0.9.0/docs/migrations/0.6-generalized-diagnostics.md).
|
|
56
56
|
|
|
57
57
|
## License
|
|
58
58
|
|
|
59
59
|
Apache-2.0. See LICENSE and NOTICE.
|
|
60
|
+
|
|
61
|
+
SDK 0.9 adds native post-aggregation formulas and correct financial currency units.
|
|
62
|
+
See the [0.9 migration guide](https://github.com/yerromnitsuj/actng/blob/v0.9.0/docs/migrations/0.9-analysis-expressions.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.9.0";
|
|
36
36
|
export interface GeneratorStamp {
|
|
37
37
|
name: string;
|
|
38
38
|
version: string;
|
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.9.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@actuarial-ts/interchange",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.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.9.0",
|
|
58
|
+
"@actuarial-ts/data": "^0.9.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.9.0";
|
|
47
47
|
|
|
48
48
|
export interface GeneratorStamp {
|
|
49
49
|
name: string;
|