Skip to content

Commit

Permalink
Merge branch 'feat/native-fetch-support' into chore/upgrade-oas
Browse files Browse the repository at this point in the history
  • Loading branch information
erunion committed Jul 29, 2024
2 parents 777bf7d + be9a8e2 commit 87aed79
Show file tree
Hide file tree
Showing 13 changed files with 230 additions and 48 deletions.
222 changes: 202 additions & 20 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion packages/cloudflare-worker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Cloudflare worker to get your API log data into ReadMe",
"version": "1.2.2",
"dependencies": {
"minimatch": "^9.0.1"
"minimatch": "^10.0.1"
},
"engines": {
"node": ">=18"
Expand Down
4 changes: 1 addition & 3 deletions packages/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@
"lodash": "^4.17.15",
"ssri": "^10.0.1",
"timeout-signal": "^1.1.0",
"type-is": "^1.6.18",
"uuid": "^9.0.0"
"type-is": "^1.6.18"
},
"devDependencies": {
"@readme/eslint-config": "^14.0.0",
Expand All @@ -47,7 +46,6 @@
"@types/ssri": "^7.1.1",
"@types/supertest": "^2.0.12",
"@types/type-is": "^1.6.3",
"@types/uuid": "^9.0.2",
"@vitest/coverage-v8": "^2.0.4",
"eslint": "^8.34.0",
"express": "^4.18.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/node/src/lib/ReadMe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ export interface GroupingObject {
// Typing the return as unknown to make it easier to format the user to our format in the middleware
// This way these functions can just return from their database
interface GetUserParams {
byAPIKey: (apiKey: string) => Promise<GroupingObject | void>;
byEmail: (email: string) => Promise<GroupingObject | void>;
byAPIKey: (apiKey: string) => Promise<GroupingObject | undefined | void> | undefined;
byEmail: (email: string) => Promise<GroupingObject | undefined | void> | undefined;
manualAPIKey?: string;
}

Expand Down
Loading

0 comments on commit 87aed79

Please sign in to comment.