@forklaunch/implementation-iam-base 0.5.1 → 0.5.2

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.
@@ -143,7 +143,10 @@ export class BaseOrganizationService<
143
143
 
144
144
  const organization = await (em ?? this.em).findOneOrFail(
145
145
  'Organization',
146
- idDto
146
+ idDto,
147
+ {
148
+ populate: ['id', '*']
149
+ }
147
150
  );
148
151
 
149
152
  return this._mappers.OrganizationMapper.serializeEntityToDto(
@@ -73,7 +73,10 @@ var BaseOrganizationService = class {
73
73
  }
74
74
  const organization = await (em ?? this.em).findOneOrFail(
75
75
  "Organization",
76
- idDto
76
+ idDto,
77
+ {
78
+ populate: ["id", "*"]
79
+ }
77
80
  );
78
81
  return this._mappers.OrganizationMapper.serializeEntityToDto(
79
82
  organization
@@ -48,7 +48,10 @@ var BaseOrganizationService = class {
48
48
  }
49
49
  const organization = await (em ?? this.em).findOneOrFail(
50
50
  "Organization",
51
- idDto
51
+ idDto,
52
+ {
53
+ populate: ["id", "*"]
54
+ }
52
55
  );
53
56
  return this._mappers.OrganizationMapper.serializeEntityToDto(
54
57
  organization
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forklaunch/implementation-iam-base",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "description": "Billing basic implementation for forklaunch",
5
5
  "homepage": "https://github.com/forklaunch/forklaunch-js#readme",
6
6
  "bugs": {
@@ -36,21 +36,21 @@
36
36
  "lib/**"
37
37
  ],
38
38
  "dependencies": {
39
- "@forklaunch/common": "^0.4.6",
40
- "@forklaunch/core": "^0.12.0",
41
- "@forklaunch/internal": "^0.1.9",
42
- "@forklaunch/validator": "^0.8.0",
39
+ "@forklaunch/common": "^0.5.0",
40
+ "@forklaunch/core": "^0.13.0",
41
+ "@forklaunch/internal": "^0.2.0",
42
+ "@forklaunch/validator": "^0.9.0",
43
43
  "@mikro-orm/core": "^6.4.16",
44
- "@sinclair/typebox": "^0.34.38",
44
+ "@sinclair/typebox": "^0.34.40",
45
45
  "ajv": "^8.17.1",
46
- "zod": "^4.0.14",
47
- "@forklaunch/interfaces-iam": "0.5.0"
46
+ "zod": "^4.0.17",
47
+ "@forklaunch/interfaces-iam": "0.5.1"
48
48
  },
49
49
  "devDependencies": {
50
- "@typescript/native-preview": "7.0.0-dev.20250803.1",
50
+ "@typescript/native-preview": "7.0.0-dev.20250820.1",
51
51
  "depcheck": "^1.4.7",
52
52
  "prettier": "^3.6.2",
53
- "typedoc": "^0.28.9"
53
+ "typedoc": "^0.28.10"
54
54
  },
55
55
  "scripts": {
56
56
  "build": "tsc --noEmit && tsup domain/schemas/index.ts services/index.ts domain/types/index.ts --format cjs,esm --no-splitting --dts --tsconfig tsconfig.json --out-dir lib --clean && if [ -f eject-package.bash ]; then pnpm package:eject; fi",