@atlasauth/angular 0.16.2 → 0.16.3
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 +4 -0
- package/dist/esm2022/lib/components/attempt-flow.component.mjs +33 -2
- package/dist/esm2022/lib/components/flow-controller.mjs +22 -2
- package/dist/esm2022/lib/components/sign-in.component.mjs +6 -2
- package/dist/esm2022/lib/components/sign-up.component.mjs +6 -2
- package/dist/esm2022/lib/version.mjs +2 -2
- package/dist/fesm2022/atlasauth-angular.mjs +64 -5
- package/dist/fesm2022/atlasauth-angular.mjs.map +1 -1
- package/dist/lib/components/attempt-flow.component.d.ts +4 -1
- package/dist/lib/components/flow-controller.d.ts +5 -0
- package/dist/lib/version.d.ts +1 -1
- package/package.json +3 -3
|
@@ -72,6 +72,9 @@ export declare class AttemptFlowComponent {
|
|
|
72
72
|
error?: string;
|
|
73
73
|
} | null;
|
|
74
74
|
emailSecondFactor: EventEmitter<void>;
|
|
75
|
+
/** "Use a passkey" at the second factor (`mfaChoices().passkey`): leaves for the hosted page. */
|
|
76
|
+
offerPasskeySecondFactor: boolean;
|
|
77
|
+
passkeySecondFactor: EventEmitter<void>;
|
|
75
78
|
/**
|
|
76
79
|
* Offer "Text me a code instead" at the second factor (where the app offers
|
|
77
80
|
* texted codes, `AtlasFlowController.mfaChoices().sms`); `smsSecondFactor`
|
|
@@ -176,6 +179,6 @@ export declare class AttemptFlowComponent {
|
|
|
176
179
|
protected showSubmit(): boolean;
|
|
177
180
|
protected fields(): StepField[];
|
|
178
181
|
static ɵfac: i0.ɵɵFactoryDeclaration<AttemptFlowComponent, never>;
|
|
179
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AttemptFlowComponent, "atlas-attempt-flow", never, { "attempt": { "alias": "attempt"; "required": false; }; "busy": { "alias": "busy"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "sessionKept": { "alias": "sessionKept"; "required": false; }; "titleKey": { "alias": "titleKey"; "required": false; }; "signInHref": { "alias": "signInHref"; "required": false; }; "captcha": { "alias": "captcha"; "required": false; }; "firstFactors": { "alias": "firstFactors"; "required": false; }; "preparedFactor": { "alias": "preparedFactor"; "required": false; }; "passwordHold": { "alias": "passwordHold"; "required": false; }; "holdProof": { "alias": "holdProof"; "required": false; }; "offerEmailSecondFactor": { "alias": "offerEmailSecondFactor"; "required": false; }; "emailedSecondFactor": { "alias": "emailedSecondFactor"; "required": false; }; "offerSmsSecondFactor": { "alias": "offerSmsSecondFactor"; "required": false; }; "textedSecondFactor": { "alias": "textedSecondFactor"; "required": false; }; "enrollment": { "alias": "enrollment"; "required": false; }; "enrollmentState": { "alias": "enrollmentState"; "required": false; }; "emailVerification": { "alias": "emailVerification"; "required": false; }; "matchCode": { "alias": "matchCode"; "required": false; }; }, { "submitFlow": "submitFlow"; "chooseFactor": "chooseFactor"; "usePassword": "usePassword"; "emailSecondFactor": "emailSecondFactor"; "smsSecondFactor": "smsSecondFactor"; "resend": "resend"; "policyDeclined": "policyDeclined"; }, never, never, true, never>;
|
|
182
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AttemptFlowComponent, "atlas-attempt-flow", never, { "attempt": { "alias": "attempt"; "required": false; }; "busy": { "alias": "busy"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "sessionKept": { "alias": "sessionKept"; "required": false; }; "titleKey": { "alias": "titleKey"; "required": false; }; "signInHref": { "alias": "signInHref"; "required": false; }; "captcha": { "alias": "captcha"; "required": false; }; "firstFactors": { "alias": "firstFactors"; "required": false; }; "preparedFactor": { "alias": "preparedFactor"; "required": false; }; "passwordHold": { "alias": "passwordHold"; "required": false; }; "holdProof": { "alias": "holdProof"; "required": false; }; "offerEmailSecondFactor": { "alias": "offerEmailSecondFactor"; "required": false; }; "emailedSecondFactor": { "alias": "emailedSecondFactor"; "required": false; }; "offerPasskeySecondFactor": { "alias": "offerPasskeySecondFactor"; "required": false; }; "offerSmsSecondFactor": { "alias": "offerSmsSecondFactor"; "required": false; }; "textedSecondFactor": { "alias": "textedSecondFactor"; "required": false; }; "enrollment": { "alias": "enrollment"; "required": false; }; "enrollmentState": { "alias": "enrollmentState"; "required": false; }; "emailVerification": { "alias": "emailVerification"; "required": false; }; "matchCode": { "alias": "matchCode"; "required": false; }; }, { "submitFlow": "submitFlow"; "chooseFactor": "chooseFactor"; "usePassword": "usePassword"; "emailSecondFactor": "emailSecondFactor"; "passkeySecondFactor": "passkeySecondFactor"; "smsSecondFactor": "smsSecondFactor"; "resend": "resend"; "policyDeclined": "policyDeclined"; }, never, never, true, never>;
|
|
180
183
|
}
|
|
181
184
|
export {};
|
|
@@ -140,6 +140,11 @@ export declare class AtlasFlowController {
|
|
|
140
140
|
private syncCaptcha;
|
|
141
141
|
private setState;
|
|
142
142
|
private autoSentFor;
|
|
143
|
+
private onlyWayFor;
|
|
144
|
+
/** Once per attempt, on arrival at the second factor: email the code if the inbox is the only way. */
|
|
145
|
+
private autoSendOnlyWay;
|
|
146
|
+
/** "Use a passkey" at the second factor: leaves for the hosted page. */
|
|
147
|
+
continueWithPasskey(): boolean;
|
|
143
148
|
/**
|
|
144
149
|
* With no password on offer, email the code as soon as the server asks for a
|
|
145
150
|
* first factor — once per attempt, so a failed send waits for the user's retry
|
package/dist/lib/version.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { AtlasSdkInfo } from '@atlasauth/js';
|
|
2
2
|
/** This package's version, sent as `X-Atlas-SDK` (kept in step with package.json by a test). */
|
|
3
|
-
export declare const ATLAS_ANGULAR_VERSION = "0.16.
|
|
3
|
+
export declare const ATLAS_ANGULAR_VERSION = "0.16.3";
|
|
4
4
|
export declare const ATLAS_ANGULAR_SDK: AtlasSdkInfo;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlasauth/angular",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.3",
|
|
4
4
|
"description": "Official Angular SDK for Atlas — the Angular peer of @atlasauth/react.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"module": "./dist/fesm2022/atlasauth-angular.mjs",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"tslib": "^2.6.3",
|
|
22
22
|
"@atlasauth/design": "0.3.0",
|
|
23
|
-
"@atlasauth/
|
|
24
|
-
"@atlasauth/
|
|
23
|
+
"@atlasauth/authz": "0.3.0",
|
|
24
|
+
"@atlasauth/js": "0.34.2"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"@angular/core": ">=17",
|