@trackunit/iris-app-runtime-core 0.3.76 → 0.3.78

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/index.cjs.js CHANGED
@@ -603,6 +603,12 @@ const getCustomFieldValueToSaveFromRawValue = (customFieldDefinition, newValue)
603
603
  type: irisAppRuntimeCoreApi.CustomFieldType.NUMBER,
604
604
  };
605
605
  }
606
+ else if (customFieldDefinition.type === irisAppRuntimeCoreApi.CustomFieldType.MONETARY) {
607
+ return {
608
+ numberValue: newValue,
609
+ type: irisAppRuntimeCoreApi.CustomFieldType.MONETARY,
610
+ };
611
+ }
606
612
  else if (customFieldDefinition.type === irisAppRuntimeCoreApi.CustomFieldType.PHONE_NUMBER) {
607
613
  return {
608
614
  stringValue: getStringValue(newValue),
package/index.esm.js CHANGED
@@ -600,6 +600,12 @@ const getCustomFieldValueToSaveFromRawValue = (customFieldDefinition, newValue)
600
600
  type: CustomFieldType.NUMBER,
601
601
  };
602
602
  }
603
+ else if (customFieldDefinition.type === CustomFieldType.MONETARY) {
604
+ return {
605
+ numberValue: newValue,
606
+ type: CustomFieldType.MONETARY,
607
+ };
608
+ }
603
609
  else if (customFieldDefinition.type === CustomFieldType.PHONE_NUMBER) {
604
610
  return {
605
611
  stringValue: getStringValue(newValue),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/iris-app-runtime-core",
3
- "version": "0.3.76",
3
+ "version": "0.3.78",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -9,8 +9,8 @@
9
9
  "module": "./index.esm.js",
10
10
  "main": "./index.cjs.js",
11
11
  "dependencies": {
12
- "@trackunit/iris-app-runtime-core-api": "0.3.69",
13
- "@trackunit/react-core-contexts-api": "0.2.57"
12
+ "@trackunit/iris-app-runtime-core-api": "0.3.70",
13
+ "@trackunit/react-core-contexts-api": "0.2.58"
14
14
  },
15
15
  "peerDependencies": {}
16
16
  }