fix(documentation): Update documentation to use certProviderFunction instead of certProvider in SmartProxy settings.
This commit is contained in:
		| @@ -1,5 +1,11 @@ | |||||||
| # Changelog | # Changelog | ||||||
|  |  | ||||||
|  | ## 2025-05-05 - 10.0.9 - fix(documentation) | ||||||
|  | Update documentation to use 'certProviderFunction' instead of 'certProvider' in SmartProxy settings. | ||||||
|  |  | ||||||
|  | - Renamed 'certProvider' to 'certProviderFunction' in README examples and configuration options. | ||||||
|  | - Ensured consistency in the configuration section of the documentation. | ||||||
|  |  | ||||||
| ## 2025-05-05 - 10.0.8 - fix(smartproxy) | ## 2025-05-05 - 10.0.8 - fix(smartproxy) | ||||||
| rename certProvider to certProvisionFunction in certificate provisioning interfaces and SmartProxy | rename certProvider to certProvisionFunction in certificate provisioning interfaces and SmartProxy | ||||||
|  |  | ||||||
|   | |||||||
| @@ -384,7 +384,7 @@ Listen for certificate events via EventEmitter: | |||||||
| - **SmartProxy**: | - **SmartProxy**: | ||||||
|   - `certificate` (domain, publicKey, privateKey, expiryDate, source, isRenewal) |   - `certificate` (domain, publicKey, privateKey, expiryDate, source, isRenewal) | ||||||
|  |  | ||||||
| Provide a `certProvider(domain)` in SmartProxy settings to supply static certs or return `'http01'`. | Provide a `certProviderFunction(domain)` in SmartProxy settings to supply static certs or return `'http01'`. | ||||||
|  |  | ||||||
| ## Configuration Options | ## Configuration Options | ||||||
|  |  | ||||||
| @@ -429,7 +429,7 @@ Provide a `certProvider(domain)` in SmartProxy settings to supply static certs o | |||||||
| - `sniEnabled`, `defaultAllowedIPs`, `preserveSourceIP` (booleans) | - `sniEnabled`, `defaultAllowedIPs`, `preserveSourceIP` (booleans) | ||||||
| - Timeouts: `initialDataTimeout`, `socketTimeout`, `inactivityTimeout`, etc. | - Timeouts: `initialDataTimeout`, `socketTimeout`, `inactivityTimeout`, etc. | ||||||
| - Socket opts: `noDelay`, `keepAlive`, `enableKeepAliveProbes` | - Socket opts: `noDelay`, `keepAlive`, `enableKeepAliveProbes` | ||||||
| - `acme` (IAcmeOptions), `certProvider` (callback) | - `acme` (IAcmeOptions), `certProviderFunction` (callback) | ||||||
| - `useNetworkProxy` (number[]), `networkProxyPort` (number) | - `useNetworkProxy` (number[]), `networkProxyPort` (number) | ||||||
|  |  | ||||||
| ## Troubleshooting | ## Troubleshooting | ||||||
|   | |||||||
| @@ -3,6 +3,6 @@ | |||||||
|  */ |  */ | ||||||
| export const commitinfo = { | export const commitinfo = { | ||||||
|   name: '@push.rocks/smartproxy', |   name: '@push.rocks/smartproxy', | ||||||
|   version: '10.0.8', |   version: '10.0.9', | ||||||
|   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.' |   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.' | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user