Skip to content

Commit 7694b9d

Browse files
renovate[bot]mrstorkkodiakhq[bot]
authored
chore(deps): update dependency @netlify/blobs to ^7.4.0 (#2525)
* chore(deps): update dependency @netlify/blobs to ^7.4.0 * fix: latest version of getDeployStore accepts argument of type string as well --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Mateusz Bocian <mrstork@users.noreply.github.com> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
1 parent 72bc797 commit 7694b9d

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"homepage": "https://github.com/netlify/next-runtime#readme",
5050
"devDependencies": {
5151
"@fastly/http-compute-js": "1.1.4",
52-
"@netlify/blobs": "^7.3.0",
52+
"@netlify/blobs": "^7.4.0",
5353
"@netlify/build": "^29.50.2",
5454
"@netlify/edge-bundler": "^12.1.1",
5555
"@netlify/edge-functions": "^2.10.0",

src/run/regional-blob-store.cts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ import { getDeployStore, Store } from '@netlify/blobs'
33
const fetchBeforeNextPatchedIt = globalThis.fetch
44

55
export const getRegionalBlobStore = (args: Parameters<typeof getDeployStore>[0] = {}): Store => {
6+
const options = typeof args === 'string' ? { name: args } : args
67
return getDeployStore({
7-
...args,
8+
...options,
89
fetch: fetchBeforeNextPatchedIt,
910
experimentalRegion:
1011
process.env.USE_REGIONAL_BLOBS?.toUpperCase() === 'TRUE' ? 'context' : undefined,

0 commit comments

Comments
 (0)