@voyantjs/plugin-smartbill 0.80.7 → 0.80.8
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.
- package/dist/sync.js +2 -1
- package/package.json +9 -9
package/dist/sync.js
CHANGED
|
@@ -295,5 +295,6 @@ function isUsableSmartbillRef(ref) {
|
|
|
295
295
|
function isMatchingSmartbillRef(ref, documentType) {
|
|
296
296
|
if (!isUsableSmartbillRef(ref))
|
|
297
297
|
return false;
|
|
298
|
-
|
|
298
|
+
const metadataDocumentType = metadataString(coerceMetadata(ref.metadata), "documentType");
|
|
299
|
+
return !metadataDocumentType || metadataDocumentType === documentType;
|
|
299
300
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/plugin-smartbill",
|
|
3
|
-
"version": "0.80.
|
|
3
|
+
"version": "0.80.8",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -59,18 +59,18 @@
|
|
|
59
59
|
"drizzle-orm": "^0.45.2",
|
|
60
60
|
"hono": "^4.12.10",
|
|
61
61
|
"zod": "^4.3.6",
|
|
62
|
-
"@voyantjs/core": "0.80.
|
|
63
|
-
"@voyantjs/finance": "0.80.
|
|
64
|
-
"@voyantjs/hono": "0.80.
|
|
65
|
-
"@voyantjs/storage": "0.80.
|
|
62
|
+
"@voyantjs/core": "0.80.8",
|
|
63
|
+
"@voyantjs/finance": "0.80.8",
|
|
64
|
+
"@voyantjs/hono": "0.80.8",
|
|
65
|
+
"@voyantjs/storage": "0.80.8"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
68
68
|
"@tanstack/react-query": "^5.0.0",
|
|
69
69
|
"lucide-react": "^0.475.0",
|
|
70
70
|
"react": "^19.0.0",
|
|
71
71
|
"react-dom": "^19.0.0",
|
|
72
|
-
"@voyantjs/finance-react": "0.80.
|
|
73
|
-
"@voyantjs/ui": "0.80.
|
|
72
|
+
"@voyantjs/finance-react": "0.80.8",
|
|
73
|
+
"@voyantjs/ui": "0.80.8"
|
|
74
74
|
},
|
|
75
75
|
"peerDependenciesMeta": {
|
|
76
76
|
"@tanstack/react-query": {
|
|
@@ -101,8 +101,8 @@
|
|
|
101
101
|
"react-dom": "^19.2.4",
|
|
102
102
|
"typescript": "^6.0.2",
|
|
103
103
|
"vitest": "^4.1.2",
|
|
104
|
-
"@voyantjs/finance-react": "0.80.
|
|
105
|
-
"@voyantjs/ui": "0.80.
|
|
104
|
+
"@voyantjs/finance-react": "0.80.8",
|
|
105
|
+
"@voyantjs/ui": "0.80.8",
|
|
106
106
|
"@voyantjs/voyant-typescript-config": "0.1.0"
|
|
107
107
|
},
|
|
108
108
|
"files": [
|