fix(documentation): Update documentation to use certProviderFunction instead of certProvider in SmartProxy settings.
This commit is contained in:
		| @@ -1,5 +1,11 @@ | ||||
| # 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) | ||||
| rename certProvider to certProvisionFunction in certificate provisioning interfaces and SmartProxy | ||||
|  | ||||
|   | ||||
| @@ -384,7 +384,7 @@ Listen for certificate events via EventEmitter: | ||||
| - **SmartProxy**: | ||||
|   - `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 | ||||
|  | ||||
| @@ -429,7 +429,7 @@ Provide a `certProvider(domain)` in SmartProxy settings to supply static certs o | ||||
| - `sniEnabled`, `defaultAllowedIPs`, `preserveSourceIP` (booleans) | ||||
| - Timeouts: `initialDataTimeout`, `socketTimeout`, `inactivityTimeout`, etc. | ||||
| - Socket opts: `noDelay`, `keepAlive`, `enableKeepAliveProbes` | ||||
| - `acme` (IAcmeOptions), `certProvider` (callback) | ||||
| - `acme` (IAcmeOptions), `certProviderFunction` (callback) | ||||
| - `useNetworkProxy` (number[]), `networkProxyPort` (number) | ||||
|  | ||||
| ## Troubleshooting | ||||
|   | ||||
| @@ -3,6 +3,6 @@ | ||||
|  */ | ||||
| export const commitinfo = { | ||||
|   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.' | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user