@tricoteuses/senat 2.19.9 → 2.20.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.
@@ -219,7 +219,7 @@ export function findAllDossiers() {
219
219
  return findAllDossiersQuery.stream();
220
220
  }
221
221
  export function createActesLegislatifs(dossier) {
222
- const actesLegislatifs = (dossier["lectures"] || []).map((lecture) => {
222
+ const actesLegislatifs = (dossier["lectures"] || []).flatMap((lecture) => {
223
223
  const lecturesAssemblee = (lecture["lectures_assemblee"] || []).map((lectureAss) => {
224
224
  const codeParent = getCodeActeLecture(dossier["code_nature_dossier"], lecture["type_lecture"], lectureAss["assemblee"]);
225
225
  const textesWithCodeActe = (lectureAss["textes"] || []).map((texte) => ({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tricoteuses/senat",
3
- "version": "2.19.9",
3
+ "version": "2.20.1",
4
4
  "description": "Handle French Sénat's open data",
5
5
  "keywords": [
6
6
  "France",