@truly-you/trulyyou-web-sdk 0.1.10 → 0.1.11

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@truly-you/trulyyou-web-sdk",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "description": "TrulyYou Web SDK for secure authentication and payload signing",
5
5
  "type": "module",
6
6
  "main": "dist/index.esm.js",
@@ -361,12 +361,12 @@ export class TrulyYouSDK {
361
361
  document.body.appendChild(iframe)
362
362
  console.log('[SDK-PROBE]: Iframe appended to body, waiting for response...')
363
363
 
364
- // Short timeout to keep UX snappy
364
+ // Timeout to allow for React hydration on sign page
365
365
  timeout = setTimeout(() => {
366
- console.log('[SDK-PROBE]: Timeout reached (1500ms), no response from iframe')
366
+ console.log('[SDK-PROBE]: Timeout reached (3000ms), no response from iframe')
367
367
  cleanup()
368
368
  resolve(null)
369
- }, 1500)
369
+ }, 3000)
370
370
  } catch (error) {
371
371
  console.error('[SDK-PROBE]: Error in probeIframeForKey:', error)
372
372
  resolve(null)