@logto/cloud 0.2.5-e5d8200 → 0.2.5-f1482ed

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.
@@ -87,6 +87,7 @@ export type AffiliateData = Affiliate & {
87
87
  };
88
88
  declare const router: import("@withtyped/server").Router<RequestContext, WithAuthContext<Omit<import("@withtyped/server").BaseContext & {
89
89
  request: {
90
+ id?: string | undefined;
90
91
  method?: import("@withtyped/server").RequestMethod | undefined;
91
92
  headers: import("http").IncomingHttpHeaders;
92
93
  url: URL;
@@ -94,6 +95,7 @@ declare const router: import("@withtyped/server").Router<RequestContext, WithAut
94
95
  };
95
96
  }, "request"> & {
96
97
  request: Record<string, unknown> & {
98
+ id?: string | undefined;
97
99
  method?: import("@withtyped/server").RequestMethod | undefined;
98
100
  headers: import("http").IncomingHttpHeaders;
99
101
  url: URL;
@@ -322,7 +324,7 @@ declare const router: import("@withtyped/server").Router<RequestContext, WithAut
322
324
  } & {
323
325
  "/services/custom-jwt": import("@withtyped/server").PathGuard<"/custom-jwt", {
324
326
  isTest?: string | undefined;
325
- }, {
327
+ } | undefined, {
326
328
  script: string;
327
329
  tokenType: LogtoJwtTokenKeyType.AccessToken;
328
330
  token: Record<string, Json>;
@@ -542,6 +544,7 @@ declare const router: import("@withtyped/server").Router<RequestContext, WithAut
542
544
  }, "/api">>, "/api">;
543
545
  export declare const tenantAuthRouter: import("@withtyped/server").Router<RequestContext, import("@withtyped/server").WithBodyContext<import("@withtyped/server").BaseContext & {
544
546
  request: {
547
+ id?: string | undefined;
545
548
  method?: import("@withtyped/server").RequestMethod | undefined;
546
549
  headers: import("http").IncomingHttpHeaders;
547
550
  url: URL;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@logto/cloud",
3
- "version": "0.2.5-e5d8200",
3
+ "version": "0.2.5-f1482ed",
4
4
  "description": "Logto Cloud service.",
5
5
  "main": "build/index.js",
6
6
  "author": "Silverhand Inc. <contact@silverhand.io>",
@@ -16,21 +16,21 @@
16
16
  "#src/*": "./build/*"
17
17
  },
18
18
  "devDependencies": {
19
- "@silverhand/eslint-config": "5.0.0",
20
- "@silverhand/ts-config": "5.0.0",
19
+ "@silverhand/eslint-config": "6.0.1",
20
+ "@silverhand/ts-config": "6.0.0",
21
21
  "@types/accepts": "^1.3.5",
22
22
  "@types/http-proxy": "^1.17.9",
23
23
  "@types/mime-types": "^2.1.1",
24
24
  "@types/node": "^20.0.0",
25
25
  "@types/yargs": "^17.0.24",
26
26
  "dts-bundle-generator": "^9.3.1",
27
- "eslint": "^8.44.0",
27
+ "eslint": "^8.57.0",
28
28
  "lint-staged": "^15.0.0",
29
29
  "nodemon": "^3.0.0",
30
30
  "prettier": "^3.0.0",
31
31
  "typescript": "^5.3.3",
32
32
  "vite-tsconfig-paths": "^4.3.1",
33
- "vitest": "^1.0.0"
33
+ "vitest": "^1.5.0"
34
34
  },
35
35
  "engines": {
36
36
  "node": "^20.9.0"
@@ -50,7 +50,7 @@
50
50
  },
51
51
  "dependencies": {
52
52
  "@silverhand/essentials": "^2.9.0",
53
- "@withtyped/server": "^0.13.3"
53
+ "@withtyped/server": "^0.13.6"
54
54
  },
55
55
  "scripts": {
56
56
  "precommit": "lint-staged",