@web-ts-toolkit/moo 0.42.2 → 0.43.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/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@web-ts-toolkit/moo",
3
3
  "description": "Mongoose helpers for schema fields, ObjectId checks, and document plugins",
4
4
  "homepage": "https://web-ts-toolkit.pages.dev/docs/packages/moo",
5
- "version": "0.42.2",
5
+ "version": "0.43.0",
6
6
  "sideEffects": false,
7
7
  "keywords": [
8
8
  "mongoose",
@@ -83,7 +83,7 @@
83
83
  }
84
84
  },
85
85
  "dependencies": {
86
- "@web-ts-toolkit/utils": "0.42.2"
86
+ "@web-ts-toolkit/utils": "0.43.0"
87
87
  },
88
88
  "files": [
89
89
  "**/*",
@@ -470,6 +470,7 @@ function keycloakUserSyncPlugin(schema, rawOptions) {
470
470
  payload.attributes = mergeAttributes(null, document, options);
471
471
  try {
472
472
  user = await realmHandle.user(username).create({
473
+ username,
473
474
  ...payload,
474
475
  ...desiredPassword && {
475
476
  password: desiredPassword,
@@ -447,6 +447,7 @@ function keycloakUserSyncPlugin(schema, rawOptions) {
447
447
  payload.attributes = mergeAttributes(null, document, options);
448
448
  try {
449
449
  user = await realmHandle.user(username).create({
450
+ username,
450
451
  ...payload,
451
452
  ...desiredPassword && {
452
453
  password: desiredPassword,