@ogcio/api-auth 4.29.1 → 5.1.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.
@@ -1,11 +1,11 @@
1
- export declare const UserScope: {
2
- Profile: string;
3
- Email: string;
4
- Phone: string;
5
- CustomData: string;
6
- Identities: string;
7
- Roles: string;
8
- Organizations: string;
9
- OrganizationRoles: string;
10
- };
1
+ export declare enum UserScope {
2
+ Profile = "profile",
3
+ Email = "email",
4
+ Phone = "phone",
5
+ CustomData = "custom_data",
6
+ Identities = "identities",
7
+ Roles = "roles",
8
+ Organizations = "urn:logto:scope:organizations",
9
+ OrganizationRoles = "urn:logto:scope:organization_roles"
10
+ }
11
11
  //# sourceMappingURL=user-scope.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"user-scope.d.ts","sourceRoot":"","sources":["../../src/logto-client/user-scope.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS;;;;;;;;;CASrB,CAAC"}
1
+ {"version":3,"file":"user-scope.d.ts","sourceRoot":"","sources":["../../src/logto-client/user-scope.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,MAAM,SAAS;IAC3B,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,KAAK,UAAU;IACf,UAAU,gBAAgB;IAC1B,UAAU,eAAe;IACzB,KAAK,UAAU;IACf,aAAa,kCAAkC;IAC/C,iBAAiB,uCAAuC;CACzD"}
@@ -1,11 +1,2 @@
1
- export const UserScope = {
2
- Profile: "profile",
3
- Email: "email",
4
- Phone: "phone",
5
- CustomData: "custom_data",
6
- Identities: "identities",
7
- Roles: "roles",
8
- Organizations: "urn:logto:scope:organizations",
9
- OrganizationRoles: "urn:logto:scope:organization_roles",
10
- };
1
+ export {};
11
2
  //# sourceMappingURL=user-scope.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"user-scope.js","sourceRoot":"","sources":["../../src/logto-client/user-scope.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,UAAU,EAAE,aAAa;IACzB,UAAU,EAAE,YAAY;IACxB,KAAK,EAAE,OAAO;IACd,aAAa,EAAE,+BAA+B;IAC9C,iBAAiB,EAAE,oCAAoC;CACxD,CAAC"}
1
+ {"version":3,"file":"user-scope.js","sourceRoot":"","sources":["../../src/logto-client/user-scope.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@ogcio/api-auth",
3
- "version": "4.29.1",
3
+ "version": "5.1.0",
4
4
  "main": "dist/index.js",
5
5
  "type": "module",
6
6
  "dependencies": {
7
7
  "@aws-sdk/client-kms": "^3.709.0",
8
- "@fastify/sensible": "5.6.0",
8
+ "@fastify/sensible": "6.0.1",
9
9
  "@ogcio/shared-errors": "1.0.0",
10
- "fastify": "^4.29.0",
11
- "fastify-plugin": "^4.5.1",
10
+ "fastify": "^5.1.0",
11
+ "fastify-plugin": "^5.0.1",
12
12
  "jose": "^5.9.6"
13
13
  },
14
14
  "scripts": {
@@ -1,10 +1,10 @@
1
- export const UserScope = {
2
- Profile: "profile",
3
- Email: "email",
4
- Phone: "phone",
5
- CustomData: "custom_data",
6
- Identities: "identities",
7
- Roles: "roles",
8
- Organizations: "urn:logto:scope:organizations",
9
- OrganizationRoles: "urn:logto:scope:organization_roles",
10
- };
1
+ export declare enum UserScope {
2
+ Profile = "profile",
3
+ Email = "email",
4
+ Phone = "phone",
5
+ CustomData = "custom_data",
6
+ Identities = "identities",
7
+ Roles = "roles",
8
+ Organizations = "urn:logto:scope:organizations",
9
+ OrganizationRoles = "urn:logto:scope:organization_roles",
10
+ }