prostgles-client 4.0.59 → 4.0.60

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/lib/prostgles.ts CHANGED
@@ -728,7 +728,7 @@ export function prostgles<DBSchema>(initOpts: InitOptions<DBSchema>, syncedTable
728
728
  else {
729
729
  if(options?.returnType === "stream"){
730
730
  const { channel, unsubChannel } = res as SocketSQLStreamServer;
731
- const start: SocketSQLStreamClient["start"] = (listener) => new Promise((resolveStart, rejectStart) => {
731
+ const start: SocketSQLStreamClient["start"] = (listener) => new Promise<Awaited<ReturnType<SocketSQLStreamClient["start"]>>>((resolveStart, rejectStart) => {
732
732
  socket.on(channel, listener)
733
733
  socket.emit(channel, {}, (_data, err) => {
734
734
  if(err){
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prostgles-client",
3
- "version": "4.0.59",
3
+ "version": "4.0.60",
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.64"
31
+ "prostgles-types": "^4.0.65"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@types/node": "^14.14.14",
@@ -17,10 +17,10 @@
17
17
  },
18
18
  "..": {
19
19
  "name": "prostgles-client",
20
- "version": "4.0.58",
20
+ "version": "4.0.59",
21
21
  "license": "MIT",
22
22
  "dependencies": {
23
- "prostgles-types": "^4.0.64"
23
+ "prostgles-types": "^4.0.65"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@types/node": "^14.14.14",