@genesislcap/blank-app-seed 3.10.3 → 3.10.5

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/blank-app-seed-config",
3
3
  "description": "Genesis Blank App Seed Configuration",
4
- "version": "3.10.3",
4
+ "version": "3.10.5",
5
5
  "license": "Apache-2.0",
6
6
  "genxSeedConfig": {
7
7
  "exclude": [
@@ -1,5 +1,5 @@
1
1
  {
2
- "UI": "14.180.5",
2
+ "UI": "14.180.6",
3
3
  "GSF": "7.2.5",
4
4
  "Auth": "7.2.1"
5
5
  }
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [3.10.5](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v3.10.4...v3.10.5) (2024-05-22)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * Using stripping out bigints - GENC-500 (#220) a1e7d84
9
+
10
+ ## [3.10.4](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v3.10.3...v3.10.4) (2024-05-22)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * overflow-wrap for long string in snackbar GENC-494 (#219) d5f4f58
16
+
3
17
  ## [3.10.3](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v3.10.2...v3.10.3) (2024-05-21)
4
18
 
5
19
 
@@ -52,11 +52,27 @@ export const listenForIntent = async (
52
52
  addIntentListener(intent, (result) => callback(result));
53
53
  };
54
54
 
55
+ export const stripOutBigInt = (object: any): any => {
56
+
57
+ object = { ...object };
58
+
59
+ Object.keys(object).forEach(key => {
60
+ if (typeof object[key] === 'bigint') {
61
+ delete object[key]
62
+ } else if (typeof object[key] === 'object') {
63
+ object[key] = stripOutBigInt(object[key]);
64
+ }
65
+ })
66
+
67
+ return object;
68
+ }
69
+
55
70
  export const sendEventOnChannel = (channelName: string, type: string) => {
56
71
  return async (e: any) => {
57
72
  // check for ag-grid-specific events, fall back to standard events
58
- const payload = e.data?.payload || e.detail;
59
- sendMessageOnChannel(channelName, type, payload);
73
+ const payload = e.data || e.detail;
74
+ const sanitised = stripOutBigInt(payload);
75
+ sendMessageOnChannel(channelName, type, sanitised);
60
76
  };
61
77
  };
62
78
  {{/if}}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/blank-app-seed",
3
3
  "description": "Genesis Blank App Seed",
4
- "version": "3.10.3",
4
+ "version": "3.10.5",
5
5
  "license": "Apache-2.0",
6
6
  "scripts": {
7
7
  "release": "semantic-release"