@actuarial-ts/interchange 0.4.0 → 0.5.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/dist/convert/result.js +1 -1
- package/dist/envelope.d.ts +1 -1
- package/dist/envelope.js +1 -1
- package/package.json +2 -2
- package/src/convert/result.ts +1 -1
- package/src/envelope.ts +1 -1
package/dist/convert/result.js
CHANGED
|
@@ -5,7 +5,7 @@ import { methodResultDocSchema, } from "../schemas/result.js";
|
|
|
5
5
|
* The engine stamp for results computed by @actuarial-ts/core. A sync test
|
|
6
6
|
* pins the version to the installed core package so it cannot drift.
|
|
7
7
|
*/
|
|
8
|
-
export const CORE_ENGINE = { name: "actuarial-ts", version: "0.
|
|
8
|
+
export const CORE_ENGINE = { name: "actuarial-ts", version: "0.5.0" };
|
|
9
9
|
function mapResult(result) {
|
|
10
10
|
switch (result.method) {
|
|
11
11
|
case "chainLadder":
|
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.5.0";
|
|
36
36
|
export interface GeneratorStamp {
|
|
37
37
|
name: string;
|
|
38
38
|
version: string;
|
package/dist/envelope.js
CHANGED
|
@@ -33,7 +33,7 @@ export const INTERCHANGE_SPEC_MAJOR = 1;
|
|
|
33
33
|
* This package's version, stamped into `generator` by default. A sync test
|
|
34
34
|
* asserts it matches package.json so it cannot silently drift.
|
|
35
35
|
*/
|
|
36
|
-
export const INTERCHANGE_PACKAGE_VERSION = "0.
|
|
36
|
+
export const INTERCHANGE_PACKAGE_VERSION = "0.5.0";
|
|
37
37
|
/** Default `generator` stamp for documents authored by this package. */
|
|
38
38
|
export const DEFAULT_GENERATOR = {
|
|
39
39
|
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.5.0",
|
|
4
4
|
"description": "The actuarial-interchange format for the actuarial-ts SDK: language-neutral, versioned interchange documents (triangles, selections, method results, studies, bundles, crosscheck reports) with RFC 8785 canonicalization, semantic-body integrity tags, an intent/value coherence rule, and the cross-implementation referee. Bridges actuarial-ts with chainladder-python and R ChainLadder.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"emit-schema": "npm run build && node --experimental-strip-types scripts/emit-schema.ts"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@actuarial-ts/core": "^0.
|
|
56
|
+
"@actuarial-ts/core": "^0.5.0",
|
|
57
57
|
"zod": "^3.25.76"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
package/src/convert/result.ts
CHANGED
|
@@ -46,7 +46,7 @@ export type ConvertibleResult =
|
|
|
46
46
|
* The engine stamp for results computed by @actuarial-ts/core. A sync test
|
|
47
47
|
* pins the version to the installed core package so it cannot drift.
|
|
48
48
|
*/
|
|
49
|
-
export const CORE_ENGINE: EngineStamp = { name: "actuarial-ts", version: "0.
|
|
49
|
+
export const CORE_ENGINE: EngineStamp = { name: "actuarial-ts", version: "0.5.0" };
|
|
50
50
|
|
|
51
51
|
export interface ResultToDocOptions {
|
|
52
52
|
/** The triangle document the result was computed from. */
|
package/src/envelope.ts
CHANGED
|
@@ -37,7 +37,7 @@ export const INTERCHANGE_SPEC_MAJOR = 1;
|
|
|
37
37
|
* This package's version, stamped into `generator` by default. A sync test
|
|
38
38
|
* asserts it matches package.json so it cannot silently drift.
|
|
39
39
|
*/
|
|
40
|
-
export const INTERCHANGE_PACKAGE_VERSION = "0.
|
|
40
|
+
export const INTERCHANGE_PACKAGE_VERSION = "0.5.0";
|
|
41
41
|
|
|
42
42
|
export interface GeneratorStamp {
|
|
43
43
|
name: string;
|