Commit e949f78
committed
fix: patch @socketsecurity/sdk@2.0.1 to correct type definition paths
The SDK package.json incorrectly references index.d.mts and testing.d.mts
but the actual files are index.d.ts and testing.d.ts. This patch corrects
the types field to point to the correct .d.ts files.
Note: This fixes the "could not find declaration file" errors, but there
are still type export issues with SDK v2.0.1 that need to be addressed.
Socket CLI uses SocketSdkSuccessResult and other types that are not being
properly exported from the SDK index despite being defined in types.d.ts.1 parent adb119c commit e949f78
File tree
3 files changed
+29
-3
lines changed- patches
3 files changed
+29
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
248 | | - | |
| 248 | + | |
| 249 | + | |
249 | 250 | | |
250 | 251 | | |
251 | 252 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments