Skip to content

Commit

Permalink
chore: update core dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
darcyYe committed Mar 19, 2024
1 parent 88ace80 commit 80708bd
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 15 deletions.
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
"zod": "^3.22.4"
},
"devDependencies": {
"@logto/cloud": "0.2.5-4ef0b45",
"@logto/cloud": "0.2.5-ceb63ed",
"@silverhand/eslint-config": "5.0.0",
"@silverhand/ts-config": "5.0.0",
"@types/debug": "^4.1.7",
Expand Down
12 changes: 0 additions & 12 deletions packages/schemas/src/types/jwt-customizer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,18 +57,6 @@ export const customJwtFetcherGuard = jwtCustomizerGuard

export type CustomJwtFetcher = z.infer<typeof customJwtFetcherGuard>;

/**
* This guard is for testing use (request body guard), renamed previous `token` and `context`
* fields (in `customJwtFetcherGuard`) to `tokenSample` and `contextSample`, which can bring
* convenience to the testing use case.
*/
export const customJwtTesterGuard = customJwtFetcherGuard
.pick({ script: true, envVars: true })
.extend({
tokenSample: jsonObjectGuard,
contextSample: jsonObjectGuard.optional(),
});

export enum LogtoJwtTokenPath {
AccessToken = 'access-token',
ClientCredentials = 'client-credentials',
Expand Down
17 changes: 15 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 80708bd

Please sign in to comment.