@atlasauth/angular 0.16.0 → 0.16.2

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.
@@ -33,6 +33,8 @@ export declare class AttemptFlowComponent {
33
33
  /** `FlowState.sessionKept`: whether this browser kept the session the sign-in created. */
34
34
  sessionKept: boolean | undefined;
35
35
  titleKey: string;
36
+ /** Sign-up only: the sign-in link beside the code step's "an account already uses this email". */
37
+ signInHref: string | null;
36
38
  /**
37
39
  * The sign-in captcha, drawn above the submit button on the identifier step
38
40
  * (an always-on sign-in captcha) and on the challenge step the server demands
@@ -122,6 +124,7 @@ export declare class AttemptFlowComponent {
122
124
  /** Where the texted second-factor code went (masked), once it was sent. */
123
125
  protected smsSecondFactorSentTo(): string | null;
124
126
  protected formErrors(): FieldError[];
127
+ protected signInLink(error: FieldError): string | null;
125
128
  protected fieldErrorsFor(name: string): FieldError[];
126
129
  protected step(): {
127
130
  kind: "collect_first_factor";
@@ -173,6 +176,6 @@ export declare class AttemptFlowComponent {
173
176
  protected showSubmit(): boolean;
174
177
  protected fields(): StepField[];
175
178
  static ɵfac: i0.ɵɵFactoryDeclaration<AttemptFlowComponent, never>;
176
- 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; }; "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>;
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>;
177
180
  }
178
181
  export {};
@@ -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.0";
3
+ export declare const ATLAS_ANGULAR_VERSION = "0.16.2";
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.0",
3
+ "version": "0.16.2",
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",
@@ -19,8 +19,8 @@
19
19
  "sideEffects": false,
20
20
  "dependencies": {
21
21
  "tslib": "^2.6.3",
22
- "@atlasauth/js": "0.34.0",
23
22
  "@atlasauth/design": "0.3.0",
23
+ "@atlasauth/js": "0.34.1",
24
24
  "@atlasauth/authz": "0.3.0"
25
25
  },
26
26
  "peerDependencies": {