@comapeo/core 5.1.2 → 5.1.3

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.
@@ -1 +1 @@
1
- {"version":3,"file":"import-categories.d.ts","sourceRoot":"","sources":["../src/import-categories.js"],"names":[],"mappings":"AAqBA,uDAAuD;AACvD,0DAA0D;AAC1D;;;;;;GAMG;AACH,0CANW,YAAY,wBAEpB;IAAwB,QAAQ,EAAxB,MAAM;IACgC,MAAM,EAA5C,OAAO,aAAa,EAAE,MAAM;CACpC,GAAU,OAAO,CAAC,IAAI,CAAC,CA0RzB;kBAhSa;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE;kCADlB,oBAAoB"}
1
+ {"version":3,"file":"import-categories.d.ts","sourceRoot":"","sources":["../src/import-categories.js"],"names":[],"mappings":"AAqBA,uDAAuD;AACvD,0DAA0D;AAC1D;;;;;;GAMG;AACH,0CANW,YAAY,wBAEpB;IAAwB,QAAQ,EAAxB,MAAM;IACgC,MAAM,EAA5C,OAAO,aAAa,EAAE,MAAM;CACpC,GAAU,OAAO,CAAC,IAAI,CAAC,CA6RzB;kBAnSa;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE;kCADlB,oBAAoB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comapeo/core",
3
- "version": "5.1.2",
3
+ "version": "5.1.3",
4
4
  "description": "Offline p2p mapping library",
5
5
  "main": "src/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -188,6 +188,9 @@ export async function importCategories(project, { filePath, logger }) {
188
188
  const { buildDateValue, ...readerMetadata } = await reader.metadata()
189
189
  const fileVersion = await reader.fileVersion()
190
190
 
191
+ // Need to wait for all presets to be created so that we can read the refs for the translations
192
+ await queue.onIdle()
193
+
191
194
  for await (const {
192
195
  lang,
193
196
  translations: translationsByDocType,