@voyantjs/notifications 0.6.0 → 0.6.2

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.
@@ -84,7 +84,7 @@ async function listLegalBookingDocuments(db, bookingId) {
84
84
  format: attachment.mimeType === "application/pdf" ? "pdf" : null,
85
85
  mimeType: attachment.mimeType ?? null,
86
86
  storageKey: attachment.storageKey ?? null,
87
- downloadUrl: getMetadataString(metadata, ["url", "downloadUrl"]),
87
+ downloadUrl: getMetadataString(metadata, ["url"]),
88
88
  language: contract.language ?? null,
89
89
  metadata,
90
90
  createdAt: attachment.createdAt.toISOString(),
@@ -157,7 +157,7 @@ async function listFinanceBookingDocuments(db, bookingId) {
157
157
  ? "application/json"
158
158
  : "application/xml",
159
159
  storageKey: rendition.storageKey ?? null,
160
- downloadUrl: getMetadataString(metadata, ["url", "downloadUrl"]),
160
+ downloadUrl: getMetadataString(metadata, ["url"]),
161
161
  language: rendition.language ?? invoice.language ?? null,
162
162
  metadata,
163
163
  createdAt: rendition.createdAt.toISOString(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voyantjs/notifications",
3
- "version": "0.6.0",
3
+ "version": "0.6.2",
4
4
  "license": "FSL-1.1-Apache-2.0",
5
5
  "type": "module",
6
6
  "exports": {
@@ -49,12 +49,12 @@
49
49
  "drizzle-orm": "^0.45.2",
50
50
  "hono": "^4.12.10",
51
51
  "zod": "^4.3.6",
52
- "@voyantjs/bookings": "0.6.0",
53
- "@voyantjs/core": "0.6.0",
54
- "@voyantjs/db": "0.6.0",
55
- "@voyantjs/finance": "0.6.0",
56
- "@voyantjs/hono": "0.6.0",
57
- "@voyantjs/legal": "0.6.0"
52
+ "@voyantjs/bookings": "0.6.2",
53
+ "@voyantjs/core": "0.6.2",
54
+ "@voyantjs/db": "0.6.2",
55
+ "@voyantjs/finance": "0.6.2",
56
+ "@voyantjs/hono": "0.6.2",
57
+ "@voyantjs/legal": "0.6.2"
58
58
  },
59
59
  "devDependencies": {
60
60
  "typescript": "^6.0.2",