idmission-web-sdk 2.3.142 → 2.3.144

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.
@@ -235,7 +235,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
235
235
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
236
236
  };
237
237
 
238
- var webSdkVersion = '2.3.142';
238
+ var webSdkVersion = '2.3.144';
239
239
 
240
240
  function getPlatform() {
241
241
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -17899,9 +17899,10 @@ var resolveTheme = function resolveTheme(input) {
17899
17899
  var ThemeProvider = function ThemeProvider(_a) {
17900
17900
  var children = _a.children,
17901
17901
  themeInput = _a.theme;
17902
+ var themeRef = React.useState(themeInput)[0];
17902
17903
  var theme = React.useMemo(function () {
17903
- return resolveTheme(themeInput);
17904
- }, [themeInput]);
17904
+ return resolveTheme(themeRef);
17905
+ }, [themeRef]);
17905
17906
  var colors = theme.colors;
17906
17907
  React.useEffect(function () {
17907
17908
  for (var name_1 in colors) {