GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat: move ts target to es2018 from es2016 (#1022) · googleapis/google-cloud-node@d2351f5

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • handwritten/pubsub
    • .kokoro
      • populate-secrets.sh
      • publish.sh
      • release
        • publish.cfg
      • trampoline.sh
    • protos
      • protos.js
    • src/v1
      • publisher_client.ts
      • subscriber_client.ts
    • synth.metadata
    • tsconfig.json
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎handwritten/pubsub/.kokoro/populate-secrets.sh‎

Copy file name to clipboardExpand all lines: handwritten/pubsub/.kokoro/populate-secrets.sh
+32Lines changed: 32 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file

‎handwritten/pubsub/.kokoro/publish.sh‎

Copy file name to clipboardExpand all lines: handwritten/pubsub/.kokoro/publish.sh
+1-1Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file

‎handwritten/pubsub/.kokoro/release/publish.cfg‎

Copy file name to clipboardExpand all lines: handwritten/pubsub/.kokoro/release/publish.cfg
+3-7Lines changed: 3 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file

‎handwritten/pubsub/.kokoro/trampoline.sh‎

Copy file name to clipboardExpand all lines: handwritten/pubsub/.kokoro/trampoline.sh
+1Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file

‎handwritten/pubsub/protos/protos.js‎

Copy file name to clipboardExpand all lines: handwritten/pubsub/protos/protos.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
var $Reader = $protobuf.Reader, $Writer = $protobuf.Writer, $util = $protobuf.util;
2929

3030
// Exported root namespace
31-
var $root = $protobuf.roots._google_cloud_pubsub_2_1_0_protos || ($protobuf.roots._google_cloud_pubsub_2_1_0_protos = {});
31+
var $root = $protobuf.roots._google_cloud_pubsub_protos || ($protobuf.roots._google_cloud_pubsub_protos = {});
3232

3333
$root.google = (function() {
3434

Collapse file

‎handwritten/pubsub/src/v1/publisher_client.ts‎

Copy file name to clipboardExpand all lines: handwritten/pubsub/src/v1/publisher_client.ts
+7Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,13 @@ export class PublisherClient {
103103
}
104104
opts.servicePath = opts.servicePath || servicePath;
105105
opts.port = opts.port || port;
106+
107+
// users can override the config from client side, like retry codes name.
108+
// The detailed structure of the clientConfig can be found here: https://github.com/googleapis/gax-nodejs/blob/master/src/gax.ts#L546
109+
// The way to override client config for Showcase API:
110+
//
111+
// const customConfig = {"interfaces": {"google.showcase.v1beta1.Echo": {"methods": {"Echo": {"retry_codes_name": "idempotent", "retry_params_name": "default"}}}}}
112+
// const showcaseClient = new showcaseClient({ projectId, customConfig });
106113
opts.clientConfig = opts.clientConfig || {};
107114

108115
const isBrowser = typeof window !== 'undefined';
Collapse file

‎handwritten/pubsub/src/v1/subscriber_client.ts‎

Copy file name to clipboardExpand all lines: handwritten/pubsub/src/v1/subscriber_client.ts
+7Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,13 @@ export class SubscriberClient {
104104
}
105105
opts.servicePath = opts.servicePath || servicePath;
106106
opts.port = opts.port || port;
107+
108+
// users can override the config from client side, like retry codes name.
109+
// The detailed structure of the clientConfig can be found here: https://github.com/googleapis/gax-nodejs/blob/master/src/gax.ts#L546
110+
// The way to override client config for Showcase API:
111+
//
112+
// const customConfig = {"interfaces": {"google.showcase.v1beta1.Echo": {"methods": {"Echo": {"retry_codes_name": "idempotent", "retry_params_name": "default"}}}}}
113+
// const showcaseClient = new showcaseClient({ projectId, customConfig });
107114
opts.clientConfig = opts.clientConfig || {};
108115

109116
const isBrowser = typeof window !== 'undefined';
Collapse file

‎handwritten/pubsub/synth.metadata‎

Copy file name to clipboardExpand all lines: handwritten/pubsub/synth.metadata
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/nodejs-pubsub.git",
7-
"sha": "8a0255127fe460df8ea0781d032994d4c82310b8"
7+
"sha": "3ad4809f60b6ca26078723f35b17397e22d1a9ca"
88
}
99
},
1010
{
@@ -19,7 +19,7 @@
1919
"git": {
2020
"name": "synthtool",
2121
"remote": "https://github.com/googleapis/synthtool.git",
22-
"sha": "be74d3e532faa47eb59f1a0eaebde0860d1d8ab4"
22+
"sha": "1c92077459db3dc50741e878f98b08c6261181e0"
2323
}
2424
}
2525
],
Collapse file

‎handwritten/pubsub/tsconfig.json‎

Copy file name to clipboardExpand all lines: handwritten/pubsub/tsconfig.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"outDir": "build",
66
"resolveJsonModule": true,
77
"lib": [
8-
"es2016",
8+
"es2018",
99
"dom"
1010
]
1111
},

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.