eslint-plugin-slonik 1.5.1 → 1.6.0

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/README.md CHANGED
@@ -178,7 +178,7 @@ targets: [
178
178
 
179
179
  ```bash
180
180
  pnpm add slonik zod
181
- pnpm add -D eslint-plugin-slonik @typescript-eslint/utils libpg-query
181
+ pnpm add -D eslint-plugin-slonik libpg-query
182
182
  ```
183
183
 
184
184
  ### 2. Create your SQL tag with type aliases
package/dist/index.cjs CHANGED
@@ -1119,6 +1119,11 @@ const zBaseSchema = z__default.object({
1119
1119
  * Whether or not keep the connection alive. Change it only if you know what you're doing.
1120
1120
  */
1121
1121
  keepAlive: z__default.boolean().optional(),
1122
+ /**
1123
+ * Connection timeout in milliseconds. If the connection is not established within this time,
1124
+ * an error will be thrown. Defaults to 5000 (5 seconds).
1125
+ */
1126
+ connectionTimeout: z__default.number().optional(),
1122
1127
  /**
1123
1128
  * Override defaults
1124
1129
  */