@rpcbase/api 0.31.0 → 0.32.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.
@@ -1,4 +1,4 @@
1
- import { i as isValidNumber, a as isEmail } from "./isValidNumber-CYvUNsZo.js";
1
+ import { i as isValidNumber, a as isEmail } from "./isValidNumber-R0qDZ-qD.js";
2
2
  import { o as object, b as boolean, s as string } from "./schemas-DKK0lkQz.js";
3
3
  const Route = "/api/rb/auth/sign-in";
4
4
  const requestSchema = object({
@@ -1,5 +1,5 @@
1
1
  import require$$0 from "crypto";
2
- import { i as isValidNumber, a as isEmail } from "./isValidNumber-CYvUNsZo.js";
2
+ import { i as isValidNumber, a as isEmail } from "./isValidNumber-R0qDZ-qD.js";
3
3
  import { loadModel } from "@rpcbase/api";
4
4
  import { hashPassword } from "@rpcbase/server";
5
5
  import { o as object, s as string, b as boolean } from "./schemas-DKK0lkQz.js";
@@ -33038,9 +33038,9 @@ function requireExpress() {
33038
33038
  }
33039
33039
  var expressExports = requireExpress();
33040
33040
  process.env = {
33041
- ...__vite_env__,
33042
- ...process.env,
33043
- ...env.config().parsed
33041
+ ...env,
33042
+ ...__rb_env__,
33043
+ ...process.env
33044
33044
  };
33045
33045
  const initApi = async (app) => {
33046
33046
  await initApiClient({ app });
@@ -33073,7 +33073,7 @@ const initApi = async (app) => {
33073
33073
  });
33074
33074
  const routes = {
33075
33075
  // @ts-expect-error: Property 'glob' does not exist on type 'ImportMeta'.
33076
- .../* @__PURE__ */ Object.assign({ "../../auth/src/api/sign-in/handler.ts": () => import("./handler-Cgd8rkJB.js"), "../../auth/src/api/sign-out/handler.ts": () => import("./handler-rzI-pkuD.js"), "../../auth/src/api/sign-up/handler.ts": () => import("./handler-V29xonGR.js") }),
33076
+ .../* @__PURE__ */ Object.assign({ "../../auth/src/api/sign-in/handler.ts": () => import("./handler-D7eudoVU.js"), "../../auth/src/api/sign-out/handler.ts": () => import("./handler-rzI-pkuD.js"), "../../auth/src/api/sign-up/handler.ts": () => import("./handler-v8WUNWbe.js") }),
33077
33077
  // @ts-expect-error: Property 'glob' does not exist on type 'ImportMeta'.
33078
33078
  .../* @__PURE__ */ Object.assign({})
33079
33079
  };
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { M, i, l } from "./index-Np-psE6_.js";
1
+ import { M, i, l } from "./index-Cvr_AVid.js";
2
2
  export {
3
3
  M as MOCK_TYPE,
4
4
  i as initApi,
@@ -1,4 +1,4 @@
1
- import { g as getDefaultExportFromCjs } from "./index-Np-psE6_.js";
1
+ import { g as getDefaultExportFromCjs } from "./index-Cvr_AVid.js";
2
2
  var isEmail$1 = { exports: {} };
3
3
  var assertString = { exports: {} };
4
4
  var hasRequiredAssertString;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rpcbase/api",
3
- "version": "0.31.0",
3
+ "version": "0.32.0",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"