edgeone 1.0.27 → 1.0.28

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.
@@ -142949,7 +142949,7 @@ var yargs_default = Yargs;
142949
142949
  // package.json
142950
142950
  var package_default = {
142951
142951
  name: "edgeone",
142952
- version: "1.0.27",
142952
+ version: "1.0.28",
142953
142953
  description: "Command-line interface for TencentCloud Pages Functions",
142954
142954
  bin: {
142955
142955
  edgeone: "./edgeone-bin/edgeone.js"
@@ -153297,7 +153297,7 @@ async function PagesDevServer(devConfig) {
153297
153297
  "Access-Control-Allow-Credentials": "true",
153298
153298
  "Access-Control-Allow-Origin": corsPath,
153299
153299
  "Access-Control-Allow-Methods": "OPTIONS,HEAD,DELETE,PUT,POST,PATCH,GET,TRACE,*",
153300
- "Access-Control-Allow-Headers": "content-type,*"
153300
+ "Access-Control-Allow-Headers": "content-type,authorization,x-refresh-token,*"
153301
153301
  });
153302
153302
  return res.end();
153303
153303
  }
@@ -153722,7 +153722,8 @@ var createPagesDeployment = async (opts) => {
153722
153722
  Provider: "Upload",
153723
153723
  Env: env3,
153724
153724
  DistType: isZip ? "Zip" : "Folder",
153725
- TempBucketPath: targetPath
153725
+ TempBucketPath: targetPath,
153726
+ BuildFrom: "CLI"
153726
153727
  },
153727
153728
  throwOnError: false
153728
153729
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "edgeone",
3
- "version": "1.0.27",
3
+ "version": "1.0.28",
4
4
  "description": "Command-line interface for TencentCloud Pages Functions",
5
5
  "bin": {
6
6
  "edgeone": "./edgeone-bin/edgeone.js"