@platforma-sdk/model 1.31.6 → 1.31.14

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/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const PlatformaSDKVersion = "1.31.6";
1
+ export declare const PlatformaSDKVersion = "1.31.14";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,WAAW,CAAC"}
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,YAAY,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platforma-sdk/model",
3
- "version": "1.31.6",
3
+ "version": "1.31.14",
4
4
  "description": "Platforma.bio SDK / Block Model",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/index.js",
@@ -21,7 +21,8 @@ export type PlSelectionModel = {
21
21
 
22
22
  export function mapPTableValueToAxisKey(value: PTableValue): AxisValue {
23
23
  if (value === PTableNA) {
24
- throw new Error('Axis value can never be N/A');
24
+ console.error('Axis value can never be N/A');
25
+ return ''; // @TODO: add proper handling
25
26
  }
26
27
  return value;
27
28
  }