@dnax/core 0.6.3 → 0.6.4

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 (2) hide show
  1. package/app/hono.ts +4 -1
  2. package/package.json +1 -1
package/app/hono.ts CHANGED
@@ -381,7 +381,10 @@ function HonoInstance(): typeof app {
381
381
  let insertedFiles = [];
382
382
  for await (let file of parseBody?.file) {
383
383
  let insertedFile = await drive.write(file.name, file);
384
- insertedFiles.push(insertedFile);
384
+ insertedFiles.push({
385
+ ...data,
386
+ _file: insertedFile,
387
+ });
385
388
  }
386
389
  response = await rest.insertMany(col?.slug, insertedFiles);
387
390
  } else if (typeof parseBody?.file == "object") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dnax/core",
3
- "version": "0.6.3",
3
+ "version": "0.6.4",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "bin": {