silgi 0.38.2 → 0.38.3

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.
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { defineCommand, runMain } from 'citty';
3
3
 
4
- const version = "0.38.2";
4
+ const version = "0.38.3";
5
5
  const packageJson = {
6
6
  version: version};
7
7
 
@@ -279,7 +279,7 @@ declare function useRequest<T extends IncomingMessage>(event: SilgiEvent): T | (
279
279
  originalUrl?: string;
280
280
  });
281
281
  declare function useResponse<T extends ServerResponse>(event: SilgiEvent): ServerResponse;
282
- declare function getIpAddress(event: SilgiEvent): string | boolean;
282
+ declare function getIpAddress(event: SilgiEvent): string;
283
283
  /**
284
284
  * Extract the client's IP address from request headers with high accuracy
285
285
  * @param req - The incoming HTTP request (Fetch API Request)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "silgi",
3
3
  "type": "module",
4
- "version": "0.38.2",
4
+ "version": "0.38.3",
5
5
  "private": false,
6
6
  "sideEffects": false,
7
7
  "exports": {