idmission-web-sdk 2.3.141 → 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.
package/dist/sdk2.esm.js CHANGED
@@ -204,7 +204,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
204
204
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
205
205
  };
206
206
 
207
- var webSdkVersion = '2.3.141';
207
+ var webSdkVersion = '2.3.143';
208
208
 
209
209
  function getPlatform() {
210
210
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -17868,9 +17868,10 @@ var resolveTheme = function resolveTheme(input) {
17868
17868
  var ThemeProvider = function ThemeProvider(_a) {
17869
17869
  var children = _a.children,
17870
17870
  themeInput = _a.theme;
17871
+ var themeRef = useState(themeInput)[0];
17871
17872
  var theme = useMemo(function () {
17872
- return resolveTheme(themeInput);
17873
- }, [themeInput]);
17873
+ return resolveTheme(themeRef);
17874
+ }, [themeRef]);
17874
17875
  var colors = theme.colors;
17875
17876
  useEffect(function () {
17876
17877
  for (var name_1 in colors) {