idmission-web-sdk 2.3.149 → 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.
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.149';
207
+ var webSdkVersion = '2.3.151';
208
208
 
209
209
  function getPlatform() {
210
210
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -17868,10 +17868,9 @@ 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];
17872
17871
  var theme = useMemo(function () {
17873
- return resolveTheme(themeRef);
17874
- }, [themeRef]);
17872
+ return resolveTheme(themeInput);
17873
+ }, [themeInput]);
17875
17874
  var colors = theme.colors;
17876
17875
  useEffect(function () {
17877
17876
  for (var name_1 in colors) {