@proconnect-gouv/proconnect.identite.runtime 0.6.2 → 0.7.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @proconnect-gouv/proconnect.identite.runtime
2
2
 
3
+ ## 0.7.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#2424](https://github.com/proconnect-gouv/proconnect-identite/pull/2424) [`97bfc2c`](https://github.com/proconnect-gouv/proconnect-identite/commit/97bfc2ca795440d853f8e295f26f2be7a5048b67) Thanks [@rebeccadumazert](https://github.com/rebeccadumazert)! - La réinitialisation de la double authentification remet aussi `totp_display_name` à `null`.
8
+ - Updated dependencies [[`97bfc2c`](https://github.com/proconnect-gouv/proconnect-identite/commit/97bfc2ca795440d853f8e295f26f2be7a5048b67)]:
9
+ - @proconnect-gouv/proconnect.identite.database@3.1.0
10
+ - @proconnect-gouv/proconnect.identite@17.1.0
11
+
12
+ ## 0.7.0
13
+
14
+ ### Minor Changes
15
+
16
+ - [#2459](https://github.com/proconnect-gouv/proconnect-identite/pull/2459) [`67f0314`](https://github.com/proconnect-gouv/proconnect-identite/commit/67f0314b11fbea53509e453f1d7fd500ff276827) Thanks [@douglasduteil](https://github.com/douglasduteil)! - `activityContextSchemas` ne décrit plus l’action `domain.removed` : aucune commande du runtime ne l’écrit. Une application qui journalise `domain.removed` la déclare dans ses propres `OwnContexts`, et `record()` l’accepte à nouveau. Changement cassant pour le typage : `ActivityContexts["domain.removed"]` n’existe plus.
17
+
3
18
  ## 0.6.2
4
19
 
5
20
  ### Patch Changes
@@ -143,15 +143,6 @@ export declare const activityContextSchemas: {
143
143
  replaced_verification_types: import("zod").ZodArray<import("zod").ZodString>;
144
144
  }, import("zod/v4/core").$strip>;
145
145
  }, import("zod/v4/core").$strip>;
146
- "domain.removed": import("zod").ZodObject<{
147
- inputs: import("zod").ZodObject<{
148
- domain: import("zod").ZodString;
149
- }, import("zod/v4/core").$strip>;
150
- outcome: import("zod").ZodObject<{
151
- email_domain_id: import("zod").ZodNumber;
152
- previous_verification_type: import("zod").ZodString;
153
- }, import("zod/v4/core").$strip>;
154
- }, import("zod/v4/core").$strip>;
155
146
  "domain.verified": import("zod").ZodObject<{
156
147
  inputs: import("zod").ZodObject<{
157
148
  domain: import("zod").ZodString;
@@ -1 +1 @@
1
- {"version":3,"file":"activity-context-schemas.d.ts","sourceRoot":"","sources":["../../src/activity/activity-context-schemas.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAI7C,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMlC,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
1
+ {"version":3,"file":"activity-context-schemas.d.ts","sourceRoot":"","sources":["../../src/activity/activity-context-schemas.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAI7C,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMlC,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
@@ -13,15 +13,6 @@ export declare const domainActivities: {
13
13
  replaced_verification_types: z.ZodArray<z.ZodString>;
14
14
  }, z.core.$strip>;
15
15
  }, z.core.$strip>;
16
- "domain.removed": z.ZodObject<{
17
- inputs: z.ZodObject<{
18
- domain: z.ZodString;
19
- }, z.core.$strip>;
20
- outcome: z.ZodObject<{
21
- email_domain_id: z.ZodNumber;
22
- previous_verification_type: z.ZodString;
23
- }, z.core.$strip>;
24
- }, z.core.$strip>;
25
16
  "domain.verified": z.ZodObject<{
26
17
  inputs: z.ZodObject<{
27
18
  domain: z.ZodString;
@@ -1 +1 @@
1
- {"version":3,"file":"activities.d.ts","sourceRoot":"","sources":["../../src/domains/activities.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAIzB,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8B5B,CAAC"}
1
+ {"version":3,"file":"activities.d.ts","sourceRoot":"","sources":["../../src/domains/activities.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAIzB,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqB5B,CAAC"}
@@ -13,15 +13,6 @@ export const domainActivities = {
13
13
  replaced_verification_types: z.array(z.string()),
14
14
  }),
15
15
  }),
16
- "domain.removed": z.object({
17
- inputs: z.object({
18
- domain: z.string(),
19
- }),
20
- outcome: z.object({
21
- email_domain_id: z.number(),
22
- previous_verification_type: z.string(),
23
- }),
24
- }),
25
16
  "domain.verified": z.object({
26
17
  inputs: z.object({
27
18
  domain: z.string(),
@@ -1 +1 @@
1
- {"version":3,"file":"reset-mfa.d.ts","sourceRoot":"","sources":["../../src/users/reset-mfa.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAUtE,KAAK,eAAe,GAChB;IACE,IAAI,EAAE,WAAW,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,gBAAgB,CAAC,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,UAAU,CAAC,CAAC;CACrE,GACD;IAAE,IAAI,EAAE,gBAAgB,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC;AAEhD,wBAAgB,eAAe,CAAC,EAAE,KAAK,EAAE,GAAG,EAAE,EAAE,EAAE,EAAE,cAAc,IACvC,cAEtB;IACD,OAAO,EAAE,MAAM,CAAC;CACjB,KAAG,OAAO,CAAC,eAAe,CAAC,CAqD7B"}
1
+ {"version":3,"file":"reset-mfa.d.ts","sourceRoot":"","sources":["../../src/users/reset-mfa.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAUtE,KAAK,eAAe,GAChB;IACE,IAAI,EAAE,WAAW,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,gBAAgB,CAAC,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,UAAU,CAAC,CAAC;CACrE,GACD;IAAE,IAAI,EAAE,gBAAgB,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC;AAEhD,wBAAgB,eAAe,CAAC,EAAE,KAAK,EAAE,GAAG,EAAE,EAAE,EAAE,EAAE,cAAc,IACvC,cAEtB;IACD,OAAO,EAAE,MAAM,CAAC;CACjB,KAAG,OAAO,CAAC,eAAe,CAAC,CAsD7B"}
@@ -29,6 +29,7 @@ export function resetMfaFactory({ actor, app, db }) {
29
29
  encrypted_password: null,
30
30
  encrypted_totp_key: null,
31
31
  force_2fa: false,
32
+ totp_display_name: null,
32
33
  totp_key_verified_at: null,
33
34
  updated_at: sql `now()`,
34
35
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proconnect-gouv/proconnect.identite.runtime",
3
- "version": "0.6.2",
3
+ "version": "0.7.1",
4
4
  "homepage": "https://github.com/proconnect-gouv/proconnect-identite/tree/main/packages/runtime#readme",
5
5
  "bugs": "https://github.com/proconnect-gouv/proconnect-identite/issues",
6
6
  "repository": {
@@ -32,8 +32,8 @@
32
32
  "test": "tsc --noEmit && tsx --test --test-reporter=spec"
33
33
  },
34
34
  "dependencies": {
35
- "@proconnect-gouv/proconnect.identite": "^17.0.0",
36
- "@proconnect-gouv/proconnect.identite.database": "^3.0.0",
35
+ "@proconnect-gouv/proconnect.identite": "^17.1.0",
36
+ "@proconnect-gouv/proconnect.identite.database": "^3.1.0",
37
37
  "zod": "^4.6.7"
38
38
  },
39
39
  "devDependencies": {
@@ -19,15 +19,6 @@ export const domainActivities = {
19
19
  replaced_verification_types: z.array(z.string()),
20
20
  }),
21
21
  }),
22
- "domain.removed": z.object({
23
- inputs: z.object({
24
- domain: z.string(),
25
- }),
26
- outcome: z.object({
27
- email_domain_id: z.number(),
28
- previous_verification_type: z.string(),
29
- }),
30
- }),
31
22
  "domain.verified": z.object({
32
23
  inputs: z.object({
33
24
  domain: z.string(),
@@ -52,6 +52,7 @@ export function resetMfaFactory({ actor, app, db }: RuntimeContext) {
52
52
  encrypted_password: null,
53
53
  encrypted_totp_key: null,
54
54
  force_2fa: false,
55
+ totp_display_name: null,
55
56
  totp_key_verified_at: null,
56
57
  updated_at: sql`now()`,
57
58
  })