@atlasauth/angular 0.5.0 → 0.5.1

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.
@@ -62,6 +62,8 @@ export declare class AttemptFlowComponent {
62
62
  /** The first factors on offer at a `needs_first_factor` step (empty on any other). */
63
63
  private offered;
64
64
  protected showEmailCodeOption(): boolean;
65
+ /** The "we sent a code to …" line on the code step. */
66
+ protected codeSentText(): string | null;
65
67
  protected showSubmit(): boolean;
66
68
  protected fields(): StepField[];
67
69
  static ɵfac: i0.ɵɵFactoryDeclaration<AttemptFlowComponent, never>;
@@ -73,6 +73,13 @@ export declare class AtlasFlowController {
73
73
  /** Keep both captchas in step with the settings and the flow's current step. */
74
74
  private syncCaptcha;
75
75
  private setState;
76
+ private autoSentFor;
77
+ /**
78
+ * With no password on offer, email the code as soon as the server asks for a
79
+ * first factor — once per attempt, so a failed send waits for the user's retry
80
+ * (the "Email me a code" button) instead of looping.
81
+ */
82
+ private autoSend;
76
83
  /**
77
84
  * Advance the flow with the values the user typed. On completion, exchange the
78
85
  * one-time ticket for cookies over a same-origin request (FAPI is cross-origin
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlasauth/angular",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "Official Angular SDK for Atlas — the Angular peer of @atlasauth/react.",
5
5
  "license": "MIT",
6
6
  "module": "./dist/fesm2022/atlas-angular.mjs",
@@ -20,8 +20,8 @@
20
20
  "dependencies": {
21
21
  "tslib": "^2.6.3",
22
22
  "@atlasauth/design": "0.2.0",
23
- "@atlasauth/authz": "0.1.1",
24
- "@atlasauth/js": "0.9.0"
23
+ "@atlasauth/js": "0.10.0",
24
+ "@atlasauth/authz": "0.1.1"
25
25
  },
26
26
  "peerDependencies": {
27
27
  "@angular/core": ">=17",