Skip to content

Commit b9689ba

Browse files
committed
prepare 3.1.0 release
1 parent de9af0f commit b9689ba

File tree

4 files changed

+15
-7
lines changed

4 files changed

+15
-7
lines changed

dist/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ export * from './typings';
33
export declare class MtLinkSdk {
44
storedOptions: StoredOptions;
55
init(clientId: string, options?: InitOptions): void;
6+
setSamlSubjectId(value: string): void;
67
authorize(options?: AuthorizeOptions): void;
78
onboard(options?: OnboardOptions): void;
89
logout(options?: LogoutOptions): void;

dist/index.js

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/typings.d.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
1-
export declare type AuthAction = 'login' | 'signup';
1+
export declare const supportedAuthAction: readonly ["login", "signup"];
2+
export declare type AuthAction = typeof supportedAuthAction[number];
23
export interface PrivateParams {
34
cobrandClientId?: string;
5+
samlSubjectId?: string;
46
}
57
export interface PrivateConfigsOptions {
68
sdkPlatform?: 'ios' | 'android' | 'js';
79
sdkVersion?: string;
810
}
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];
915
export interface ConfigsOptions extends PrivateConfigsOptions {
1016
email?: string;
1117
backTo?: string;
@@ -14,6 +20,7 @@ export interface ConfigsOptions extends PrivateConfigsOptions {
1420
showRememberMe?: boolean;
1521
isNewTab?: boolean;
1622
forceLogout?: boolean;
23+
authnMethod?: AuthnMethod;
1724
}
1825
export declare type ServicesListType = {
1926
view?: 'services-list';

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@moneytree/mt-link-javascript-sdk",
3-
"version": "3.0.0",
3+
"version": "3.1.0",
44
"description": "Moneytree Link JavaScript SDK",
55
"main": "dist/index.js",
66
"files": [

0 commit comments

Comments
 (0)