GeezerVison is showing github.com — feat: move ts target to es2018 from es2016 (#1022) · googleapis/google-cloud-node@d2351f5
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: handwritten/pubsub/.kokoro/populate-secrets.sh +32Lines changed: 32 additions & 0 deletions Collapse file Copy file name to clipboardExpand all lines: handwritten/pubsub/.kokoro/publish.sh +1-1Lines changed: 1 addition & 1 deletion Collapse file Copy file name to clipboardExpand all lines: handwritten/pubsub/.kokoro/release/publish.cfg +3-7Lines changed: 3 additions & 7 deletions Collapse file Copy file name to clipboardExpand all lines: handwritten/pubsub/.kokoro/trampoline.sh +1Lines changed: 1 addition & 0 deletions Collapse file Copy file name to clipboardExpand all lines: handwritten/pubsub/protos/protos.js +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 28 | 28 | var $Reader = $protobuf.Reader, $Writer = $protobuf.Writer, $util = $protobuf.util; | 29 | 29 |
| 30 | 30 | // 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 = {}); | 32 | 32 |
| 33 | 33 | $root.google = (function() { | 34 | 34 |
| |
Collapse file Copy file name to clipboardExpand all lines: handwritten/pubsub/src/v1/publisher_client.ts +7Lines changed: 7 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -103,6 +103,13 @@ export class PublisherClient { | 103 | 103 | } | 104 | 104 | opts.servicePath = opts.servicePath || servicePath; | 105 | 105 | 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 }); | 106 | 113 | opts.clientConfig = opts.clientConfig || {}; | 107 | 114 |
| 108 | 115 | const isBrowser = typeof window !== 'undefined'; | |
Collapse file Copy file name to clipboardExpand all lines: handwritten/pubsub/src/v1/subscriber_client.ts +7Lines changed: 7 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -104,6 +104,13 @@ export class SubscriberClient { | 104 | 104 | } | 105 | 105 | opts.servicePath = opts.servicePath || servicePath; | 106 | 106 | 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 }); | 107 | 114 | opts.clientConfig = opts.clientConfig || {}; | 108 | 115 |
| 109 | 116 | const isBrowser = typeof window !== 'undefined'; | |
Collapse file Copy file name to clipboardExpand all lines: handwritten/pubsub/synth.metadata +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 4 | 4 | "git": { | 5 | 5 | "name": ".", | 6 | 6 | "remote": "https://github.com/googleapis/nodejs-pubsub.git", | 7 | | - "sha": "8a0255127fe460df8ea0781d032994d4c82310b8" | | 7 | + "sha": "3ad4809f60b6ca26078723f35b17397e22d1a9ca" | 8 | 8 | } | 9 | 9 | }, | 10 | 10 | { | | 19 | 19 | "git": { | 20 | 20 | "name": "synthtool", | 21 | 21 | "remote": "https://github.com/googleapis/synthtool.git", | 22 | | - "sha": "be74d3e532faa47eb59f1a0eaebde0860d1d8ab4" | | 22 | + "sha": "1c92077459db3dc50741e878f98b08c6261181e0" | 23 | 23 | } | 24 | 24 | } | 25 | 25 | ], | |
Collapse file Copy file name to clipboardExpand all lines: handwritten/pubsub/tsconfig.json +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 5 | 5 | "outDir": "build", | 6 | 6 | "resolveJsonModule": true, | 7 | 7 | "lib": [ | 8 | | - "es2016", | | 8 | + "es2018", | 9 | 9 | "dom" | 10 | 10 | ] | 11 | 11 | }, | |
|