@moneytree/mt-link-javascript-sdk 3.0.0 → 3.1.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/CHANGELOG.md +14 -49
- package/dist/index.d.ts +1 -0
- package/dist/index.js +5 -5
- package/dist/typings.d.ts +8 -1
- package/package.json +1 -1
package/dist/typings.d.ts
CHANGED
|
@@ -1,11 +1,17 @@
|
|
|
1
|
-
export declare
|
|
1
|
+
export declare const supportedAuthAction: readonly ["login", "signup"];
|
|
2
|
+
export declare type AuthAction = typeof supportedAuthAction[number];
|
|
2
3
|
export interface PrivateParams {
|
|
3
4
|
cobrandClientId?: string;
|
|
5
|
+
samlSubjectId?: string;
|
|
4
6
|
}
|
|
5
7
|
export interface PrivateConfigsOptions {
|
|
6
8
|
sdkPlatform?: 'ios' | 'android' | 'js';
|
|
7
9
|
sdkVersion?: string;
|
|
8
10
|
}
|
|
11
|
+
export declare const supportedAuthnMethod: readonly ["passwordless", "sso", "credentials"];
|
|
12
|
+
export declare type AuthnMethod = typeof supportedAuthnMethod[number];
|
|
13
|
+
export declare const supportedConfigsOptions: readonly ["email", "backTo", "authAction", "showAuthToggle", "showRememberMe", "isNewTab", "forceLogout", "authnMethod"];
|
|
14
|
+
export declare type SupportedConfigsOptions = typeof supportedConfigsOptions[number];
|
|
9
15
|
export interface ConfigsOptions extends PrivateConfigsOptions {
|
|
10
16
|
email?: string;
|
|
11
17
|
backTo?: string;
|
|
@@ -14,6 +20,7 @@ export interface ConfigsOptions extends PrivateConfigsOptions {
|
|
|
14
20
|
showRememberMe?: boolean;
|
|
15
21
|
isNewTab?: boolean;
|
|
16
22
|
forceLogout?: boolean;
|
|
23
|
+
authnMethod?: AuthnMethod;
|
|
17
24
|
}
|
|
18
25
|
export declare type ServicesListType = {
|
|
19
26
|
view?: 'services-list';
|