@gapi/gcli 1.8.242 → 1.8.243

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/release/index.js +7 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gapi/gcli",
3
- "version": "1.8.242",
3
+ "version": "1.8.243",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/Stradivario/gapi.git"
package/release/index.js CHANGED
@@ -286294,6 +286294,9 @@ var init_helpers2 = __esm({
286294
286294
  params: cmd.params || payload.params || [],
286295
286295
  secrets: cmd.secrets || payload.secrets || [],
286296
286296
  envSecrets: cmd.envSecrets || payload.envSecrets || [],
286297
+ /* Only sent when set, so gcli still works against an API
286298
+ without the field. */
286299
+ ...cmd.bodyLimit ?? payload.bodyLimit ? { bodyLimit: String(cmd.bodyLimit ?? payload.bodyLimit) } : {},
286297
286300
  clusterId,
286298
286301
  network: cmd.network || payload.network || ["public", "private"],
286299
286302
  federation: cmd.federation ?? !!payload.federation,
@@ -319671,6 +319674,10 @@ function registerLambdaCommands(program2) {
319671
319674
  "--envSecrets <envSecrets...>",
319672
319675
  "List of kubernetes secret names projected into process.env (graphql environment only)"
319673
319676
  ],
319677
+ [
319678
+ "--bodyLimit <bodyLimit>",
319679
+ "Largest request body the lambda accepts, e.g. 20mb (default 10mb, max 100mb)"
319680
+ ],
319674
319681
  [
319675
319682
  "--network <network>",
319676
319683
  "Can be private or public meaning exposed to the router or just for private available can be both also --network private --network public"