diff --git a/package.json b/package.json index 4db3cf9a5..1be685191 100644 --- a/package.json +++ b/package.json @@ -82,7 +82,6 @@ "bunyan": "^1.8.15", "bytebuffer": "^5.0.1", "classnames": "2.2.5", - "cmake-js": "^7.2.1", "config": "1.28.1", "country-code-lookup": "^0.0.19", "curve25519-js": "https://github.com/oxen-io/curve25519-js", diff --git a/ts/types/Attachment.ts b/ts/types/Attachment.ts index 5c2559d9a..c9daca7db 100644 --- a/ts/types/Attachment.ts +++ b/ts/types/Attachment.ts @@ -301,7 +301,7 @@ export const save = ({ }: { attachment: AttachmentType; document: Document; - index?: number; + index: number; getAbsolutePath: (relativePath: string) => string; timestamp?: number; }): void => {