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.
@@ -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.150';
238
+ var webSdkVersion = '2.3.151';
239
239
 
240
240
  function getPlatform() {
241
241
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -17899,10 +17899,9 @@ 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];
17903
17902
  var theme = React.useMemo(function () {
17904
- return resolveTheme(themeRef);
17905
- }, [themeRef]);
17903
+ return resolveTheme(themeInput);
17904
+ }, [themeInput]);
17906
17905
  var colors = theme.colors;
17907
17906
  React.useEffect(function () {
17908
17907
  for (var name_1 in colors) {