@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 +1 -1
- package/dist/index.js +1 -1
- package/dist/{start-D4bpW8Ix.js → start-Ca9mSCJR.js} +26 -0
- package/package.json +1 -1
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-
|
|
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-
|
|
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
|
})
|