@worthai/onboarding-sdk 3.0.0-beta.2.12.7 → 3.0.0-beta.2.14.4
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-sdk/sdk3/hostCallback.d.ts +8 -0
- package/dist-sdk/sdk3/index-B2M5dX3Z.js +3355 -0
- package/dist-sdk/sdk3/index.d.ts +1 -0
- package/dist-sdk/sdk3/index.js +3 -2
- package/dist-sdk/sdk3/{runtimeAdapter-COcjQ078.js → runtimeAdapter-C9JcOD3e.js} +16081 -13451
- package/dist-sdk/sdk3/signal.d.ts +11 -0
- package/dist-sdk/sdk3/signal.types.d.ts +16 -0
- package/dist-sdk/sdk3/worthOnboarding.types.d.ts +8 -0
- package/dist-sdk/sdk3/worthai-onboarding-sdk.global.js +1427 -130
- package/package.json +1 -1
- package/dist-sdk/sdk3/index-Cf08HIBl.js +0 -3341
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { WorthOnboardingError } from './errors';
|
|
2
|
+
import { WorthOnboardingOptions } from './worthOnboarding.types';
|
|
3
|
+
/**
|
|
4
|
+
* Single delivery path for host error notification. Every caller is already handling a failure, so a
|
|
5
|
+
* throwing or rejecting host handler must not mask it — sync throws are swallowed and a returned
|
|
6
|
+
* promise is observed even though the public contract declares `void`.
|
|
7
|
+
*/
|
|
8
|
+
export declare function notifyHostError(onError: WorthOnboardingOptions['onError'] | undefined, error: WorthOnboardingError): void;
|