@proconnect-gouv/proconnect.identite 1.1.0 → 1.2.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.
Files changed (119) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/data/certification/commune-code-conversion.d.ts +13 -0
  3. package/dist/data/certification/commune-code-conversion.d.ts.map +1 -0
  4. package/dist/data/certification/commune-code-conversion.js +5188 -0
  5. package/dist/data/certification/country-iso-to-cog.d.ts +12 -0
  6. package/dist/data/certification/country-iso-to-cog.d.ts.map +1 -0
  7. package/dist/data/certification/country-iso-to-cog.js +438 -0
  8. package/dist/data/certification/index.d.ts +3 -0
  9. package/dist/data/certification/index.d.ts.map +1 -0
  10. package/dist/data/certification/index.js +3 -0
  11. package/dist/{mappers/certification/index.d.ts → managers/certification/adapters/api_entreprise.d.ts} +2 -2
  12. package/dist/managers/certification/adapters/api_entreprise.d.ts.map +1 -0
  13. package/dist/managers/certification/adapters/api_entreprise.js +14 -0
  14. package/dist/managers/certification/adapters/franceconnect.d.ts +3 -0
  15. package/dist/managers/certification/adapters/franceconnect.d.ts.map +1 -0
  16. package/dist/managers/certification/adapters/franceconnect.js +15 -0
  17. package/dist/managers/certification/adapters/insee.d.ts +4 -0
  18. package/dist/managers/certification/adapters/insee.d.ts.map +1 -0
  19. package/dist/managers/certification/adapters/insee.js +29 -0
  20. package/dist/managers/certification/adapters/rne.d.ts +4 -0
  21. package/dist/managers/certification/adapters/rne.d.ts.map +1 -0
  22. package/dist/managers/certification/adapters/rne.js +45 -0
  23. package/dist/managers/certification/birthplace-conversion.d.ts +27 -0
  24. package/dist/managers/certification/birthplace-conversion.d.ts.map +1 -0
  25. package/dist/managers/certification/birthplace-conversion.js +45 -0
  26. package/dist/managers/certification/certification-score.d.ts +22 -0
  27. package/dist/managers/certification/certification-score.d.ts.map +1 -0
  28. package/dist/managers/certification/certification-score.js +72 -0
  29. package/dist/managers/certification/index.d.ts +1 -1
  30. package/dist/managers/certification/index.d.ts.map +1 -1
  31. package/dist/managers/certification/index.js +1 -1
  32. package/dist/managers/certification/is-organization-dirigeant.d.ts +38 -8
  33. package/dist/managers/certification/is-organization-dirigeant.d.ts.map +1 -1
  34. package/dist/managers/certification/is-organization-dirigeant.js +89 -52
  35. package/dist/managers/certification/normalize.d.ts +21 -0
  36. package/dist/managers/certification/normalize.d.ts.map +1 -0
  37. package/dist/managers/certification/normalize.js +64 -0
  38. package/dist/managers/franceconnect/openid-client.d.ts +1 -0
  39. package/dist/managers/franceconnect/openid-client.d.ts.map +1 -1
  40. package/dist/managers/organization/adapters/api_entreprise.d.ts +25 -0
  41. package/dist/managers/organization/adapters/api_entreprise.d.ts.map +1 -0
  42. package/dist/{mappers/organization/from-siret.js → managers/organization/adapters/api_entreprise.js} +25 -2
  43. package/dist/managers/organization/get-organization-info.d.ts.map +1 -1
  44. package/dist/managers/organization/get-organization-info.js +3 -3
  45. package/dist/repositories/organization/upsert.d.ts +1 -1
  46. package/dist/repositories/organization/upsert.d.ts.map +1 -1
  47. package/dist/repositories/organization/upsert.js +26 -1
  48. package/dist/repositories/user/get-franceconnect-user-info.d.ts +1 -0
  49. package/dist/repositories/user/get-franceconnect-user-info.d.ts.map +1 -1
  50. package/dist/repositories/user/upsert-franceconnect-userinfo.d.ts +1 -0
  51. package/dist/repositories/user/upsert-franceconnect-userinfo.d.ts.map +1 -1
  52. package/dist/services/organization/is-syndicat-communal.d.ts.map +1 -1
  53. package/dist/services/organization/is-syndicat-communal.js +2 -0
  54. package/dist/types/dirigeant.d.ts +5 -0
  55. package/dist/types/dirigeant.d.ts.map +1 -1
  56. package/dist/types/dirigeant.js +2 -0
  57. package/dist/types/franceconnect.d.ts +2 -0
  58. package/dist/types/franceconnect.d.ts.map +1 -1
  59. package/dist/types/franceconnect.js +1 -0
  60. package/dist/types/organization.d.ts +2 -2
  61. package/dist/types/organization.d.ts.map +1 -1
  62. package/package.json +6 -6
  63. package/src/data/certification/commune-code-conversion.ts +5189 -0
  64. package/src/data/certification/country-iso-to-cog.ts +439 -0
  65. package/src/data/certification/index.ts +4 -0
  66. package/src/managers/certification/adapters/api_entreprise.test.ts +68 -0
  67. package/src/managers/certification/adapters/api_entreprise.test.ts.snapshot +109 -0
  68. package/src/{mappers/certification/index.ts → managers/certification/adapters/api_entreprise.ts} +7 -4
  69. package/src/managers/certification/adapters/franceconnect.ts +21 -0
  70. package/src/managers/certification/adapters/insee.test.ts +18 -0
  71. package/src/managers/certification/adapters/insee.test.ts.snapshot +21 -0
  72. package/src/managers/certification/adapters/insee.ts +39 -0
  73. package/src/managers/certification/adapters/rne.test.ts +276 -0
  74. package/src/managers/certification/adapters/rne.ts +64 -0
  75. package/src/managers/certification/birthplace-conversion.test.ts +76 -0
  76. package/src/managers/certification/birthplace-conversion.ts +58 -0
  77. package/src/managers/certification/certification-score.test.ts +309 -0
  78. package/src/managers/certification/certification-score.ts +97 -0
  79. package/src/managers/certification/index.ts +1 -1
  80. package/src/managers/certification/is-organization-dirigeant.test.ts +139 -48
  81. package/src/managers/certification/is-organization-dirigeant.ts +132 -106
  82. package/src/managers/certification/normalize.test.ts +71 -0
  83. package/src/managers/certification/normalize.ts +72 -0
  84. package/src/managers/organization/adapters/api_entreprise.test.ts +31 -0
  85. package/src/{mappers/organization/from-siret.test.ts.snapshot → managers/organization/adapters/api_entreprise.test.ts.snapshot} +26 -3
  86. package/src/{mappers/organization/from-siret.ts → managers/organization/adapters/api_entreprise.ts} +53 -3
  87. package/src/managers/organization/get-organization-info.test.ts +1 -1
  88. package/src/managers/organization/get-organization-info.ts +3 -3
  89. package/src/repositories/organization/upsert.ts +69 -19
  90. package/src/repositories/user/get-franceconnect-user-info.test.ts +1 -0
  91. package/src/repositories/user/upsert-franceconnect-userinfo.test.ts +2 -0
  92. package/src/services/organization/is-syndicat-communal.ts +2 -0
  93. package/src/types/dirigeant.ts +3 -0
  94. package/src/types/franceconnect.ts +1 -0
  95. package/src/types/organization.ts +2 -2
  96. package/testing/seed/franceconnect/index.ts +12 -9
  97. package/testing/seed/organizations/index.ts +34 -0
  98. package/tsconfig.json +5 -2
  99. package/tsconfig.lib.tsbuildinfo +1 -1
  100. package/dist/managers/certification/distance.d.ts +0 -4
  101. package/dist/managers/certification/distance.d.ts.map +0 -1
  102. package/dist/managers/certification/distance.js +0 -16
  103. package/dist/mappers/certification/index.d.ts.map +0 -1
  104. package/dist/mappers/certification/index.js +0 -11
  105. package/dist/mappers/index.d.ts +0 -2
  106. package/dist/mappers/index.d.ts.map +0 -1
  107. package/dist/mappers/index.js +0 -2
  108. package/dist/mappers/organization/from-siret.d.ts +0 -5
  109. package/dist/mappers/organization/from-siret.d.ts.map +0 -1
  110. package/dist/mappers/organization/index.d.ts +0 -2
  111. package/dist/mappers/organization/index.d.ts.map +0 -1
  112. package/dist/mappers/organization/index.js +0 -2
  113. package/src/managers/certification/distance.test.ts +0 -109
  114. package/src/managers/certification/distance.ts +0 -41
  115. package/src/mappers/index.ts +0 -3
  116. package/src/mappers/organization/from-siret.test.ts +0 -26
  117. package/src/mappers/organization/index.ts +0 -3
  118. package/testing/seed/insee/index.ts +0 -22
  119. package/testing/seed/mandataires/index.ts +0 -32
@@ -1,5 +1,6 @@
1
1
  import type { DatabaseContext } from "#src/types";
2
2
  export declare function getFranceConnectUserInfoFactory({ pg }: DatabaseContext): (user_id: number) => Promise<{
3
+ birthcountry: string;
3
4
  birthdate: Date;
4
5
  birthplace: string;
5
6
  family_name: string;
@@ -1 +1 @@
1
- {"version":3,"file":"get-franceconnect-user-info.d.ts","sourceRoot":"","sources":["../../../src/repositories/user/get-franceconnect-user-info.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAyB,MAAM,YAAY,CAAC;AAKzE,wBAAgB,+BAA+B,CAAC,EAAE,EAAE,EAAE,EAAE,eAAe,IACtB,SAAS,MAAM;;;;;;;;;;;eAY/D;AAED,MAAM,MAAM,+BAA+B,GAAG,UAAU,CACtD,OAAO,+BAA+B,CACvC,CAAC"}
1
+ {"version":3,"file":"get-franceconnect-user-info.d.ts","sourceRoot":"","sources":["../../../src/repositories/user/get-franceconnect-user-info.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAyB,MAAM,YAAY,CAAC;AAKzE,wBAAgB,+BAA+B,CAAC,EAAE,EAAE,EAAE,EAAE,eAAe,IACtB,SAAS,MAAM;;;;;;;;;;;;eAY/D;AAED,MAAM,MAAM,+BAA+B,GAAG,UAAU,CACtD,OAAO,+BAA+B,CACvC,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import type { DatabaseContext, FranceConnectUserInfo } from "#src/types";
2
2
  export declare function upsertFranceconnectUserinfoFactory({ pg }: DatabaseContext): (value: Pick<FranceConnectUserInfo, "user_id"> & Partial<FranceConnectUserInfo>) => Promise<{
3
+ birthcountry: string;
3
4
  birthdate: Date;
4
5
  birthplace: string;
5
6
  family_name: string;
@@ -1 +1 @@
1
- {"version":3,"file":"upsert-franceconnect-userinfo.d.ts","sourceRoot":"","sources":["../../../src/repositories/user/upsert-franceconnect-userinfo.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAIzE,wBAAgB,kCAAkC,CAAC,EAAE,EAAE,EAAE,EAAE,eAAe,IAEtE,OAAO,IAAI,CAAC,qBAAqB,EAAE,SAAS,CAAC,GAC3C,OAAO,CAAC,qBAAqB,CAAC;;;;;;;;;;;GA0BnC;AAED,MAAM,MAAM,iCAAiC,GAAG,UAAU,CACxD,OAAO,kCAAkC,CAC1C,CAAC"}
1
+ {"version":3,"file":"upsert-franceconnect-userinfo.d.ts","sourceRoot":"","sources":["../../../src/repositories/user/upsert-franceconnect-userinfo.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAIzE,wBAAgB,kCAAkC,CAAC,EAAE,EAAE,EAAE,EAAE,eAAe,IAEtE,OAAO,IAAI,CAAC,qBAAqB,EAAE,SAAS,CAAC,GAC3C,OAAO,CAAC,qBAAqB,CAAC;;;;;;;;;;;;GA0BnC;AAED,MAAM,MAAM,iCAAiC,GAAG,UAAU,CACxD,OAAO,kCAAkC,CAC1C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"is-syndicat-communal.d.ts","sourceRoot":"","sources":["../../../src/services/organization/is-syndicat-communal.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAQ/C,eAAO,MAAM,kBAAkB,GAAI,yCAEhC,IAAI,CAAC,YAAY,EAAE,oCAAoC,CAAC,KAAG,OAK7D,CAAC"}
1
+ {"version":3,"file":"is-syndicat-communal.d.ts","sourceRoot":"","sources":["../../../src/services/organization/is-syndicat-communal.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAU/C,eAAO,MAAM,kBAAkB,GAAI,yCAEhC,IAAI,CAAC,YAAY,EAAE,oCAAoC,CAAC,KAAG,OAK7D,CAAC"}
@@ -1,4 +1,6 @@
1
1
  const cat_jur = [
2
+ "Centre communal d'action sociale",
3
+ "Établissement public local social et médico-social",
2
4
  "Syndicat intercommunal à vocation multiple (SIVOM)",
3
5
  "Syndicat intercommunal à vocation unique (SIVU)",
4
6
  "Syndicat mixte fermé",
@@ -1,8 +1,13 @@
1
1
  import { z } from "zod";
2
2
  export declare const IdentityVectorSchema: z.ZodObject<{
3
+ birthcountry: z.ZodNullable<z.ZodString>;
3
4
  birthdate: z.ZodNullable<z.ZodDate>;
4
5
  birthplace: z.ZodNullable<z.ZodString>;
5
6
  family_name: z.ZodNullable<z.ZodString>;
7
+ gender: z.ZodNullable<z.ZodEnum<{
8
+ male: "male";
9
+ female: "female";
10
+ }>>;
6
11
  given_name: z.ZodNullable<z.ZodString>;
7
12
  }, z.core.$strip>;
8
13
  export type IdentityVector = z.output<typeof IdentityVectorSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"dirigeant.d.ts","sourceRoot":"","sources":["../../src/types/dirigeant.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,oBAAoB;;;;;iBAK/B,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
1
+ {"version":3,"file":"dirigeant.d.ts","sourceRoot":"","sources":["../../src/types/dirigeant.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,oBAAoB;;;;;;;;;;iBAO/B,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
@@ -2,8 +2,10 @@
2
2
  import { z } from "zod";
3
3
  //
4
4
  export const IdentityVectorSchema = z.object({
5
+ birthcountry: z.string().nullable(),
5
6
  birthdate: z.date().nullable(),
6
7
  birthplace: z.string().nullable(),
7
8
  family_name: z.string().nullable(),
9
+ gender: z.enum(["male", "female"]).nullable(),
8
10
  given_name: z.string().nullable(),
9
11
  });
@@ -3,6 +3,7 @@ import { z } from "zod";
3
3
  * @see https://docs.partenaires.franceconnect.gouv.fr/fs/fs-technique/fs-technique-scope-fc/#liste-des-claims
4
4
  */
5
5
  export declare const FranceConnectUserInfoResponseSchema: z.ZodObject<{
6
+ birthcountry: z.ZodString;
6
7
  birthdate: z.ZodCoercedDate<unknown>;
7
8
  birthplace: z.ZodString;
8
9
  family_name: z.ZodString;
@@ -13,6 +14,7 @@ export declare const FranceConnectUserInfoResponseSchema: z.ZodObject<{
13
14
  }, z.core.$strip>;
14
15
  export type FranceConnectUserInfoResponse = z.output<typeof FranceConnectUserInfoResponseSchema>;
15
16
  export declare const FranceConnectUserInfoSchema: z.ZodObject<{
17
+ birthcountry: z.ZodString;
16
18
  birthdate: z.ZodCoercedDate<unknown>;
17
19
  birthplace: z.ZodString;
18
20
  family_name: z.ZodString;
@@ -1 +1 @@
1
- {"version":3,"file":"franceconnect.d.ts","sourceRoot":"","sources":["../../src/types/franceconnect.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB;;GAEG;AACH,eAAO,MAAM,mCAAmC;;;;;;;;iBAS9C,CAAC;AAEH,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,MAAM,CAClD,OAAO,mCAAmC,CAC3C,CAAC;AAIF,eAAO,MAAM,2BAA2B;;;;;;;;;;;iBAOrC,CAAC;AACJ,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAC1C,OAAO,2BAA2B,CACnC,CAAC"}
1
+ {"version":3,"file":"franceconnect.d.ts","sourceRoot":"","sources":["../../src/types/franceconnect.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB;;GAEG;AACH,eAAO,MAAM,mCAAmC;;;;;;;;;iBAU9C,CAAC;AAEH,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,MAAM,CAClD,OAAO,mCAAmC,CAC3C,CAAC;AAIF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;iBAOrC,CAAC;AACJ,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAC1C,OAAO,2BAA2B,CACnC,CAAC"}
@@ -5,6 +5,7 @@ import { z } from "zod";
5
5
  * @see https://docs.partenaires.franceconnect.gouv.fr/fs/fs-technique/fs-technique-scope-fc/#liste-des-claims
6
6
  */
7
7
  export const FranceConnectUserInfoResponseSchema = z.object({
8
+ birthcountry: z.string(),
8
9
  birthdate: z.coerce.date(),
9
10
  birthplace: z.string(),
10
11
  family_name: z.string(),
@@ -11,9 +11,9 @@ export interface Organization {
11
11
  cached_tranche_effectifs_unite_legale: string | null;
12
12
  cached_libelle_tranche_effectif: string | null;
13
13
  cached_etat_administratif: string | null;
14
- cached_est_active: string | null;
14
+ cached_est_active: boolean | null;
15
15
  cached_statut_diffusion: string | null;
16
- cached_est_diffusible: string | null;
16
+ cached_est_diffusible: boolean | null;
17
17
  cached_adresse: string | null;
18
18
  cached_code_postal: string | null;
19
19
  cached_code_officiel_geographique: string | null;
@@ -1 +1 @@
1
- {"version":3,"file":"organization.d.ts","sourceRoot":"","sources":["../../src/types/organization.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kDAAkD,CAAC;AAIzF,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,IAAI,CAAC;IACjB,UAAU,EAAE,IAAI,CAAC;IACjB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,wBAAwB,EAAE,gBAAgB,CAAC;IAC3C,qCAAqC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrD,+BAA+B,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/C,yBAAyB,EAAE,MAAM,GAAG,IAAI,CAAC;IACzC,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,uBAAuB,EAAE,MAAM,GAAG,IAAI,CAAC;IACvC,qBAAqB,EAAE,MAAM,GAAG,IAAI,CAAC;IACrC,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,iCAAiC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjD,0BAA0B,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1C,kCAAkC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClD,0BAA0B,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1C,kCAAkC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClD,4BAA4B,EAAE,IAAI,GAAG,IAAI,CAAC;CAC3C"}
1
+ {"version":3,"file":"organization.d.ts","sourceRoot":"","sources":["../../src/types/organization.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kDAAkD,CAAC;AAIzF,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,IAAI,CAAC;IACjB,UAAU,EAAE,IAAI,CAAC;IACjB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,wBAAwB,EAAE,gBAAgB,CAAC;IAC3C,qCAAqC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrD,+BAA+B,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/C,yBAAyB,EAAE,MAAM,GAAG,IAAI,CAAC;IACzC,iBAAiB,EAAE,OAAO,GAAG,IAAI,CAAC;IAClC,uBAAuB,EAAE,MAAM,GAAG,IAAI,CAAC;IACvC,qBAAqB,EAAE,OAAO,GAAG,IAAI,CAAC;IACtC,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,iCAAiC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjD,0BAA0B,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1C,kCAAkC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClD,0BAA0B,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1C,kCAAkC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClD,4BAA4B,EAAE,IAAI,GAAG,IAAI,CAAC;CAC3C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proconnect-gouv/proconnect.identite",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "homepage": "https://github.com/proconnect-gouv/proconnect-identite/tree/main/packages/identite#readme",
5
5
  "bugs": "https://github.com/proconnect-gouv/proconnect-identite/issues",
6
6
  "repository": {
@@ -39,8 +39,8 @@
39
39
  "clean": "rm -rf dist tsconfig*.tsbuildinfo",
40
40
  "dev": "npm run build -- --watch --preserveWatchOutput",
41
41
  "dev:test": "tsx --watch --test src/**/*.test.ts",
42
- "test": "tsx --test --test-reporter=spec src/**/*.test.ts",
43
- "test:update-snapshots": "tsx --test --test-reporter=spec --test-update-snapshots src/**/*.test.ts"
42
+ "test": "tsx --test --test-reporter=spec",
43
+ "test:update-snapshots": "npm run test -- --test-update-snapshots"
44
44
  },
45
45
  "dependencies": {
46
46
  "leven": "^4.0.0",
@@ -49,12 +49,12 @@
49
49
  "zod": "^4.0.17"
50
50
  },
51
51
  "devDependencies": {
52
- "@electric-sql/pglite": "^0.3.8",
52
+ "@electric-sql/pglite": "^0.3.12",
53
53
  "@proconnect-gouv/proconnect.annuaire_entreprises": "^1.1.0",
54
+ "@proconnect-gouv/proconnect.api_entreprise": "^1.1.0",
54
55
  "@proconnect-gouv/proconnect.core": "^1.0.0",
55
56
  "@proconnect-gouv/proconnect.devtools.typescript": "1.0.0",
56
- "@proconnect-gouv/proconnect.api_entreprise": "^1.1.0",
57
- "@proconnect-gouv/proconnect.insee": "^1.0.0",
57
+ "@proconnect-gouv/proconnect.insee": "^1.0.1",
58
58
  "@types/node": "^22.18.6",
59
59
  "@types/pg": "^8.15.5",
60
60
  "await-to-js": "^3.0.0",