idmission-web-sdk 2.3.142 → 2.3.143

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.
@@ -211,7 +211,7 @@
211
211
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
212
212
  };
213
213
 
214
- var webSdkVersion = '2.3.142';
214
+ var webSdkVersion = '2.3.143';
215
215
 
216
216
  function getPlatform() {
217
217
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -27774,9 +27774,10 @@
27774
27774
  var ThemeProvider = function ThemeProvider(_a) {
27775
27775
  var children = _a.children,
27776
27776
  themeInput = _a.theme;
27777
+ var themeRef = React.useState(themeInput)[0];
27777
27778
  var theme = React.useMemo(function () {
27778
- return resolveTheme(themeInput);
27779
- }, [themeInput]);
27779
+ return resolveTheme(themeRef);
27780
+ }, [themeRef]);
27780
27781
  var colors = theme.colors;
27781
27782
  React.useEffect(function () {
27782
27783
  for (var name_1 in colors) {