tonder-web-sdk 1.9.2-beta.5 → 1.9.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tonder-web-sdk",
3
- "version": "1.9.2-beta.5",
3
+ "version": "1.9.2",
4
4
  "description": "tonder sdk for integrations",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -209,7 +209,7 @@ function updateErrorLabel(element, errorStyles, color = "" ){
209
209
  errorTextStyles: {
210
210
  ...errorStyles,
211
211
  base: {
212
- ...errorStyles.base,
212
+ ...(errorStyles.base && {...errorStyles.base}),
213
213
  ...(color != "" && {color})
214
214
  }
215
215
  }