@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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @unifetch/fortnox
2
2
 
3
+ ## 2.3.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Add bundle size comparison in README.
8
+
3
9
  ## 2.3.0
4
10
 
5
11
  ### Minor Changes
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unifetch/fortnox",
3
- "version": "2.3.0",
3
+ "version": "2.3.1",
4
4
  "description": "TypeScript SDK for the Fortnox API, with full type safety generated from the official OpenAPI specification.",
5
5
  "type": "module",
6
6
  "keywords": [