Skip to content

Commit 5e14ba4

Browse files
committed
Update dependencies
1 parent e9899c9 commit 5e14ba4

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

.github/workflows/preview-engine.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ jobs:
3232
packageManager: bun
3333
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
3434
workingDirectory: "apps/engine"
35-
wranglerVersion: "3.63.1"
35+
wranglerVersion: "3.63.2"
3636
command: deploy --minify src/index.ts --name=engine-staging

.github/workflows/production-engine.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ jobs:
3232
packageManager: bun
3333
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
3434
workingDirectory: "apps/engine"
35-
wranglerVersion: "3.63.1"
35+
wranglerVersion: "3.63.2"
3636
command: deploy --minify src/index.ts --name=engine

apps/engine/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@
99
"check:types": "tsc --noEmit"
1010
},
1111
"dependencies": {
12-
"@hono/swagger-ui": "^0.3.0",
13-
"@hono/zod-openapi": "^0.14.7",
12+
"@hono/swagger-ui": "^0.4.0",
13+
"@hono/zod-openapi": "^0.14.9",
1414
"@hono/zod-validator": "^0.2.2",
15-
"hono": "^4.4.11",
16-
"xior": "^0.5.1",
15+
"hono": "^4.4.12",
16+
"xior": "^0.5.3",
1717
"zod": "^3.23.8"
1818
},
1919
"devDependencies": {
2020
"@cloudflare/workers-types": "^4.20240620.0",
21-
"wrangler": "^3.63.1",
21+
"wrangler": "^3.63.2",
2222
"@types/bun": "^1.1.6"
2323
}
2424
}

apps/engine/src/providers/gocardless/gocardless-api.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export class GoCardLessApi {
6767
},
6868
);
6969

70-
await this.#kv.put(this.#accessTokenCacheKey, response.access, {
70+
await this.#kv?.put(this.#accessTokenCacheKey, response.access, {
7171
expirationTtl: response.access_expires - this.#oneHour,
7272
});
7373

@@ -134,7 +134,7 @@ export class GoCardLessApi {
134134
const { countryCode } = params;
135135
const cacheKey = `${this.#institutionsCacheKey}_${countryCode}`;
136136

137-
const institutions = await this.#kv.get(cacheKey);
137+
const institutions = await this.#kv?.get(cacheKey);
138138

139139
if (institutions) {
140140
return JSON.parse(institutions) as GetInstitutionsResponse;

bun.lockb

328 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)