fix(exports): stabilize published types and compatibility with updated dependencies

This commit is contained in:
2026-04-16 19:41:55 +00:00
parent cb6b3db15a
commit 40ffc2b355
25 changed files with 4539 additions and 5354 deletions
+3 -2
View File
@@ -224,7 +224,8 @@ export class InvoiceStorage {
return contentHash;
} catch (error) {
this.logger.log('error', `Failed to store invoice: ${error}`);
throw new Error(`Invoice storage failed: ${error.message}`);
const errorMessage = error instanceof Error ? error.message : String(error);
throw new Error(`Invoice storage failed: ${errorMessage}`);
}
}
@@ -707,4 +708,4 @@ export class InvoiceStorage {
this.logger.log('info', `Updated metadata for invoice: ${contentHash}`);
}
}
}