diff --git a/changelog.md b/changelog.md index 8ec1cc0..0f50ecb 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,13 @@ # Changelog +## 2025-05-04 - 10.0.3 - fix(smartproxy) +Update dependency versions (@push.rocks/smartacme to ^7.2.4, @push.rocks/smartnetwork to ^4.0.1, ws to ^8.18.2) and export common types via index.ts for easier imports. + +- Upgrade @push.rocks/smartacme from ^7.2.3 to ^7.2.4 +- Upgrade @push.rocks/smartnetwork from ^4.0.0 to ^4.0.1 +- Upgrade ws from ^8.18.1 to ^8.18.2 +- Export common types from ts/common/types.ts in index.ts + ## 2025-05-03 - 10.0.2 - fix(tlsalert) Centralize plugin imports in TlsAlert and update plan checklist diff --git a/package.json b/package.json index 75dec27..d98de5b 100644 --- a/package.json +++ b/package.json @@ -24,9 +24,9 @@ }, "dependencies": { "@push.rocks/lik": "^6.2.2", - "@push.rocks/smartacme": "^7.2.3", + "@push.rocks/smartacme": "^7.2.4", "@push.rocks/smartdelay": "^3.0.5", - "@push.rocks/smartnetwork": "^4.0.0", + "@push.rocks/smartnetwork": "^4.0.1", "@push.rocks/smartpromise": "^4.2.3", "@push.rocks/smartrequest": "^2.1.0", "@push.rocks/smartstring": "^4.0.15", @@ -36,7 +36,7 @@ "@types/ws": "^8.18.1", "minimatch": "^10.0.1", "pretty-ms": "^9.2.0", - "ws": "^8.18.1" + "ws": "^8.18.2" }, "files": [ "ts/**/*", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6b5b661..4e79988 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,14 +12,14 @@ importers: specifier: ^6.2.2 version: 6.2.2 '@push.rocks/smartacme': - specifier: ^7.2.3 - version: 7.2.3(@aws-sdk/credential-providers@3.798.0)(socks@2.8.4) + specifier: ^7.2.4 + version: 7.2.4(@aws-sdk/credential-providers@3.798.0)(socks@2.8.4) '@push.rocks/smartdelay': specifier: ^3.0.5 version: 3.0.5 '@push.rocks/smartnetwork': - specifier: ^4.0.0 - version: 4.0.0 + specifier: ^4.0.1 + version: 4.0.1 '@push.rocks/smartpromise': specifier: ^4.2.3 version: 4.2.3 @@ -48,8 +48,8 @@ importers: specifier: ^9.2.0 version: 9.2.0 ws: - specifier: ^8.18.1 - version: 8.18.1 + specifier: ^8.18.2 + version: 8.18.2 devDependencies: '@git.zone/tsbuild': specifier: ^2.3.2 @@ -355,8 +355,8 @@ packages: '@cloudflare/workers-types@4.20250303.0': resolution: {integrity: sha512-O7F7nRT4bbmwHf3gkRBLfJ7R6vHIJ/oZzWdby6obOiw2yavUfp/AIwS7aO2POu5Cv8+h3TXS3oHs3kKCZLraUA==} - '@cloudflare/workers-types@4.20250430.0': - resolution: {integrity: sha512-JWAX7ZhQ7KjkdJwASgG58MZ/pQ15brlnZ9/0YBwDQ0hrJ/LaK392aTRFlj2r/PRKDZ5dOuujRywNYaNpfeFiEA==} + '@cloudflare/workers-types@4.20250504.0': + resolution: {integrity: sha512-/70Kb5vrqj+O0krOuS8LVLiCeDuCGzQy4X+wGGs4/rHv0gZJulv7Uj5YlUjIaRemK/Dyrzlk7WNJwTy8yv0cIw==} '@colors/colors@1.6.0': resolution: {integrity: sha512-Ir+AOibqzrIsL6ajt3Rz3LskB7OiMVHqltZmspbW/TJuTVuyOMirVqAkjfY6JISiLHgyNqicAC8AyHHGzNd/dA==} @@ -872,8 +872,8 @@ packages: '@push.rocks/qenv@6.1.0': resolution: {integrity: sha512-1FUFMlSVwFSFg8LbqfkzJ2LLP4lMGApUtgOpsvrde6+AxBmB4gjoNgCUH7z3xXfDAtYqcrtSELXBNE0xVL1MqQ==} - '@push.rocks/smartacme@7.2.3': - resolution: {integrity: sha512-PTwn/Zf7l+IMWqeiQ8mTxi7fdrtObQH13YzF65si/VxXTqHeZ7zvisLLKZcMEgSaOj1aQ/Ku83gaO8YqO4gDig==} + '@push.rocks/smartacme@7.2.4': + resolution: {integrity: sha512-0ciewRheDAwv0ER0ZyLQVLAn0ZoG1++ibSZ14HoXn8GOTOLyuRLWLNDQL2fI4LtLxeaNYmQUS+f7tt4KaZb/UA==} '@push.rocks/smartarchive@3.0.8': resolution: {integrity: sha512-1jPmR0b7hXmjYQoRiTlRXrIbZcdcFmSdGOfznufjcDpGPe86Km0d8TBnzqghTx4dTihzKC67IxAaz/DM3lvxpA==} @@ -974,8 +974,8 @@ packages: '@push.rocks/smartnetwork@3.0.2': resolution: {integrity: sha512-s6CNGzQ1n/d/6cOKXbxeW6/tO//dr1woLqI01g7XhqTriw0nsm2G2kWaZh2J0VOguGNWBgQVCIpR0LjdRNWb3g==} - '@push.rocks/smartnetwork@4.0.0': - resolution: {integrity: sha512-hLE1JNrBjlWtibgFz7t2aMfP15VOfPFyKMpo6FI0JdhmJfD3V5w/nFpSdD6WdXeXUBjCVTJ3C6SrRl8izoG55g==} + '@push.rocks/smartnetwork@4.0.1': + resolution: {integrity: sha512-zLH88bKY6/cK6vVnCW4Fsugu4T+l6OerWWappit+BecdnQ6vrgShXSAa13JIkkWkWcs4dxEirlEfycQEEQw8BQ==} '@push.rocks/smartnpm@2.0.4': resolution: {integrity: sha512-ljRPqnUsXzL5qnuAEt5POy0NnfKs7eYPuuJPJjYiK9VUdP/CyF4h14qTB4H816vNEuF7VU/ASRtz0qDlXmrztg==} @@ -4622,8 +4622,8 @@ packages: utf-8-validate: optional: true - ws@8.18.1: - resolution: {integrity: sha512-RKW2aJZMXeMxVpnZ6bck+RswznaxmzdULiBr6KY7XkTnW8uvt0iT9H5DkHUChXrc+uurzwa0rVI16n/Xzjdz1w==} + ws@8.18.2: + resolution: {integrity: sha512-DMricUmwGZUVr++AEAe2uiVM7UoO9MAVZMDu05UQOaUII0lp+zOzLLU4Xqh/JvTqklB1T4uELaaPBKyjE1r4fQ==} engines: {node: '>=10.0.0'} peerDependencies: bufferutil: ^4.0.1 @@ -4760,7 +4760,7 @@ snapshots: '@api.global/typedrequest': 3.1.10 '@api.global/typedrequest-interfaces': 3.0.19 '@api.global/typedsocket': 3.0.1 - '@cloudflare/workers-types': 4.20250430.0 + '@cloudflare/workers-types': 4.20250504.0 '@design.estate/dees-comms': 1.0.27 '@push.rocks/lik': 6.2.2 '@push.rocks/smartchok': 1.0.34 @@ -5671,7 +5671,7 @@ snapshots: '@cloudflare/workers-types@4.20250303.0': {} - '@cloudflare/workers-types@4.20250430.0': {} + '@cloudflare/workers-types@4.20250504.0': {} '@colors/colors@1.6.0': {} @@ -5950,7 +5950,7 @@ snapshots: '@push.rocks/tapbundle': 5.6.3(@aws-sdk/credential-providers@3.798.0)(socks@2.8.4) '@types/ws': 8.18.1 figures: 6.1.0 - ws: 8.18.1 + ws: 8.18.2 transitivePeerDependencies: - '@aws-sdk/credential-providers' - '@mongodb-js/zstd' @@ -6284,7 +6284,7 @@ snapshots: '@push.rocks/smartlog': 3.0.7 '@push.rocks/smartpath': 5.0.18 - '@push.rocks/smartacme@7.2.3(@aws-sdk/credential-providers@3.798.0)(socks@2.8.4)': + '@push.rocks/smartacme@7.2.4(@aws-sdk/credential-providers@3.798.0)(socks@2.8.4)': dependencies: '@api.global/typedserver': 3.0.74 '@apiclient.xyz/cloudflare': 6.4.1 @@ -6304,6 +6304,7 @@ snapshots: - '@aws-sdk/credential-providers' - '@mongodb-js/zstd' - '@nuxt/kit' + - aws-crt - bufferutil - encoding - gcp-metadata @@ -6605,7 +6606,7 @@ snapshots: public-ip: 6.0.2 systeminformation: 5.25.11 - '@push.rocks/smartnetwork@4.0.0': + '@push.rocks/smartnetwork@4.0.1': dependencies: '@push.rocks/smartping': 1.0.8 '@push.rocks/smartpromise': 4.2.3 @@ -10544,7 +10545,7 @@ snapshots: debug: 4.4.0 devtools-protocol: 0.0.1413902 typed-query-selector: 2.12.0 - ws: 8.18.1 + ws: 8.18.2 transitivePeerDependencies: - bare-buffer - bufferutil @@ -11303,7 +11304,7 @@ snapshots: ws@8.17.1: {} - ws@8.18.1: {} + ws@8.18.2: {} xml-js@1.6.11: dependencies: diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index c3d7151..760d8ab 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@push.rocks/smartproxy', - version: '10.0.2', + version: '10.0.3', description: 'A powerful proxy package that effectively handles high traffic, with features such as SSL/TLS support, port proxying, WebSocket handling, dynamic routing with authentication options, and automatic ACME certificate management.' } diff --git a/ts/common/types.ts b/ts/common/types.ts index 4a3f70d..fc48161 100644 --- a/ts/common/types.ts +++ b/ts/common/types.ts @@ -1,3 +1,5 @@ +import * as plugins from '../plugins.js'; + /** * Shared types for certificate management and domain options */ @@ -86,4 +88,6 @@ export interface IAcmeOptions { certificateStore?: string; // Directory to store certificates skipConfiguredCerts?: boolean; // Skip domains with existing certificates domainForwards?: IDomainForwardConfig[]; // Domain-specific forwarding configs -} \ No newline at end of file +} + +export interface IReverseProxyConfig extends plugins.tsclass.network.IReverseProxyConfig {} \ No newline at end of file diff --git a/ts/index.ts b/ts/index.ts index 62b8f43..e3fa2f8 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -5,3 +5,6 @@ export * from './redirect/classes.redirect.js'; export * from './smartproxy/classes.smartproxy.js'; export * from './smartproxy/classes.pp.snihandler.js'; export * from './smartproxy/classes.pp.interfaces.js'; + +import * as types from './common/types.js'; +export { types };