@omerikanec/api-client-demo 4.0.0 → 5.0.0

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
@@ -53,6 +53,40 @@
53
53
 
54
54
  ## Unreleased (2026-06-21)
55
55
 
56
+ ### Features & Changes
57
+
58
+ - Path added: /api/activity-feed/
59
+
60
+ ### 🖥 Frontend Impact
61
+
62
+ **3** artifacts affected: 1 types, 1 endpoints, 1 hooks
63
+
64
+ **Added:**
65
+ - `useActivity_feed_retrieve` (hook)
66
+ - `activity_feed_retrieve` (endpoint)
67
+ - `Activity_feed_retrieveResponse` (type)
68
+
69
+ > Suggested version bump: **minor**
70
+
71
+ ## Unreleased (2026-06-21)
72
+
73
+ ### ⚠ Breaking Changes
74
+
75
+ - Path removed: /api/activity-feed/
76
+
77
+ ### 🖥 Frontend Impact
78
+
79
+ **3** artifacts affected: 1 types, 1 endpoints, 1 hooks
80
+
81
+ **Breaking:**
82
+ - `useActivity_feed_retrieve` (hook)
83
+ - `activity_feed_retrieve` (endpoint)
84
+ - `Activity_feed_retrieveResponse` (type)
85
+
86
+ > Suggested version bump: **major**
87
+
88
+ ## Unreleased (2026-06-21)
89
+
56
90
  ### ⚠ Breaking Changes
57
91
 
58
92
  - GET /api/activity-feed/: response '201' removed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omerikanec/api-client-demo",
3
- "version": "4.0.0",
3
+ "version": "5.0.0",
4
4
  "description": "Auto-generated typed API client",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -22,7 +22,7 @@
22
22
  "impact-report.json",
23
23
  "impact-report.html",
24
24
  "CHANGELOG.md",
25
- "postinstall.js"
25
+ "postinstall.cjs"
26
26
  ],
27
27
  "publishConfig": {
28
28
  "registry": "https://registry.npmjs.org",
@@ -32,7 +32,7 @@
32
32
  "node": ">=18"
33
33
  },
34
34
  "scripts": {
35
- "postinstall": "node postinstall.js 2>/dev/null || true"
35
+ "postinstall": "node postinstall.cjs"
36
36
  },
37
37
  "peerDependencies": {
38
38
  "@tanstack/react-query": ">=4.0.0",
@@ -1,7 +1,6 @@
1
1
  #!/usr/bin/env node
2
- const path = require('path');
3
-
4
2
  try {
3
+ const path = require('node:path');
5
4
  const pkgDir = __dirname;
6
5
  const htmlReport = path.join(pkgDir, 'impact-report.html');
7
6
  const jsonReport = path.join(pkgDir, 'impact-report.json');
@@ -26,4 +25,7 @@ try {
26
25
  lines.push('');
27
26
 
28
27
  console.log(lines.join('\n'));
29
- } catch {}
28
+ } catch {
29
+ // Best-effort warning only. Never block npm install.
30
+ }
31
+ process.exitCode = 0;