@omerikanec/api-client-demo 3.0.1 → 4.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
@@ -19,6 +19,40 @@
19
19
 
20
20
  ## Unreleased (2026-06-21)
21
21
 
22
+ ### Features & Changes
23
+
24
+ - Path added: /api/activity-feed/
25
+
26
+ ### 🖥 Frontend Impact
27
+
28
+ **3** artifacts affected: 1 types, 1 endpoints, 1 hooks
29
+
30
+ **Added:**
31
+ - `useActivity_feed_retrieve` (hook)
32
+ - `activity_feed_retrieve` (endpoint)
33
+ - `Activity_feed_retrieveResponse` (type)
34
+
35
+ > Suggested version bump: **minor**
36
+
37
+ ## Unreleased (2026-06-21)
38
+
39
+ ### ⚠ Breaking Changes
40
+
41
+ - Path removed: /api/activity-feed/
42
+
43
+ ### 🖥 Frontend Impact
44
+
45
+ **3** artifacts affected: 1 types, 1 endpoints, 1 hooks
46
+
47
+ **Breaking:**
48
+ - `useActivity_feed_retrieve` (hook)
49
+ - `activity_feed_retrieve` (endpoint)
50
+ - `Activity_feed_retrieveResponse` (type)
51
+
52
+ > Suggested version bump: **major**
53
+
54
+ ## Unreleased (2026-06-21)
55
+
22
56
  ### ⚠ Breaking Changes
23
57
 
24
58
  - 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": "3.0.1",
3
+ "version": "4.0.0",
4
4
  "description": "Auto-generated typed API client",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -21,7 +21,8 @@
21
21
  "dist",
22
22
  "impact-report.json",
23
23
  "impact-report.html",
24
- "CHANGELOG.md"
24
+ "CHANGELOG.md",
25
+ "postinstall.js"
25
26
  ],
26
27
  "publishConfig": {
27
28
  "registry": "https://registry.npmjs.org",
@@ -30,6 +31,9 @@
30
31
  "engines": {
31
32
  "node": ">=18"
32
33
  },
34
+ "scripts": {
35
+ "postinstall": "node postinstall.js 2>/dev/null || true"
36
+ },
33
37
  "peerDependencies": {
34
38
  "@tanstack/react-query": ">=4.0.0",
35
39
  "react": ">=17.0.0"
package/postinstall.js ADDED
@@ -0,0 +1,29 @@
1
+ #!/usr/bin/env node
2
+ const path = require('path');
3
+
4
+ try {
5
+ const pkgDir = __dirname;
6
+ const htmlReport = path.join(pkgDir, 'impact-report.html');
7
+ const jsonReport = path.join(pkgDir, 'impact-report.json');
8
+ const changelog = path.join(pkgDir, 'CHANGELOG.md');
9
+
10
+ const lines = [];
11
+ lines.push('');
12
+ lines.push(' ⚠ @omerikanec/api-client-demo@new — BREAKING CHANGES');
13
+ lines.push('');
14
+ lines.push(' 3 frontend artifact(s) affected:');
15
+ lines.push(' ✗ hook: useActivity_feed_retrieve');
16
+ lines.push(' ✗ endpoint: activity_feed_retrieve');
17
+ lines.push(' ✗ type: Activity_feed_retrieveResponse');
18
+
19
+ lines.push('');
20
+ lines.push(' Full details:');
21
+ lines.push(' HTML report : ' + htmlReport);
22
+ lines.push(' JSON report : ' + jsonReport);
23
+ lines.push(' Changelog : ' + changelog);
24
+ lines.push('');
25
+ lines.push(' Open the HTML report in your browser for a visual overview.');
26
+ lines.push('');
27
+
28
+ console.log(lines.join('\n'));
29
+ } catch {}