@opennextjs/cloudflare 1.20.0 → 1.20.1

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.
@@ -73,7 +73,10 @@ export async function getDeploymentMapping(buildOpts, config, workerEnvVars) {
73
73
  }
74
74
  const apiToken = envVars.CF_WORKERS_SCRIPTS_API_TOKEN;
75
75
  const accountId = envVars.CF_ACCOUNT_ID;
76
- const client = new Cloudflare({ apiToken });
76
+ const client = new Cloudflare({
77
+ apiToken,
78
+ defaultHeaders: { "Accept-Encoding": "identity" },
79
+ });
77
80
  const scriptName = envVars.CF_WORKER_NAME;
78
81
  const deployedVersions = await listWorkerVersions(scriptName, {
79
82
  client,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@opennextjs/cloudflare",
3
3
  "description": "Cloudflare builder for next apps",
4
- "version": "1.20.0",
4
+ "version": "1.20.1",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "opennextjs-cloudflare": "dist/cli/index.js"