prostgles-client 4.0.391 → 4.0.392

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/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { UserLike } from "prostgles-types";
1
+ import { defineJoin, type UserLike } from "prostgles-types";
2
2
  import { prostgles as pgls, type InitOptions, type ProstglesInitOptions } from "./prostgles";
3
3
  import type { ClientFunctionHandler } from "./getMethods";
4
4
  declare function prostgles<DBSchema = void, FuncSchema extends ClientFunctionHandler = ClientFunctionHandler, U extends UserLike = UserLike>(params: ProstglesInitOptions<DBSchema, FuncSchema, U>): ReturnType<typeof pgls<DBSchema, FuncSchema, U>>;
@@ -15,6 +15,7 @@ export * from "./hooks/useEffectAsync";
15
15
  export * from "./hooks/useAsyncEffectQueue";
16
16
  export { useAuthState, ERR_CODE_MESSAGES } from "./auth/useAuthState";
17
17
  export type { SQLHandler } from "prostgles-types";
18
+ export { defineJoin };
18
19
  export type { ClientFunctionHandler, FunctionHandle } from "./getMethods";
19
20
  export default prostgles;
20
21
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../lib/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,SAAS,IAAI,IAAI,EAAE,KAAK,WAAW,EAAE,KAAK,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAC7F,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAE1D,iBAAS,SAAS,CAChB,QAAQ,GAAG,IAAI,EACf,UAAU,SAAS,qBAAqB,GAAG,qBAAqB,EAChE,CAAC,SAAS,QAAQ,GAAG,QAAQ,EAE7B,MAAM,EAAE,oBAAoB,CAAC,QAAQ,EAAE,UAAU,EAAE,CAAC,CAAC,GACpD,UAAU,CAAC,OAAO,IAAI,CAAC,QAAQ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HANGED
@@ -14,7 +14,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.ERR_CODE_MESSAGES = exports.useAuthState = exports.asName = void 0;
17
+ exports.defineJoin = exports.ERR_CODE_MESSAGES = exports.useAuthState = exports.asName = void 0;
18
+ const prostgles_types_1 = require("prostgles-types");
19
+ Object.defineProperty(exports, "defineJoin", { enumerable: true, get: function () { return prostgles_types_1.defineJoin; } });
18
20
  const prostgles_1 = require("./prostgles");
19
21
  function prostgles(params) {
20
22
  return (0, prostgles_1.prostgles)(params);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prostgles-client",
3
- "version": "4.0.391",
3
+ "version": "4.0.392",
4
4
  "description": "Reactive client for Postgres",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",