prostgles-client 4.0.261 → 4.0.263

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,3 +1,3 @@
1
- import { InitOptions } from "./prostgles";
1
+ import { type InitOptions } from "./prostgles";
2
2
  export declare function prostgles(params: InitOptions): Promise<unknown>;
3
3
  //# sourceMappingURL=prostgles-full-cdn.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"prostgles-full-cdn.d.ts","sourceRoot":"","sources":["../lib/prostgles-full-cdn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,WAAW,EAAE,MAAM,aAAa,CAAC;AAE7D,wBAAgB,SAAS,CAAE,MAAM,EAAE,WAAW,oBAE7C"}
1
+ {"version":3,"file":"prostgles-full-cdn.d.ts","sourceRoot":"","sources":["../lib/prostgles-full-cdn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,WAAW,EAAE,MAAM,aAAa,CAAC;AAElE,wBAAgB,SAAS,CAAC,MAAM,EAAE,WAAW,oBAE5C"}
@@ -293,7 +293,7 @@ const useFetch = (fetchFunc, args = [], hookOptions) => {
293
293
  return;
294
294
  setResult({ data: undefined, error, isLoading: false });
295
295
  }
296
- }, [...args, ...deps]);
296
+ }, [fetchFunc, ...args, ...deps]);
297
297
  return { data, error, isLoading };
298
298
  };
299
299
  exports.useFetch = useFetch;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prostgles-client",
3
- "version": "4.0.261",
3
+ "version": "4.0.263",
4
4
  "description": "Reactive client for Postgres",
5
5
  "main": "dist/prostgles-full.js",
6
6
  "types": "dist/prostgles-full.d.ts",
@@ -28,7 +28,7 @@
28
28
  "pushpublish": "npm version patch --git-tag-version false && git push && npm publish"
29
29
  },
30
30
  "dependencies": {
31
- "prostgles-types": "^4.0.188",
31
+ "prostgles-types": "^4.0.189",
32
32
  "socket.io-client": "^4.8.1"
33
33
  },
34
34
  "devDependencies": {