Breaking change at environments API from 0.15.0 to 0.22.0. Updating encryption through the API no longer exists or is referenced in the changelog
// Desired status is whatever we want and in my use case, comes from ENV
const desiredStatus = true
const response = await this.novu.environments.updateWidget({ notificationCenterEncryption: desiredStatus })
As you can see the API above is valid at 0.15.0 and the use case is to sync any instance running with the provided config to my custom Nestjs wrapper around Novu (this wrapper syncs configurations that come from env/dynamic with the running tenant and encryption is one of the properties)
👟 Reproduction steps
Install the latest version or starting from ``
Observe that environments no longer exposes a way to update a widget or encryption status at all expose
👍 Expected behavior
A method that is exposed through the SDK in order to facilitate encryption toggling
👎 Actual Behavior with Screenshots
No longer exists, might have been changed and there might be another way of doing but it wasn't listed/referencedIt no
Novu version
0.16.0 or anything after 0.15.0
npm version
8.18.2
node version
18.12.0
📃 Provide any additional context for the Bug.
No response
👀 Have you spent some time to check if this bug has been raised before?
📜 Description
Breaking change at environments API from 0.15.0 to 0.22.0. Updating encryption through the API no longer exists or is referenced in the changelog
As you can see the API above is valid at
0.15.0
and the use case is to sync any instance running with the provided config to my custom Nestjs wrapper around Novu (this wrapper syncs configurations that come from env/dynamic with the running tenant and encryption is one of the properties)👟 Reproduction steps
environments
no longer exposes a way to update a widget or encryption status at all expose👍 Expected behavior
A method that is exposed through the SDK in order to facilitate encryption toggling
👎 Actual Behavior with Screenshots
No longer exists, might have been changed and there might be another way of doing but it wasn't listed/referencedIt no
Novu version
0.16.0 or anything after 0.15.0
npm version
8.18.2
node version
18.12.0
📃 Provide any additional context for the Bug.
No response
👀 Have you spent some time to check if this bug has been raised before?
🏢 Have you read the Contributing Guidelines?
Are you willing to submit PR?
Yes I am willing to submit a PR!