@infersec/conduit 1.26.5 → 1.27.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/dist/cli.js CHANGED
@@ -6,7 +6,7 @@ const __dirname = __pathDirname(__filename);
6
6
 
7
7
  import { parseArgs } from 'node:util';
8
8
  import 'node:crypto';
9
- import { a as asError, s as startInferenceAgent } from './start-D4bpW8Ix.js';
9
+ import { a as asError, s as startInferenceAgent } from './start-Ca9mSCJR.js';
10
10
  import 'argon2';
11
11
  import 'node:child_process';
12
12
  import 'node:stream';
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@ const __filename = __fileURLToPath(import.meta.url);
5
5
  const __dirname = __pathDirname(__filename);
6
6
 
7
7
  import 'node:crypto';
8
- import { s as startInferenceAgent, a as asError } from './start-D4bpW8Ix.js';
8
+ import { s as startInferenceAgent, a as asError } from './start-Ca9mSCJR.js';
9
9
  import 'argon2';
10
10
  import 'node:child_process';
11
11
  import 'node:stream';
@@ -15301,6 +15301,32 @@ object({
15301
15301
  email: string$1().email(),
15302
15302
  password: RawPasswordForLoginSchema
15303
15303
  });
15304
+ object({
15305
+ ok: literal(true)
15306
+ })
15307
+ .or(object({
15308
+ ok: literal(false),
15309
+ requiresPasswordChange: literal(false)
15310
+ }))
15311
+ .or(object({
15312
+ ok: literal(false),
15313
+ requiresPasswordChange: literal(true)
15314
+ }));
15315
+ object({
15316
+ accountID: ULIDSchema.optional(),
15317
+ currentPassword: RawPasswordForLoginSchema,
15318
+ email: string$1().email(),
15319
+ newPassword: RawPasswordSchema,
15320
+ newPasswordConfirm: RawPasswordSchema
15321
+ })
15322
+ .refine(data => data.newPassword === data.newPasswordConfirm, {
15323
+ message: "New passwords do not match",
15324
+ path: ["newPasswordConfirm"]
15325
+ })
15326
+ .refine(data => data.newPassword !== data.currentPassword, {
15327
+ message: "New password must differ from current password",
15328
+ path: ["newPassword"]
15329
+ });
15304
15330
  object({
15305
15331
  ok: literal(true)
15306
15332
  })
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@infersec/conduit",
3
3
  "description": "End user conduit agent for connecting local LLMs to the cloud.",
4
- "version": "1.26.5",
4
+ "version": "1.27.0",
5
5
  "bin": {
6
6
  "infersec-conduit": "./dist/cli.js"
7
7
  },