As of the parent differential we no longer have to use 3rd party node-fetch API since its
enchanced version comes embedded within node v18. This differential removes this package from the project
and replaces its useges with native API.
Details
Details
Tried sending messages to windows app and they were received correctly. Confirmed that the keyserver obtained WNS token correctly.
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Branch
- marcin/eng-4527
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
keyserver/src/push/utils.js | ||
---|---|---|
370 ↗ | (On Diff #29167) | In node-fetch result.headers.get('....') is typed as string, while in native node-fetch it is typed as null | string. Therefore without this invariant return type of wnsPush would be violated as it expects wnsID property to be always string. |
package.json | ||
56 ↗ | (On Diff #29167) | If anyone gets confused the reason for this changed has been explained previously: https://phab.comm.dev/D8529?id=28774#inline-54808 |