@structured-id/ui-core 4.7.2 → 4.8.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@structured-id/ui-core",
3
- "version": "4.7.2",
3
+ "version": "4.8.0",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -42,7 +42,7 @@
42
42
  "@protobuf-ts/grpcweb-transport": "^2.11.1",
43
43
  "@protobuf-ts/runtime": "^2.11.1",
44
44
  "@protobuf-ts/runtime-rpc": "^2.11.1",
45
- "@structured-id/proto": "^0.6.0",
45
+ "@structured-id/proto": "^0.8.0",
46
46
  "@structured-world/structured-email-address-ts": "^0.0.22",
47
47
  "@structured-world/structured-public-domains": "0.0.x",
48
48
  "libphonenumber-js": "^1.13.15"
@@ -126,6 +126,8 @@ describe("createAuth prewarm", () => {
126
126
  api.loginFinish.mockResolvedValue({
127
127
  sessionId: "s",
128
128
  expiresIn: 60n,
129
+ secondFactors: [],
130
+ enrollableFactors: [],
129
131
  });
130
132
  });
131
133
 
@@ -688,6 +690,8 @@ describe("createAuth login", () => {
688
690
  api.loginFinish.mockResolvedValue({
689
691
  sessionId: "sess-1",
690
692
  expiresIn: BigInt(3600),
693
+ secondFactors: [],
694
+ enrollableFactors: [],
691
695
  });
692
696
  });
693
697
 
@@ -186,6 +186,7 @@ export const REFUSAL_TEXTS: Readonly<
186
186
  [ErrorReason.INVALID_STATE]: "This cannot be done in its current state.",
187
187
  [ErrorReason.FEATURE_NOT_CONFIGURED]:
188
188
  "This feature is not configured; an administrator can enable it.",
189
+ [ErrorReason.REGISTRATION_DISABLED]: "Registration is closed right now.",
189
190
  [ErrorReason.RATE_LIMIT_EXCEEDED]: "Too many attempts; try again later.",
190
191
  [ErrorReason.QUOTA_EXCEEDED]: "A limit is reached; remove something first.",
191
192
  [ErrorReason.CONCURRENT_MODIFICATION]: