@go-mondo/identity-sdk 0.0.2-beta.64 → 0.0.2-beta.65
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/.release-please-manifest.json +1 -1
- package/.tsbuildinfo/cjs.json +1 -1
- package/.tsbuildinfo/esm.json +1 -1
- package/CHANGELOG.md +7 -0
- package/dist/cjs/authentication/settings/schema.d.ts +1 -1
- package/dist/cjs/authentication/settings/schema.js +1 -1
- package/dist/esm/authentication/settings/schema.d.ts +1 -1
- package/dist/esm/authentication/settings/schema.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.2-beta.65](https://github.com/go-mondo/identity-node-sdk/compare/identity-sdk-v0.0.2-beta.64...identity-sdk-v0.0.2-beta.65) (2026-03-05)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* optional settings updated date ([735f9b3](https://github.com/go-mondo/identity-node-sdk/commit/735f9b32a2f63d8017e9c856afe8745a2b152b25))
|
|
9
|
+
|
|
3
10
|
## [0.0.2-beta.64](https://github.com/go-mondo/identity-node-sdk/compare/identity-sdk-v0.0.2-beta.63...identity-sdk-v0.0.2-beta.64) (2026-03-05)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -3,7 +3,6 @@ export declare const SettingsSchema: z.ZodObject<{
|
|
|
3
3
|
metadata: z.ZodPipe<z.ZodUnion<readonly [z.ZodUndefined, z.ZodNull, z.ZodCustom<Map<string, string | number | boolean>, Map<string, string | number | boolean>>, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>, z.ZodTransform<Map<string, string | number | boolean>, Record<string, string | number | boolean> | Map<string, string | number | boolean> | null | undefined>>;
|
|
4
4
|
deactivatedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>;
|
|
5
5
|
deletedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>;
|
|
6
|
-
updatedAt: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>;
|
|
7
6
|
factors: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodUndefined, z.ZodNull, z.ZodArray<z.ZodObject<{
|
|
8
7
|
id: z.ZodString;
|
|
9
8
|
nextFactors: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strip>>, z.ZodUndefined]>, z.ZodNull]>>;
|
|
@@ -14,6 +13,7 @@ export declare const SettingsSchema: z.ZodObject<{
|
|
|
14
13
|
id: string;
|
|
15
14
|
nextFactors?: /*elided*/ any[] | null | undefined;
|
|
16
15
|
}[] | null | undefined>>>;
|
|
16
|
+
updatedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>;
|
|
17
17
|
}, z.core.$strip>;
|
|
18
18
|
export type SettingsProperties = z.input<typeof SettingsSchema>;
|
|
19
19
|
export type Settings = z.output<typeof SettingsSchema>;
|
|
@@ -40,7 +40,7 @@ const metadata_js_1 = require("../../common/schema/metadata.js");
|
|
|
40
40
|
const schema_js_1 = require("../factors/schema.js");
|
|
41
41
|
exports.SettingsSchema = z.object({
|
|
42
42
|
factors: schema_js_1.AuthenticationFactorsSchema.optional(),
|
|
43
|
-
|
|
43
|
+
updatedAt: dates_js_1.OptionalDateSchema,
|
|
44
44
|
...dates_js_1.DeletedAtPropertySchema.shape,
|
|
45
45
|
...dates_js_1.DeactivatedAtPropertySchema.shape,
|
|
46
46
|
...metadata_js_1.MetadataMapPropertySchema.shape,
|
|
@@ -3,7 +3,6 @@ export declare const SettingsSchema: z.ZodObject<{
|
|
|
3
3
|
metadata: z.ZodPipe<z.ZodUnion<readonly [z.ZodUndefined, z.ZodNull, z.ZodCustom<Map<string, string | number | boolean>, Map<string, string | number | boolean>>, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>, z.ZodTransform<Map<string, string | number | boolean>, Record<string, string | number | boolean> | Map<string, string | number | boolean> | null | undefined>>;
|
|
4
4
|
deactivatedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>;
|
|
5
5
|
deletedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>;
|
|
6
|
-
updatedAt: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>;
|
|
7
6
|
factors: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodUndefined, z.ZodNull, z.ZodArray<z.ZodObject<{
|
|
8
7
|
id: z.ZodString;
|
|
9
8
|
nextFactors: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strip>>, z.ZodUndefined]>, z.ZodNull]>>;
|
|
@@ -14,6 +13,7 @@ export declare const SettingsSchema: z.ZodObject<{
|
|
|
14
13
|
id: string;
|
|
15
14
|
nextFactors?: /*elided*/ any[] | null | undefined;
|
|
16
15
|
}[] | null | undefined>>>;
|
|
16
|
+
updatedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>;
|
|
17
17
|
}, z.core.$strip>;
|
|
18
18
|
export type SettingsProperties = z.input<typeof SettingsSchema>;
|
|
19
19
|
export type Settings = z.output<typeof SettingsSchema>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as z from 'zod/v4';
|
|
2
|
-
import { DeactivatedAtPropertyPayloadSchema, DeactivatedAtPropertySchema, DeletedAtPropertyPayloadSchema, DeletedAtPropertySchema, OptionalDatePayloadSchema,
|
|
2
|
+
import { DeactivatedAtPropertyPayloadSchema, DeactivatedAtPropertySchema, DeletedAtPropertyPayloadSchema, DeletedAtPropertySchema, OptionalDatePayloadSchema, OptionalDateSchema, } from '../../common/schema/dates.js';
|
|
3
3
|
import { MetadataMapPropertySchema, MetadataPayloadPropertySchema, UpsertMetadataPropertyPayloadSchema, } from '../../common/schema/metadata.js';
|
|
4
4
|
import { AuthenticationFactorsSchema } from '../factors/schema.js';
|
|
5
5
|
export const SettingsSchema = z.object({
|
|
6
6
|
factors: AuthenticationFactorsSchema.optional(),
|
|
7
|
-
|
|
7
|
+
updatedAt: OptionalDateSchema,
|
|
8
8
|
...DeletedAtPropertySchema.shape,
|
|
9
9
|
...DeactivatedAtPropertySchema.shape,
|
|
10
10
|
...MetadataMapPropertySchema.shape,
|