@privateaim/server-http-kit 0.8.6 → 0.8.8

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/CHANGELOG.md CHANGED
@@ -1,5 +1,36 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.8.8](https://github.com/PrivateAIM/hub/compare/v0.8.7...v0.8.8) (2025-04-15)
4
+
5
+
6
+ ### Features
7
+
8
+ * migrated to authup v1.0.0-beta.25 ([a5f6b65](https://github.com/PrivateAIM/hub/commit/a5f6b65499ee3a8c4b4bbdcda47979fa73ee5c48))
9
+ * reusable client authentication hook ([0a608cd](https://github.com/PrivateAIM/hub/commit/0a608cd94984314166c15fa11684e022b5ceb53e))
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * **deps:** bump the minorandpatch group across 1 directory with 3 updates ([#1019](https://github.com/PrivateAIM/hub/issues/1019)) ([a82d65d](https://github.com/PrivateAIM/hub/commit/a82d65da5e08edce3d97e7432c22d8a028853217))
15
+
16
+
17
+ ### Dependencies
18
+
19
+ * The following workspace dependencies were updated
20
+ * dependencies
21
+ * @privateaim/kit bumped from ^0.8.7 to ^0.8.8
22
+ * @privateaim/server-kit bumped from ^0.8.7 to ^0.8.8
23
+
24
+ ## [0.8.7](https://github.com/PrivateAIM/hub/compare/v0.8.6...v0.8.7) (2025-03-12)
25
+
26
+
27
+ ### Dependencies
28
+
29
+ * The following workspace dependencies were updated
30
+ * dependencies
31
+ * @privateaim/kit bumped from ^0.8.6 to ^0.8.7
32
+ * @privateaim/server-kit bumped from ^0.8.6 to ^0.8.7
33
+
3
34
  ## [0.8.6](https://github.com/PrivateAIM/hub/compare/v0.8.5...v0.8.6) (2025-03-04)
4
35
 
5
36
 
@@ -11,7 +11,7 @@ class FakePermissionProvider {
11
11
  async get(criteria) {
12
12
  return {
13
13
  name: criteria.name,
14
- realm_id: criteria.realmId,
14
+ realmId: criteria.realmId,
15
15
  policy: null,
16
16
  };
17
17
  }
@@ -1 +1 @@
1
- {"version":3,"file":"permission-provider.js","sourceRoot":"","sources":["../../../src/services/authup/permission-provider.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAIH,MAAa,sBAAsB;IAC/B,KAAK,CAAC,GAAG,CAAC,QAA8B;QACpC,OAAO;YACH,IAAI,EAAE,QAAQ,CAAC,IAAI;YACnB,QAAQ,EAAE,QAAQ,CAAC,OAAO;YAC1B,MAAM,EAAE,IAAI;SACf,CAAC;IACN,CAAC;CACJ;AARD,wDAQC"}
1
+ {"version":3,"file":"permission-provider.js","sourceRoot":"","sources":["../../../src/services/authup/permission-provider.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAIH,MAAa,sBAAsB;IAC/B,KAAK,CAAC,GAAG,CAAC,QAA8B;QACpC,OAAO;YACH,IAAI,EAAE,QAAQ,CAAC,IAAI;YACnB,OAAO,EAAE,QAAQ,CAAC,OAAO;YACzB,MAAM,EAAE,IAAI;SACf,CAAC;IACN,CAAC;CACJ;AARD,wDAQC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@privateaim/server-http-kit",
3
- "version": "0.8.6",
3
+ "version": "0.8.8",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "author": {
@@ -11,15 +11,15 @@
11
11
  "license": "Apache-2.0",
12
12
  "description": "This package contains the realtime application which connects the API with socket based clients.",
13
13
  "dependencies": {
14
- "@authup/access": "^1.0.0-beta.24",
15
- "@authup/kit": "^1.0.0-beta.24",
16
- "@authup/core-kit": "^1.0.0-beta.24",
17
- "@authup/core-http-kit": "^1.0.0-beta.24",
18
- "@authup/server-adapter-kit": "^1.0.0-beta.24",
19
- "@authup/server-adapter-http": "^1.0.0-beta.24",
14
+ "@authup/access": "^1.0.0-beta.26",
15
+ "@authup/kit": "^1.0.0-beta.26",
16
+ "@authup/core-kit": "^1.0.0-beta.26",
17
+ "@authup/core-http-kit": "^1.0.0-beta.26",
18
+ "@authup/server-adapter-kit": "^1.0.0-beta.26",
19
+ "@authup/server-adapter-http": "^1.0.0-beta.26",
20
20
  "@ebec/http": "^2.3.0",
21
- "@privateaim/kit": "^0.8.6",
22
- "@privateaim/server-kit": "^0.8.6",
21
+ "@privateaim/kit": "^0.8.8",
22
+ "@privateaim/server-kit": "^0.8.8",
23
23
  "@routup/basic": "^1.4.1",
24
24
  "@routup/decorators": "^3.4.1",
25
25
  "@routup/prometheus": "^2.4.0",
@@ -32,12 +32,12 @@
32
32
  },
33
33
  "devDependencies": {
34
34
  "@types/cors": "^2.8.17",
35
- "redis-extension": "^2.0.1",
35
+ "redis-extension": "^2.0.2",
36
36
  "routup": "^4.0.1",
37
37
  "typeorm-extension": "^3.7.0"
38
38
  },
39
39
  "peerDependencies": {
40
- "redis-extension": "^2.0.1",
40
+ "redis-extension": "^2.0.2",
41
41
  "routup": "^4.0.1",
42
42
  "typeorm-extension": "^3.7.0"
43
43
  },
@@ -11,7 +11,7 @@ export class FakePermissionProvider implements PermissionProvider {
11
11
  async get(criteria: PermissionGetOptions): Promise<PermissionItem | undefined> {
12
12
  return {
13
13
  name: criteria.name,
14
- realm_id: criteria.realmId,
14
+ realmId: criteria.realmId,
15
15
  policy: null,
16
16
  };
17
17
  }
package/.env DELETED
@@ -1,3 +0,0 @@
1
- REDIS_CONNECTION_STRING=redis://127.0.0.1
2
- # VAULT_CONNECTION_STRING=start123@http://localhost:8090/v1/
3
- AUTHUP_URL=http://127.0.0.1:3010/