idmission-web-sdk 2.3.150 → 2.3.151

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.150';
214
+ var webSdkVersion = '2.3.151';
215
215
 
216
216
  function getPlatform() {
217
217
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -27774,10 +27774,9 @@
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];
27778
27777
  var theme = React.useMemo(function () {
27779
- return resolveTheme(themeRef);
27780
- }, [themeRef]);
27778
+ return resolveTheme(themeInput);
27779
+ }, [themeInput]);
27781
27780
  var colors = theme.colors;
27782
27781
  React.useEffect(function () {
27783
27782
  for (var name_1 in colors) {