@adonis-agora/authkit-sdk 0.7.0 → 0.7.1

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.
@@ -312,7 +312,8 @@ export async function createEmbeddedAuthkit(opts) {
312
312
  },
313
313
  },
314
314
  organizations: (() => {
315
- const orgsService = new AdminOrgsService(cfg);
315
+ // `service` é obrigatório para a remoção revogar os grants da org na hora.
316
+ const orgsService = new AdminOrgsService(cfg, service);
316
317
  const ACTOR = { actorId: null, ip: null, source: 'admin-api' };
317
318
  const origin = (cfg.issuer ?? '').replace(/\/+$/, '');
318
319
  function orgDto(org) {
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@adonis-agora/authkit-sdk",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "description": "Backend SDK for the AuthKit Admin API with one typed interface and two drivers: remote (HTTP/Bearer) and embedded (in-process when the IdP runs in the same AdonisJS app).",
5
5
  "license": "MIT",
6
6
  "author": "dudousxd",
7
- "homepage": "https://github.com/DavideCarvalho/adonis-agora-authkit/tree/main/packages/authkit-sdk#readme",
8
7
  "repository": {
9
8
  "type": "git",
10
9
  "url": "https://github.com/DavideCarvalho/adonis-agora-authkit.git",
11
10
  "directory": "packages/authkit-sdk"
12
11
  },
12
+ "homepage": "https://davidecarvalho.github.io/agora/docs/authkit",
13
13
  "bugs": {
14
14
  "url": "https://github.com/DavideCarvalho/adonis-agora-authkit/issues"
15
15
  },
@@ -36,7 +36,7 @@
36
36
  },
37
37
  "peerDependencies": {
38
38
  "@adonis-agora/authkit-server": ">=0.10.0 <1.0.0",
39
- "@adonisjs/core": "^7.5.0"
39
+ "@adonisjs/core": "7.5.0"
40
40
  },
41
41
  "peerDependenciesMeta": {
42
42
  "@adonisjs/core": {
@@ -47,13 +47,13 @@
47
47
  }
48
48
  },
49
49
  "devDependencies": {
50
- "@adonis-agora/authkit-server": "0.66.0",
50
+ "@adonis-agora/authkit-server": "0.73.0",
51
51
  "@adonisjs/core": "7.5.0",
52
52
  "@adonisjs/tsconfig": "2.0.0",
53
53
  "@japa/assert": "4.2.0",
54
54
  "@japa/runner": "5.3.0",
55
55
  "@poppinss/ts-exec": "1.4.4",
56
- "@types/node": "26.5.0",
56
+ "@types/node": "26.5.1",
57
57
  "typescript": "7.0.2"
58
58
  },
59
59
  "scripts": {