@genesislcap/blank-app-seed 3.10.4 → 3.10.6-prerelease.1
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/.genx/package.json +1 -1
- package/.github/workflows/build.yml +1 -1
- package/.github/workflows/release.yml +1 -1
- package/.releaserc +1 -1
- package/CHANGELOG.md +15 -0
- package/client/README.md +0 -2
- package/client/src/utils/fdc3.ts +18 -2
- package/package.json +1 -1
package/.genx/package.json
CHANGED
package/.releaserc
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [3.10.6-prerelease.1](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v3.10.5...v3.10.6-prerelease.1) (2024-05-23)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* build config update GENC-511 (#223) 3b55d54
|
|
9
|
+
* remove reference to FAST GENC-511 (#222) f5adba4
|
|
10
|
+
|
|
11
|
+
## [3.10.5](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v3.10.4...v3.10.5) (2024-05-22)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* Using stripping out bigints - GENC-500 (#220) a1e7d84
|
|
17
|
+
|
|
3
18
|
## [3.10.4](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v3.10.3...v3.10.4) (2024-05-22)
|
|
4
19
|
|
|
5
20
|
|
package/client/README.md
CHANGED
|
@@ -3,8 +3,6 @@
|
|
|
3
3
|
## Frontend stack
|
|
4
4
|
|
|
5
5
|
Genesis components are standards-based Web Components, making them compatible with almost any modern web framework.
|
|
6
|
-
Our state-of-the-art design system and component set is built on top of
|
|
7
|
-
[Microsoft FAST](https://www.fast.design/docs/introduction/).
|
|
8
6
|
|
|
9
7
|
# Development
|
|
10
8
|
|
package/client/src/utils/fdc3.ts
CHANGED
|
@@ -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
|
|
59
|
-
|
|
73
|
+
const payload = e.data || e.detail;
|
|
74
|
+
const sanitised = stripOutBigInt(payload);
|
|
75
|
+
sendMessageOnChannel(channelName, type, sanitised);
|
|
60
76
|
};
|
|
61
77
|
};
|
|
62
78
|
{{/if}}
|