@voyantjs/plugin-smartbill 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.
- package/README.md +6 -6
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ Architecturally, this package is primarily:
|
|
|
6
6
|
|
|
7
7
|
- a SmartBill e-invoicing adapter
|
|
8
8
|
- a subscriber bundle for finance invoice events
|
|
9
|
-
- an optional
|
|
9
|
+
- an optional packaged bundle when an app wants one installable entrypoint
|
|
10
10
|
|
|
11
11
|
It subscribes to invoice events and creates, cancels, or syncs invoices via the
|
|
12
12
|
SmartBill REST API for Romanian tax compliance.
|
|
@@ -36,9 +36,9 @@ const app = createApp({
|
|
|
36
36
|
})
|
|
37
37
|
```
|
|
38
38
|
|
|
39
|
-
|
|
40
|
-
behaves primarily as a subscriber-driven SmartBill sync adapter. By
|
|
41
|
-
wires up 3 subscribers (`invoice.issued`, `invoice.voided`,
|
|
39
|
+
`smartbillPlugin(...)` is the packaged distribution helper. At runtime, the
|
|
40
|
+
package behaves primarily as a subscriber-driven SmartBill sync adapter. By
|
|
41
|
+
default it wires up 3 subscribers (`invoice.issued`, `invoice.voided`,
|
|
42
42
|
`invoice.external.sync.requested`) that create, cancel, and check payment
|
|
43
43
|
status on SmartBill. All error handling is fire-and-forget per the EventBus
|
|
44
44
|
contract.
|
|
@@ -48,9 +48,9 @@ contract.
|
|
|
48
48
|
| Entry | Description |
|
|
49
49
|
| --- | --- |
|
|
50
50
|
| `.` | Barrel re-exports |
|
|
51
|
-
| `./plugin` | `smartbillPlugin(options)` |
|
|
51
|
+
| `./plugin` | `smartbillPlugin(options)` — packaged adapter/subscriber bundle |
|
|
52
52
|
| `./client` | `createSmartbillClient` — `createInvoice`, `cancelInvoice`, `viewPdf`, `getPaymentStatus`, etc. |
|
|
53
|
-
| `./types` | SmartBill
|
|
53
|
+
| `./types` | SmartBill adapter and bundle types |
|
|
54
54
|
|
|
55
55
|
## License
|
|
56
56
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/plugin-smartbill",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.2",
|
|
4
4
|
"license": "FSL-1.1-Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"zod": "^4.3.6",
|
|
30
|
-
"@voyantjs/core": "0.6.
|
|
30
|
+
"@voyantjs/core": "0.6.2"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"typescript": "^6.0.2",
|