@socketsecurity/sdk 3.0.28 → 3.0.30

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
@@ -4,6 +4,28 @@ All notable changes to this project will be documented in this file.
4
4
 
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
6
6
 
7
+ ## [3.0.30](https://github.com/SocketDev/socket-sdk-js/releases/tag/v3.0.30) - 2025-11-01
8
+
9
+ ### Added
10
+
11
+ - Validation guard against `link:` dependencies in package.json
12
+ - Pre-commit and pre-push hooks for development workflow
13
+
14
+ ### Fixed
15
+
16
+ - Build output now uses relative paths instead of absolute paths for better portability
17
+
18
+ ### Changed
19
+
20
+ - Updated `@socketsecurity/lib` to v3.0.6
21
+ - Updated `@socketregistry/packageurl-js` to v1.3.3
22
+
23
+ ## [3.0.29](https://github.com/SocketDev/socket-sdk-js/releases/tag/v3.0.29) - 2025-11-01
24
+
25
+ ### Changed
26
+
27
+ - Moved `@socketsecurity/lib` and `@socketregistry/packageurl-js` to devDependencies (bundled SDK has no runtime dependencies)
28
+
7
29
  ## [3.0.28](https://github.com/SocketDev/socket-sdk-js/releases/tag/v3.0.28) - 2025-11-01
8
30
 
9
31
  ### Changed
package/dist/index.mjs CHANGED
@@ -3,7 +3,7 @@
3
3
  // package.json
4
4
  var package_default = {
5
5
  name: "@socketsecurity/sdk",
6
- version: "3.0.28",
6
+ version: "3.0.30",
7
7
  license: "MIT",
8
8
  description: "SDK for the Socket API client",
9
9
  author: {
@@ -56,9 +56,6 @@ var package_default = {
56
56
  type: "tsgo --noEmit -p .config/tsconfig.check.json",
57
57
  update: "node scripts/update.mjs"
58
58
  },
59
- dependencies: {
60
- "@socketsecurity/lib": "3.0.3"
61
- },
62
59
  devDependencies: {
63
60
  "@babel/parser": "7.26.3",
64
61
  "@babel/traverse": "7.26.4",
@@ -67,6 +64,8 @@ var package_default = {
67
64
  "@dotenvx/dotenvx": "1.49.0",
68
65
  "@eslint/compat": "1.3.2",
69
66
  "@eslint/js": "9.35.0",
67
+ "@socketregistry/packageurl-js": "1.3.3",
68
+ "@socketsecurity/lib": "3.0.6",
70
69
  "@types/node": "24.9.2",
71
70
  "@typescript/native-preview": "7.0.0-dev.20250926.1",
72
71
  "@vitest/coverage-v8": "4.0.3",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@socketsecurity/sdk",
3
- "version": "3.0.28",
3
+ "version": "3.0.30",
4
4
  "license": "MIT",
5
5
  "description": "SDK for the Socket API client",
6
6
  "author": {
@@ -53,9 +53,6 @@
53
53
  "type": "tsgo --noEmit -p .config/tsconfig.check.json",
54
54
  "update": "node scripts/update.mjs"
55
55
  },
56
- "dependencies": {
57
- "@socketsecurity/lib": "3.0.3"
58
- },
59
56
  "devDependencies": {
60
57
  "@babel/parser": "7.26.3",
61
58
  "@babel/traverse": "7.26.4",
@@ -64,6 +61,8 @@
64
61
  "@dotenvx/dotenvx": "1.49.0",
65
62
  "@eslint/compat": "1.3.2",
66
63
  "@eslint/js": "9.35.0",
64
+ "@socketregistry/packageurl-js": "1.3.3",
65
+ "@socketsecurity/lib": "3.0.6",
67
66
  "@types/node": "24.9.2",
68
67
  "@typescript/native-preview": "7.0.0-dev.20250926.1",
69
68
  "@vitest/coverage-v8": "4.0.3",
package/types/api.d.ts CHANGED
@@ -675,7 +675,8 @@ export interface paths {
675
675
  '/orgs/{org_slug}/settings/license-policy/view': {
676
676
  /**
677
677
  * Get License Policy (Beta)
678
- * @description Returns an organization's license policy
678
+ * @description Returns an organization's license policy including allow, warn, monitor, and deny categories.
679
+ * The deny category contains all licenses that are not explicitly categorized as allow, warn, or monitor.
679
680
  *
680
681
  * This endpoint consumes 1 unit of your quota.
681
682
  *
@@ -1746,6 +1747,7 @@ export interface components {
1746
1747
  allow: string[] | null
1747
1748
  warn: string[] | null
1748
1749
  monitor: string[] | null
1750
+ deny: string[] | null
1749
1751
  options: string[] | null
1750
1752
  }
1751
1753
  Capabilities: {
@@ -12006,7 +12008,8 @@ export interface operations {
12006
12008
  }
12007
12009
  /**
12008
12010
  * Get License Policy (Beta)
12009
- * @description Returns an organization's license policy
12011
+ * @description Returns an organization's license policy including allow, warn, monitor, and deny categories.
12012
+ * The deny category contains all licenses that are not explicitly categorized as allow, warn, or monitor.
12010
12013
  *
12011
12014
  * This endpoint consumes 1 unit of your quota.
12012
12015
  *