@unifetch/fortnox 2.1.0 → 2.1.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/package.json +3 -2
package/CHANGELOG.md ADDED
@@ -0,0 +1,37 @@
1
+ # @unifetch/fortnox
2
+
3
+ ## 2.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Include CHANGELOG.md in npm package
8
+
9
+ ## 2.1.0
10
+
11
+ ### Minor Changes
12
+
13
+ - Define and export custom types for invoice list and single invoice
14
+
15
+ ## 2.0.1
16
+
17
+ ### Patch Changes
18
+
19
+ - Update readme and specify edge runtime compatibility
20
+
21
+ ## 2.0.0
22
+
23
+ ### Major Changes
24
+
25
+ - Add resource-based API: access endpoints via `fortnox.<resource>.<operation>()` (e.g. `fortnox.invoices.getList()`) with full TypeScript autocomplete. The previous callable pattern `fortnox("/3/invoices")` is replaced by `fortnox.path("/3/invoices")`. Operation names are manually curated for consistency since the official Fortnox spec lacks clean operation IDs.
26
+
27
+ ## 1.0.1
28
+
29
+ ### Patch Changes
30
+
31
+ - Re-exported the types for proper inference
32
+
33
+ ## 1.0.0
34
+
35
+ ### Major Changes
36
+
37
+ - Initial release
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unifetch/fortnox",
3
- "version": "2.1.0",
3
+ "version": "2.1.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": [
@@ -17,7 +17,8 @@
17
17
  },
18
18
  "license": "ISC",
19
19
  "files": [
20
- "dist"
20
+ "dist",
21
+ "CHANGELOG.md"
21
22
  ],
22
23
  "devDependencies": {
23
24
  "@biomejs/biome": "^2.4.10",