@moxn/kb-migrate 0.4.14 → 0.4.15

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.
@@ -175,7 +175,7 @@ async function uploadFileToNotion(client, url, filename, contentType) {
175
175
  await sleep(RATE_LIMIT_MS);
176
176
  await client.fileUploads.send({
177
177
  file_upload_id: upload.id,
178
- file: { data: new Blob([buffer]), filename },
178
+ file: { data: new Blob([buffer], { type: contentType }), filename },
179
179
  });
180
180
  return upload.id;
181
181
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moxn/kb-migrate",
3
- "version": "0.4.14",
3
+ "version": "0.4.15",
4
4
  "description": "Migration tool for importing documents into Moxn Knowledge Base from local files, Notion, Google Docs, and more",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -82,6 +82,7 @@
82
82
  "prepublishOnly": "npm run build"
83
83
  },
84
84
  "dependencies": {
85
+ "@moxn/kb-migrate": "^0.4.14",
85
86
  "@notionhq/client": "^5.9.0",
86
87
  "@tryfabric/martian": "^1.2.4",
87
88
  "commander": "^12.0.0",