steamworks-ffi-node 0.7.0 → 0.7.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 (42) hide show
  1. package/README.md +15 -4
  2. package/dist/internal/SteamCloudManager.d.ts +86 -1
  3. package/dist/internal/SteamCloudManager.d.ts.map +1 -1
  4. package/dist/internal/SteamCloudManager.js +142 -0
  5. package/dist/internal/SteamCloudManager.js.map +1 -1
  6. package/dist/internal/SteamLibraryLoader.d.ts +13 -0
  7. package/dist/internal/SteamLibraryLoader.d.ts.map +1 -1
  8. package/dist/internal/SteamLibraryLoader.js +22 -0
  9. package/dist/internal/SteamLibraryLoader.js.map +1 -1
  10. package/dist/internal/SteamScreenshotManager.d.ts +327 -0
  11. package/dist/internal/SteamScreenshotManager.d.ts.map +1 -0
  12. package/dist/internal/SteamScreenshotManager.js +459 -0
  13. package/dist/internal/SteamScreenshotManager.js.map +1 -0
  14. package/dist/internal/SteamWorkshopManager.d.ts +24 -0
  15. package/dist/internal/SteamWorkshopManager.d.ts.map +1 -1
  16. package/dist/internal/SteamWorkshopManager.js +74 -0
  17. package/dist/internal/SteamWorkshopManager.js.map +1 -1
  18. package/dist/internal/callbackTypes/SteamCallbackIds.d.ts +2 -0
  19. package/dist/internal/callbackTypes/SteamCallbackIds.d.ts.map +1 -1
  20. package/dist/internal/callbackTypes/SteamCallbackIds.js +3 -1
  21. package/dist/internal/callbackTypes/SteamCallbackIds.js.map +1 -1
  22. package/dist/internal/callbackTypes/SteamCallbackTypes.d.ts +9 -0
  23. package/dist/internal/callbackTypes/SteamCallbackTypes.d.ts.map +1 -1
  24. package/dist/steam.d.ts +40 -0
  25. package/dist/steam.d.ts.map +1 -1
  26. package/dist/steam.js +4 -0
  27. package/dist/steam.js.map +1 -1
  28. package/dist/types/cloud.d.ts +11 -11
  29. package/dist/types/cloud.d.ts.map +1 -1
  30. package/dist/types/index.d.ts +1 -0
  31. package/dist/types/index.d.ts.map +1 -1
  32. package/dist/types/index.js +2 -0
  33. package/dist/types/index.js.map +1 -1
  34. package/dist/types/screenshots.d.ts +63 -0
  35. package/dist/types/screenshots.d.ts.map +1 -0
  36. package/dist/types/screenshots.js +44 -0
  37. package/dist/types/screenshots.js.map +1 -0
  38. package/dist/types/workshop.d.ts +8 -0
  39. package/dist/types/workshop.d.ts.map +1 -1
  40. package/dist/types/workshop.js.map +1 -1
  41. package/docs/README.md +20 -4
  42. package/package.json +3 -1
package/docs/README.md CHANGED
@@ -21,6 +21,8 @@ steam.richPresence.* // Rich Presence operations
21
21
  steam.overlay.* // Overlay control operations
22
22
  steam.cloud.* // Cloud storage operations
23
23
  steam.workshop.* // Workshop/UGC operations
24
+ steam.input.* // Controller input operations
25
+ steam.screenshots.* // Screenshots operations
24
26
  ```
25
27
 
26
28
  This design:
@@ -105,22 +107,24 @@ This design:
105
107
  ### Cloud Storage System
106
108
 
107
109
  - **[Cloud Manager API](https://github.com/ArtyProf/steamworks-ffi-node/blob/main/docs/CLOUD_MANAGER.md)**
108
- - **14 Functions** - Complete Steam Cloud (Remote Storage) support
110
+ - **17 Functions** - Complete Steam Cloud (Remote Storage) support
109
111
  - File operations (write, read, delete, check existence)
110
112
  - File metadata (size, timestamp, persistence status)
111
113
  - File listing (count, iterate, get all with details)
112
114
  - Quota management (track storage usage and limits)
113
115
  - Cloud settings (check/toggle cloud sync for account and app)
116
+ - Batch writes (atomic multi-file operations)
114
117
 
115
118
  ### Workshop System
116
119
 
117
120
  - **[Workshop Manager API](https://github.com/ArtyProf/steamworks-ffi-node/blob/main/docs/WORKSHOP_MANAGER.md)**
118
- - **29 Functions** - Complete Steam Workshop/UGC support
121
+ - **30 Functions** - Complete Steam Workshop/UGC support
119
122
  - Subscription management (subscribe, unsubscribe, list items)
120
123
  - Item state & information (download progress, installation info)
121
124
  - Query operations (text search, browse, filter Workshop content)
122
125
  - Item creation & update (create, upload, manage your Workshop items)
123
126
  - Voting & favorites (vote on items, manage favorites)
127
+ - Item deletion (permanently delete your Workshop items)
124
128
 
125
129
  ### Input System
126
130
 
@@ -133,6 +137,18 @@ This design:
133
137
  - Haptics (vibration, LED control for DualShock/DualSense)
134
138
  - ⚠️ **Tested with virtual gamepad only** - not yet tested in production projects
135
139
 
140
+ ### Screenshots System
141
+
142
+ - **[Screenshot Manager API](https://github.com/ArtyProf/steamworks-ffi-node/blob/main/docs/SCREENSHOT_MANAGER.md)**
143
+ - **9 Functions** - Complete Steam Screenshots support
144
+ - Screenshot capture (programmatic and user-triggered)
145
+ - Add existing images to Steam library (from files or raw RGB data)
146
+ - Location tagging (geotag screenshots with location names)
147
+ - User tagging (tag friends who appear in screenshots)
148
+ - Workshop integration (link screenshots to published items)
149
+ - Screenshot hooks (intercept F12 to handle screenshots yourself)
150
+ - VR screenshot support (side-by-side and cubemap formats)
151
+
136
152
  ## 🚀 Quick Links
137
153
 
138
154
  ### Getting Started
@@ -149,9 +165,9 @@ This design:
149
165
  - Run Stats Tests: `npm run test:stats:js` - Tests all 14 stats functions
150
166
  - Run Leaderboard Tests: `npm run test:leaderboards:js` - Tests all 7 leaderboard functions
151
167
  - Run Friends Tests: `npm run test:friends:js` - Tests all 22 friends functions
152
- - Run Cloud Tests: `npm run test:cloud:js` - Tests all 14 cloud storage functions
168
+ - Run Cloud Tests: `npm run test:cloud:js` - Tests all 17 cloud storage functions
153
169
  - Run Rich Presence & Overlay Tests: `npm run test:richpresence-overlay:js` - Tests 6 rich presence + 7 overlay functions
154
- - Run Workshop Tests: `npm run test:workshop:js` - Tests all 29 Workshop/UGC functions
170
+ - Run Workshop Tests: `npm run test:workshop:js` - Tests all 30 Workshop/UGC functions
155
171
  - Run Input Tests: `npm run test:input-xbox:js` or `npm run test:input-ps4:js` - Tests 35+ input functions with virtual gamepad
156
172
 
157
173
  **TypeScript Tests** (Development - Direct src/ imports, no rebuild needed):
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "steamworks-ffi-node",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "description": "Steamworks SDK wrapper using FFI for Node.js/Electron - Full Steam Integration",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -19,6 +19,7 @@
19
19
  "test:input:js": "node tests/js/test-input.js",
20
20
  "test:input-xbox:js": "node tests/js/test-input.js --virtual --type=xbox",
21
21
  "test:input-ps4:js": "node tests/js/test-input.js --virtual --type=ps4",
22
+ "test:screenshots:js": "node tests/js/test-screenshots.js",
22
23
  "test:core:ts": "ts-node tests/ts/test-core-api.ts",
23
24
  "test:achievements:ts": "ts-node tests/ts/test-complete-achievements.ts",
24
25
  "test:stats:ts": "ts-node tests/ts/test-complete-stats.ts",
@@ -30,6 +31,7 @@
30
31
  "test:input:ts": "ts-node tests/ts/test-input.ts",
31
32
  "test:input-xbox:ts": "ts-node tests/ts/test-input.ts --virtual --type=xbox",
32
33
  "test:input-ps4:ts": "ts-node tests/ts/test-input.ts --virtual --type=ps4",
34
+ "test:screenshots:ts": "ts-node tests/ts/test-screenshots.ts",
33
35
  "prepublishOnly": "npm run build"
34
36
  },
35
37
  "dependencies": {