@corbado/observe 0.10.0-next.87-3b6d5be → 0.11.0
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/cdn/script.global.js +1 -1
- package/dist/index.d.mts +2 -11
- package/dist/index.d.ts +2 -11
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -784,8 +784,7 @@ declare class AppConfirmationOperationFull extends OperationFull {
|
|
|
784
784
|
}
|
|
785
785
|
|
|
786
786
|
/**
|
|
787
|
-
* Which captcha widget the integration observed.
|
|
788
|
-
* is a property of the rendered challenge, not of the integration:
|
|
787
|
+
* Which captcha widget the integration observed.
|
|
789
788
|
* - `visible`: a widget presenting UI to the user. Can require interaction.
|
|
790
789
|
* - `invisible`: a widget that never presents UI and always solves itself.
|
|
791
790
|
*/
|
|
@@ -794,12 +793,7 @@ type CaptchaOperationConfig = {
|
|
|
794
793
|
explicitSpecType?: CaptchaOperationSpecType;
|
|
795
794
|
};
|
|
796
795
|
declare class CaptchaOperationFull extends OperationFull {
|
|
797
|
-
/**
|
|
798
|
-
* Challenge shown (`start`) until a captcha token exists (`finished`) or the challenge failed.
|
|
799
|
-
*
|
|
800
|
-
* The ceremony carries no actor: a widget that self-solves and one awaiting a click are the same
|
|
801
|
-
* observation from the page, and nothing in a vendor's frame reports which of the two happened.
|
|
802
|
-
*/
|
|
796
|
+
/** Step representing the captcha challenge ceremony. */
|
|
803
797
|
readonly ceremony: StepHelper;
|
|
804
798
|
/** Submission of the captcha token and the server's verdict on it. */
|
|
805
799
|
readonly postResponse: StepHelper;
|
|
@@ -859,8 +853,6 @@ interface TrackerOptions {
|
|
|
859
853
|
* It will be removed in a future release.
|
|
860
854
|
*/
|
|
861
855
|
flushInterval?: number;
|
|
862
|
-
/** Generates new Observe session ids; returned values must be UUID-compatible. Existing stored sessions are still reused. */
|
|
863
|
-
sessionIdGenerator?: () => string;
|
|
864
856
|
}
|
|
865
857
|
declare class CorbadoTracker {
|
|
866
858
|
private options;
|
|
@@ -947,7 +939,6 @@ declare class CorbadoTracker {
|
|
|
947
939
|
*/
|
|
948
940
|
private resolveExperiments;
|
|
949
941
|
private isTrackingBlocked;
|
|
950
|
-
private createSessionId;
|
|
951
942
|
private resolveSessionId;
|
|
952
943
|
/**
|
|
953
944
|
* Resolve the session id from localStorage so it survives reloads and is shared across tabs of the
|
package/dist/index.d.ts
CHANGED
|
@@ -784,8 +784,7 @@ declare class AppConfirmationOperationFull extends OperationFull {
|
|
|
784
784
|
}
|
|
785
785
|
|
|
786
786
|
/**
|
|
787
|
-
* Which captcha widget the integration observed.
|
|
788
|
-
* is a property of the rendered challenge, not of the integration:
|
|
787
|
+
* Which captcha widget the integration observed.
|
|
789
788
|
* - `visible`: a widget presenting UI to the user. Can require interaction.
|
|
790
789
|
* - `invisible`: a widget that never presents UI and always solves itself.
|
|
791
790
|
*/
|
|
@@ -794,12 +793,7 @@ type CaptchaOperationConfig = {
|
|
|
794
793
|
explicitSpecType?: CaptchaOperationSpecType;
|
|
795
794
|
};
|
|
796
795
|
declare class CaptchaOperationFull extends OperationFull {
|
|
797
|
-
/**
|
|
798
|
-
* Challenge shown (`start`) until a captcha token exists (`finished`) or the challenge failed.
|
|
799
|
-
*
|
|
800
|
-
* The ceremony carries no actor: a widget that self-solves and one awaiting a click are the same
|
|
801
|
-
* observation from the page, and nothing in a vendor's frame reports which of the two happened.
|
|
802
|
-
*/
|
|
796
|
+
/** Step representing the captcha challenge ceremony. */
|
|
803
797
|
readonly ceremony: StepHelper;
|
|
804
798
|
/** Submission of the captcha token and the server's verdict on it. */
|
|
805
799
|
readonly postResponse: StepHelper;
|
|
@@ -859,8 +853,6 @@ interface TrackerOptions {
|
|
|
859
853
|
* It will be removed in a future release.
|
|
860
854
|
*/
|
|
861
855
|
flushInterval?: number;
|
|
862
|
-
/** Generates new Observe session ids; returned values must be UUID-compatible. Existing stored sessions are still reused. */
|
|
863
|
-
sessionIdGenerator?: () => string;
|
|
864
856
|
}
|
|
865
857
|
declare class CorbadoTracker {
|
|
866
858
|
private options;
|
|
@@ -947,7 +939,6 @@ declare class CorbadoTracker {
|
|
|
947
939
|
*/
|
|
948
940
|
private resolveExperiments;
|
|
949
941
|
private isTrackingBlocked;
|
|
950
|
-
private createSessionId;
|
|
951
942
|
private resolveSessionId;
|
|
952
943
|
/**
|
|
953
944
|
* Resolve the session id from localStorage so it survives reloads and is shared across tabs of the
|