idmission-web-sdk 2.6.3-changeset-release-develop-78427b0 → 2.6.3-changeset-release-develop-c5e05cf

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/index.d.ts CHANGED
@@ -11213,7 +11213,7 @@ declare global {
11213
11213
  var IDmissionSDK: IDmissionSDK;
11214
11214
  }
11215
11215
 
11216
- declare const webSdkVersion = "2.6.3-changeset-release-develop-78427b0";
11216
+ declare const webSdkVersion = "2.6.3-changeset-release-develop-c5e05cf";
11217
11217
 
11218
11218
  /**
11219
11219
  * sdk2's imperative handle on the video-signature capture screen
package/dist/props.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$comment": "GENERATED by scripts/propsManifest.mjs at build time. Each customer flow's props, read off dist/index.d.ts.",
3
3
  "schemaVersion": 1,
4
- "version": "2.6.3-changeset-release-develop-78427b0",
4
+ "version": "2.6.3-changeset-release-develop-c5e05cf",
5
5
  "components": {
6
6
  "IdValidation": {
7
7
  "description": "Render a fullscreen ID capture component that instructs the user to\nphotograph both sides of their ID card, or the full page of their passport.",
@@ -48491,7 +48491,7 @@ function mapCustomerIdAndBiometricsEnrollmentProps(props, ctx) {
48491
48491
  });
48492
48492
  }
48493
48493
 
48494
- var webSdkVersion = '2.6.3-changeset-release-develop-78427b0';
48494
+ var webSdkVersion = '2.6.3-changeset-release-develop-c5e05cf';
48495
48495
 
48496
48496
  // GENERATED by scripts/styleBagTypes.mjs from
48497
48497
  // src/__fixtures__/sdk2StyleBags.json and the mapper sweep — do not
@@ -51409,7 +51409,6 @@ function renderElement(component, targetElement) {
51409
51409
  document.body.append(targetElement);
51410
51410
  }
51411
51411
  var root = ReactDOM__default.default.createRoot(targetElement);
51412
- root.render(/*#__PURE__*/React__default.default.createElement(OverlayContainer, null, component));
51413
51412
  if ('remove' in targetElement) {
51414
51413
  var element_1 = targetElement;
51415
51414
  // Always point at the newest root, even when the wrapper is already
@@ -51459,6 +51458,11 @@ function renderElement(component, targetElement) {
51459
51458
  };
51460
51459
  }
51461
51460
  }
51461
+ // Render after the `.remove()` wrapper is installed. `createRoot` renders
51462
+ // asynchronously, so the order doesn't matter here, but the react-16-compat
51463
+ // branch mounts through the synchronous legacy `ReactDOM.render`: an effect
51464
+ // that calls `.remove()` during the first render must hit the wrapper.
51465
+ root.render(/*#__PURE__*/React__default.default.createElement(OverlayContainer, null, component));
51462
51466
  return targetElement;
51463
51467
  }
51464
51468
  function renderComponent(Component, targetElement, options) {