@lionweb/json 0.8.0-beta.5 → 0.8.0-beta.6

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/CHANGELOG.md CHANGED
@@ -3,6 +3,8 @@
3
3
  ## 0.8.0 — not yet released
4
4
 
5
5
  * Make `reference` field of `LionWebJsonReferenceTarget` type `null`able, and ensure that not both fields are `null`.
6
+ * Deprecate usage of the `currentSerializationFormatVersion` constant, and propagate throughout the entire codebase.
7
+ Use `defaultLionWebVersion.serializationFormatVersion` with `defaultLionWebVersion` coming from the `core` package.
6
8
 
7
9
 
8
10
  ## 0.7.2
package/dist/version.d.ts CHANGED
@@ -1,5 +1,7 @@
1
1
  /**
2
2
  * The *current* version of the serialization format.
3
+ *
4
+ * @deprecated Use {@code defaultLionWebVersion.serializationFormatVersion} instead.
3
5
  */
4
6
  export declare const currentSerializationFormatVersion = "2023.1";
5
7
  //# sourceMappingURL=version.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,iCAAiC,WAAW,CAAA"}
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,iCAAiC,WAAW,CAAA"}
package/dist/version.js CHANGED
@@ -1,5 +1,7 @@
1
1
  /**
2
2
  * The *current* version of the serialization format.
3
+ *
4
+ * @deprecated Use {@code defaultLionWebVersion.serializationFormatVersion} instead.
3
5
  */
4
6
  export const currentSerializationFormatVersion = "2023.1";
5
7
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAG,QAAQ,CAAA"}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAG,QAAQ,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lionweb/json",
3
- "version": "0.8.0-beta.5",
3
+ "version": "0.8.0-beta.6",
4
4
  "description": "TypeScript types for LionWeb JSON",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/version.ts CHANGED
@@ -1,4 +1,6 @@
1
1
  /**
2
2
  * The *current* version of the serialization format.
3
+ *
4
+ * @deprecated Use {@code defaultLionWebVersion.serializationFormatVersion} instead.
3
5
  */
4
6
  export const currentSerializationFormatVersion = "2023.1"