@unifetch/fortnox 2.3.0 → 2.3.1
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/CHANGELOG.md +6 -0
- package/README.md +10 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -34,6 +34,16 @@ Includes **only** the path-based API (`fortnox.path()`). The entire resource-bas
|
|
|
34
34
|
import { initFortnoxMini } from "@unifetch/fortnox/mini";
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
+
The difference in practice, measured with `wrangler deploy --dry-run` on a fresh Hono + Cloudflare Workers project:
|
|
38
|
+
|
|
39
|
+
| | Size | Gzip |
|
|
40
|
+
|---|---|---|
|
|
41
|
+
| Fresh Hono project (baseline) | 61.96 KiB | 15.05 KiB |
|
|
42
|
+
| With `initFortnox` | 99.92 KiB | 19.61 KiB |
|
|
43
|
+
| With `initFortnoxMini` | 64.63 KiB | 15.84 KiB |
|
|
44
|
+
|
|
45
|
+
`initFortnoxMini` adds less than **0.8 KiB gzipped** over the baseline, versus over **4.5 KiB** for the full client.
|
|
46
|
+
|
|
37
47
|
---
|
|
38
48
|
|
|
39
49
|
## Route variant
|
package/package.json
CHANGED