@google-cloud/spanner 6.16.0 → 7.1.0

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.
@@ -64,8 +64,7 @@ class SpannerClient {
64
64
  * API remote host.
65
65
  * @param {gax.ClientConfig} [options.clientConfig] - Client configuration override.
66
66
  * Follows the structure of {@link gapicConfig}.
67
- * @param {boolean | "rest"} [options.fallback] - Use HTTP fallback mode.
68
- * Pass "rest" to use HTTP/1.1 REST API instead of gRPC.
67
+ * @param {boolean} [options.fallback] - Use HTTP/1.1 REST mode.
69
68
  * For more information, please check the
70
69
  * {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}.
71
70
  * @param {gax} [gaxInstance]: loaded instance of `google-gax`. Useful if you
@@ -73,7 +72,7 @@ class SpannerClient {
73
72
  * HTTP implementation. Load only fallback version and pass it to the constructor:
74
73
  * ```
75
74
  * const gax = require('google-gax/build/src/fallback'); // avoids loading google-gax with gRPC
76
- * const client = new SpannerClient({fallback: 'rest'}, gax);
75
+ * const client = new SpannerClient({fallback: true}, gax);
77
76
  * ```
78
77
  */
79
78
  constructor(opts, gaxInstance) {
@@ -130,7 +129,7 @@ class SpannerClient {
130
129
  if (!opts.fallback) {
131
130
  clientHeader.push(`grpc/${this._gaxGrpc.grpcVersion}`);
132
131
  }
133
- else if (opts.fallback === 'rest') {
132
+ else {
134
133
  clientHeader.push(`rest/${this._gaxGrpc.grpcVersion}`);
135
134
  }
136
135
  if (opts.libName && opts.libVersion) {
@@ -154,8 +153,9 @@ class SpannerClient {
154
153
  // Some of the methods on this service provide streaming responses.
155
154
  // Provide descriptors for these.
156
155
  this.descriptors.stream = {
157
- executeStreamingSql: new this._gaxModule.StreamDescriptor(this._gaxModule.StreamType.SERVER_STREAMING, opts.fallback === 'rest'),
158
- streamingRead: new this._gaxModule.StreamDescriptor(this._gaxModule.StreamType.SERVER_STREAMING, opts.fallback === 'rest'),
156
+ executeStreamingSql: new this._gaxModule.StreamDescriptor(this._gaxModule.StreamType.SERVER_STREAMING, !!opts.fallback),
157
+ streamingRead: new this._gaxModule.StreamDescriptor(this._gaxModule.StreamType.SERVER_STREAMING, !!opts.fallback),
158
+ batchWrite: new this._gaxModule.StreamDescriptor(this._gaxModule.StreamType.SERVER_STREAMING, !!opts.fallback),
159
159
  };
160
160
  // Put together the default options sent with requests.
161
161
  this._defaults = this._gaxGrpc.constructSettings('google.spanner.v1.Spanner', gapicConfig, opts.clientConfig || {}, { 'x-goog-api-client': clientHeader.join(' ') });
@@ -206,6 +206,7 @@ class SpannerClient {
206
206
  'rollback',
207
207
  'partitionQuery',
208
208
  'partitionRead',
209
+ 'batchWrite',
209
210
  ];
210
211
  for (const methodName of spannerStubMethods) {
211
212
  const callPromise = this.spannerStub.then(stub => (...args) => {
@@ -529,11 +530,11 @@ class SpannerClient {
529
530
  return this.innerApiCalls.partitionRead(request, options, callback);
530
531
  }
531
532
  /**
532
- * Like {@link google.spanner.v1.Spanner.ExecuteSql|ExecuteSql}, except returns the result
533
- * set as a stream. Unlike {@link google.spanner.v1.Spanner.ExecuteSql|ExecuteSql}, there
534
- * is no limit on the size of the returned result set. However, no
535
- * individual row in the result set can exceed 100 MiB, and no
536
- * column value can exceed 10 MiB.
533
+ * Like {@link protos.google.spanner.v1.Spanner.ExecuteSql|ExecuteSql}, except returns the
534
+ * result set as a stream. Unlike
535
+ * {@link protos.google.spanner.v1.Spanner.ExecuteSql|ExecuteSql}, there is no limit on
536
+ * the size of the returned result set. However, no individual row in the
537
+ * result set can exceed 100 MiB, and no column value can exceed 10 MiB.
537
538
  *
538
539
  * @param {Object} request
539
540
  * The request object that will be sent.
@@ -569,23 +570,27 @@ class SpannerClient {
569
570
  * @param {number[]} request.paramTypes
570
571
  * It is not always possible for Cloud Spanner to infer the right SQL type
571
572
  * from a JSON value. For example, values of type `BYTES` and values
572
- * of type `STRING` both appear in {@link google.spanner.v1.ExecuteSqlRequest.params|params} as JSON strings.
573
+ * of type `STRING` both appear in
574
+ * {@link protos.google.spanner.v1.ExecuteSqlRequest.params|params} as JSON strings.
573
575
  *
574
576
  * In these cases, `param_types` can be used to specify the exact
575
577
  * SQL type for some or all of the SQL statement parameters. See the
576
- * definition of {@link google.spanner.v1.Type|Type} for more information
578
+ * definition of {@link protos.google.spanner.v1.Type|Type} for more information
577
579
  * about SQL types.
578
580
  * @param {Buffer} request.resumeToken
579
581
  * If this request is resuming a previously interrupted SQL statement
580
582
  * execution, `resume_token` should be copied from the last
581
- * {@link google.spanner.v1.PartialResultSet|PartialResultSet} yielded before the interruption. Doing this
582
- * enables the new SQL statement execution to resume where the last one left
583
- * off. The rest of the request parameters must exactly match the
584
- * request that yielded this token.
583
+ * {@link protos.google.spanner.v1.PartialResultSet|PartialResultSet} yielded before the
584
+ * interruption. Doing this enables the new SQL statement execution to resume
585
+ * where the last one left off. The rest of the request parameters must
586
+ * exactly match the request that yielded this token.
585
587
  * @param {google.spanner.v1.ExecuteSqlRequest.QueryMode} request.queryMode
586
588
  * Used to control the amount of debugging information returned in
587
- * {@link google.spanner.v1.ResultSetStats|ResultSetStats}. If {@link google.spanner.v1.ExecuteSqlRequest.partition_token|partition_token} is set, {@link google.spanner.v1.ExecuteSqlRequest.query_mode|query_mode} can only
588
- * be set to {@link google.spanner.v1.ExecuteSqlRequest.QueryMode.NORMAL|QueryMode.NORMAL}.
589
+ * {@link protos.google.spanner.v1.ResultSetStats|ResultSetStats}. If
590
+ * {@link protos.google.spanner.v1.ExecuteSqlRequest.partition_token|partition_token} is
591
+ * set, {@link protos.google.spanner.v1.ExecuteSqlRequest.query_mode|query_mode} can only
592
+ * be set to
593
+ * {@link protos.google.spanner.v1.ExecuteSqlRequest.QueryMode.NORMAL|QueryMode.NORMAL}.
589
594
  * @param {Buffer} request.partitionToken
590
595
  * If present, results will be restricted to the specified partition
591
596
  * previously created using PartitionQuery(). There must be an exact
@@ -606,18 +611,19 @@ class SpannerClient {
606
611
  * Query optimizer configuration to use for the given query.
607
612
  * @param {google.spanner.v1.RequestOptions} request.requestOptions
608
613
  * Common options for this request.
614
+ * @param {google.spanner.v1.DirectedReadOptions} request.directedReadOptions
615
+ * Directed read options for this request.
609
616
  * @param {boolean} request.dataBoostEnabled
610
617
  * If this is for a partitioned query and this field is set to `true`, the
611
- * request will be executed via Spanner independent compute resources.
618
+ * request is executed with Spanner Data Boost independent compute resources.
612
619
  *
613
620
  * If the field is set to `true` but the request does not set
614
- * `partition_token`, the API will return an `INVALID_ARGUMENT` error.
621
+ * `partition_token`, the API returns an `INVALID_ARGUMENT` error.
615
622
  * @param {object} [options]
616
623
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
617
624
  * @returns {Stream}
618
- * An object stream which emits {@link google.spanner.v1.PartialResultSet | PartialResultSet} on 'data' event.
619
- * Please see the
620
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#server-streaming)
625
+ * An object stream which emits {@link protos.google.spanner.v1.PartialResultSet|PartialResultSet} on 'data' event.
626
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#server-streaming | documentation }
621
627
  * for more details and examples.
622
628
  */
623
629
  executeStreamingSql(request, options) {
@@ -634,9 +640,9 @@ class SpannerClient {
634
640
  return this.innerApiCalls.executeStreamingSql(request, options);
635
641
  }
636
642
  /**
637
- * Like {@link google.spanner.v1.Spanner.Read|Read}, except returns the result set as a
638
- * stream. Unlike {@link google.spanner.v1.Spanner.Read|Read}, there is no limit on the
639
- * size of the returned result set. However, no individual row in
643
+ * Like {@link protos.google.spanner.v1.Spanner.Read|Read}, except returns the result set
644
+ * as a stream. Unlike {@link protos.google.spanner.v1.Spanner.Read|Read}, there is no
645
+ * limit on the size of the returned result set. However, no individual row in
640
646
  * the result set can exceed 100 MiB, and no column value can exceed
641
647
  * 10 MiB.
642
648
  *
@@ -650,22 +656,29 @@ class SpannerClient {
650
656
  * @param {string} request.table
651
657
  * Required. The name of the table in the database to be read.
652
658
  * @param {string} request.index
653
- * If non-empty, the name of an index on {@link google.spanner.v1.ReadRequest.table|table}. This index is
654
- * used instead of the table primary key when interpreting {@link google.spanner.v1.ReadRequest.key_set|key_set}
655
- * and sorting result rows. See {@link google.spanner.v1.ReadRequest.key_set|key_set} for further information.
659
+ * If non-empty, the name of an index on
660
+ * {@link protos.google.spanner.v1.ReadRequest.table|table}. This index is used instead of
661
+ * the table primary key when interpreting
662
+ * {@link protos.google.spanner.v1.ReadRequest.key_set|key_set} and sorting result rows.
663
+ * See {@link protos.google.spanner.v1.ReadRequest.key_set|key_set} for further
664
+ * information.
656
665
  * @param {string[]} request.columns
657
- * Required. The columns of {@link google.spanner.v1.ReadRequest.table|table} to be returned for each row matching
658
- * this request.
666
+ * Required. The columns of {@link protos.google.spanner.v1.ReadRequest.table|table} to be
667
+ * returned for each row matching this request.
659
668
  * @param {google.spanner.v1.KeySet} request.keySet
660
669
  * Required. `key_set` identifies the rows to be yielded. `key_set` names the
661
- * primary keys of the rows in {@link google.spanner.v1.ReadRequest.table|table} to be yielded, unless {@link google.spanner.v1.ReadRequest.index|index}
662
- * is present. If {@link google.spanner.v1.ReadRequest.index|index} is present, then {@link google.spanner.v1.ReadRequest.key_set|key_set} instead names
663
- * index keys in {@link google.spanner.v1.ReadRequest.index|index}.
664
- *
665
- * If the {@link google.spanner.v1.ReadRequest.partition_token|partition_token} field is empty, rows are yielded
666
- * in table primary key order (if {@link google.spanner.v1.ReadRequest.index|index} is empty) or index key order
667
- * (if {@link google.spanner.v1.ReadRequest.index|index} is non-empty). If the {@link google.spanner.v1.ReadRequest.partition_token|partition_token} field is not
668
- * empty, rows will be yielded in an unspecified order.
670
+ * primary keys of the rows in {@link protos.google.spanner.v1.ReadRequest.table|table} to
671
+ * be yielded, unless {@link protos.google.spanner.v1.ReadRequest.index|index} is present.
672
+ * If {@link protos.google.spanner.v1.ReadRequest.index|index} is present, then
673
+ * {@link protos.google.spanner.v1.ReadRequest.key_set|key_set} instead names index keys
674
+ * in {@link protos.google.spanner.v1.ReadRequest.index|index}.
675
+ *
676
+ * If the {@link protos.google.spanner.v1.ReadRequest.partition_token|partition_token}
677
+ * field is empty, rows are yielded in table primary key order (if
678
+ * {@link protos.google.spanner.v1.ReadRequest.index|index} is empty) or index key order
679
+ * (if {@link protos.google.spanner.v1.ReadRequest.index|index} is non-empty). If the
680
+ * {@link protos.google.spanner.v1.ReadRequest.partition_token|partition_token} field is
681
+ * not empty, rows will be yielded in an unspecified order.
669
682
  *
670
683
  * It is not an error for the `key_set` to name rows that do not
671
684
  * exist in the database. Read yields nothing for nonexistent rows.
@@ -676,9 +689,9 @@ class SpannerClient {
676
689
  * @param {Buffer} request.resumeToken
677
690
  * If this request is resuming a previously interrupted read,
678
691
  * `resume_token` should be copied from the last
679
- * {@link google.spanner.v1.PartialResultSet|PartialResultSet} yielded before the interruption. Doing this
680
- * enables the new read to resume where the last read left off. The
681
- * rest of the request parameters must exactly match the request
692
+ * {@link protos.google.spanner.v1.PartialResultSet|PartialResultSet} yielded before the
693
+ * interruption. Doing this enables the new read to resume where the last read
694
+ * left off. The rest of the request parameters must exactly match the request
682
695
  * that yielded this token.
683
696
  * @param {Buffer} request.partitionToken
684
697
  * If present, results will be restricted to the specified partition
@@ -687,18 +700,19 @@ class SpannerClient {
687
700
  * PartitionReadRequest message used to create this partition_token.
688
701
  * @param {google.spanner.v1.RequestOptions} request.requestOptions
689
702
  * Common options for this request.
703
+ * @param {google.spanner.v1.DirectedReadOptions} request.directedReadOptions
704
+ * Directed read options for this request.
690
705
  * @param {boolean} request.dataBoostEnabled
691
706
  * If this is for a partitioned read and this field is set to `true`, the
692
- * request will be executed via Spanner independent compute resources.
707
+ * request is executed with Spanner Data Boost independent compute resources.
693
708
  *
694
709
  * If the field is set to `true` but the request does not set
695
- * `partition_token`, the API will return an `INVALID_ARGUMENT` error.
710
+ * `partition_token`, the API returns an `INVALID_ARGUMENT` error.
696
711
  * @param {object} [options]
697
712
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
698
713
  * @returns {Stream}
699
- * An object stream which emits {@link google.spanner.v1.PartialResultSet | PartialResultSet} on 'data' event.
700
- * Please see the
701
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#server-streaming)
714
+ * An object stream which emits {@link protos.google.spanner.v1.PartialResultSet|PartialResultSet} on 'data' event.
715
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#server-streaming | documentation }
702
716
  * for more details and examples.
703
717
  */
704
718
  streamingRead(request, options) {
@@ -714,6 +728,51 @@ class SpannerClient {
714
728
  this.initialize();
715
729
  return this.innerApiCalls.streamingRead(request, options);
716
730
  }
731
+ /**
732
+ * Batches the supplied mutation groups in a collection of efficient
733
+ * transactions. All mutations in a group are committed atomically. However,
734
+ * mutations across groups can be committed non-atomically in an unspecified
735
+ * order and thus, they must be independent of each other. Partial failure is
736
+ * possible, i.e., some groups may have been committed successfully, while
737
+ * some may have failed. The results of individual batches are streamed into
738
+ * the response as the batches are applied.
739
+ *
740
+ * BatchWrite requests are not replay protected, meaning that each mutation
741
+ * group may be applied more than once. Replays of non-idempotent mutations
742
+ * may have undesirable effects. For example, replays of an insert mutation
743
+ * may produce an already exists error or if you use generated or commit
744
+ * timestamp-based keys, it may result in additional rows being added to the
745
+ * mutation's table. We recommend structuring your mutation groups to be
746
+ * idempotent to avoid this issue.
747
+ *
748
+ * @param {Object} request
749
+ * The request object that will be sent.
750
+ * @param {string} request.session
751
+ * Required. The session in which the batch request is to be run.
752
+ * @param {google.spanner.v1.RequestOptions} request.requestOptions
753
+ * Common options for this request.
754
+ * @param {number[]} request.mutationGroups
755
+ * Required. The groups of mutations to be applied.
756
+ * @param {object} [options]
757
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
758
+ * @returns {Stream}
759
+ * An object stream which emits {@link protos.google.spanner.v1.BatchWriteResponse|BatchWriteResponse} on 'data' event.
760
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#server-streaming | documentation }
761
+ * for more details and examples.
762
+ */
763
+ batchWrite(request, options) {
764
+ var _a;
765
+ request = request || {};
766
+ options = options || {};
767
+ options.otherArgs = options.otherArgs || {};
768
+ options.otherArgs.headers = options.otherArgs.headers || {};
769
+ options.otherArgs.headers['x-goog-request-params'] =
770
+ this._gaxModule.routingHeader.fromParams({
771
+ session: (_a = request.session) !== null && _a !== void 0 ? _a : '',
772
+ });
773
+ this.initialize();
774
+ return this.innerApiCalls.batchWrite(request, options);
775
+ }
717
776
  listSessions(request, optionsOrCallback, callback) {
718
777
  var _a;
719
778
  request = request || {};
@@ -746,8 +805,9 @@ class SpannerClient {
746
805
  * to the server's maximum allowed page size.
747
806
  * @param {string} request.pageToken
748
807
  * If non-empty, `page_token` should contain a
749
- * {@link google.spanner.v1.ListSessionsResponse.next_page_token|next_page_token} from a previous
750
- * {@link google.spanner.v1.ListSessionsResponse|ListSessionsResponse}.
808
+ * {@link protos.google.spanner.v1.ListSessionsResponse.next_page_token|next_page_token}
809
+ * from a previous
810
+ * {@link protos.google.spanner.v1.ListSessionsResponse|ListSessionsResponse}.
751
811
  * @param {string} request.filter
752
812
  * An expression for filtering the results of the request. Filter rules are
753
813
  * case insensitive. The fields eligible for filtering are:
@@ -762,13 +822,12 @@ class SpannerClient {
762
822
  * @param {object} [options]
763
823
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
764
824
  * @returns {Stream}
765
- * An object stream which emits an object representing {@link google.spanner.v1.Session | Session} on 'data' event.
825
+ * An object stream which emits an object representing {@link protos.google.spanner.v1.Session|Session} on 'data' event.
766
826
  * The client library will perform auto-pagination by default: it will call the API as many
767
827
  * times as needed. Note that it can affect your quota.
768
828
  * We recommend using `listSessionsAsync()`
769
829
  * method described below for async iteration which you can stop as needed.
770
- * Please see the
771
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
830
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
772
831
  * for more details and examples.
773
832
  */
774
833
  listSessionsStream(request, options) {
@@ -799,8 +858,9 @@ class SpannerClient {
799
858
  * to the server's maximum allowed page size.
800
859
  * @param {string} request.pageToken
801
860
  * If non-empty, `page_token` should contain a
802
- * {@link google.spanner.v1.ListSessionsResponse.next_page_token|next_page_token} from a previous
803
- * {@link google.spanner.v1.ListSessionsResponse|ListSessionsResponse}.
861
+ * {@link protos.google.spanner.v1.ListSessionsResponse.next_page_token|next_page_token}
862
+ * from a previous
863
+ * {@link protos.google.spanner.v1.ListSessionsResponse|ListSessionsResponse}.
804
864
  * @param {string} request.filter
805
865
  * An expression for filtering the results of the request. Filter rules are
806
866
  * case insensitive. The fields eligible for filtering are:
@@ -815,12 +875,11 @@ class SpannerClient {
815
875
  * @param {object} [options]
816
876
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
817
877
  * @returns {Object}
818
- * An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols).
878
+ * An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
819
879
  * When you iterate the returned iterable, each element will be an object representing
820
- * {@link google.spanner.v1.Session | Session}. The API will be called under the hood as needed, once per the page,
880
+ * {@link protos.google.spanner.v1.Session|Session}. The API will be called under the hood as needed, once per the page,
821
881
  * so you can stop the iteration when you don't need more results.
822
- * Please see the
823
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
882
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
824
883
  * for more details and examples.
825
884
  */
826
885
  listSessionsAsync(request, options) {
@@ -106,6 +106,11 @@
106
106
  "timeout_millis": 30000,
107
107
  "retry_codes_name": "unavailable",
108
108
  "retry_params_name": "9442ca297df43f7314712e1a19d003838e738a45"
109
+ },
110
+ "BatchWrite": {
111
+ "timeout_millis": 3600000,
112
+ "retry_codes_name": "non_idempotent",
113
+ "retry_params_name": "default"
109
114
  }
110
115
  }
111
116
  }
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@google-cloud/spanner",
3
3
  "description": "Cloud Spanner Client Library for Node.js",
4
- "version": "6.16.0",
4
+ "version": "7.1.0",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Google Inc.",
7
7
  "engines": {
8
- "node": ">=12.0.0"
8
+ "node": ">=14.0.0"
9
9
  },
10
10
  "repository": "googleapis/nodejs-spanner",
11
11
  "main": "./build/src/index.js",
@@ -33,7 +33,7 @@
33
33
  "samples-test": "cd samples/ && npm link ../ && npm test && cd ../",
34
34
  "system-test": "mocha build/system-test --timeout 1600000",
35
35
  "cleanup": "mocha scripts/cleanup.js --timeout 30000",
36
- "test": "c8 mocha build/test build/test/common",
36
+ "test": "mocha build/test build/test/common",
37
37
  "ycsb": "node ./benchmark/ycsb.js run -P ./benchmark/workloada -p table=usertable -p cloudspanner.instance=ycsb-instance -p operationcount=100 -p cloudspanner.database=ycsb",
38
38
  "fix": "gts fix",
39
39
  "clean": "gts clean",
@@ -47,41 +47,42 @@
47
47
  "benchwrapper": "node bin/benchwrapper.js",
48
48
  "prelint": "cd samples; npm link ../; npm install",
49
49
  "precompile": "gts clean",
50
- "compile-protos": "compileProtos src"
50
+ "compile-protos": "compileProtos src",
51
+ "coverage": "c8 mocha build/test build/test/common && c8 report --check-coverage"
51
52
  },
52
53
  "dependencies": {
53
- "@google-cloud/common": "^4.0.0",
54
+ "@google-cloud/common": "^5.0.0",
54
55
  "@google-cloud/precise-date": "^3.0.0",
55
- "@google-cloud/projectify": "^3.0.0",
56
- "@google-cloud/promisify": "^3.0.0",
56
+ "@google-cloud/projectify": "^4.0.0",
57
+ "@google-cloud/promisify": "^4.0.0",
57
58
  "@grpc/proto-loader": "^0.7.0",
58
59
  "@types/big.js": "^6.0.0",
59
- "@types/stack-trace": "0.0.29",
60
+ "@types/stack-trace": "0.0.32",
60
61
  "arrify": "^2.0.0",
61
62
  "big.js": "^6.0.0",
62
63
  "checkpoint-stream": "^0.1.1",
63
64
  "duplexify": "^4.1.1",
64
65
  "events-intercept": "^2.0.0",
65
66
  "extend": "^3.0.2",
66
- "google-auth-library": "^8.0.2",
67
- "google-gax": "^3.5.2",
67
+ "google-auth-library": "^9.0.0",
68
+ "google-gax": "4.0.5",
68
69
  "grpc-gcp": "^1.0.0",
69
70
  "is": "^3.2.1",
70
71
  "lodash.snakecase": "^4.1.1",
71
72
  "merge-stream": "^2.0.0",
72
73
  "p-queue": "^6.0.2",
73
74
  "protobufjs": "^7.0.0",
74
- "retry-request": "^5.0.0",
75
+ "retry-request": "^6.0.0",
75
76
  "split-array-stream": "^2.0.0",
76
77
  "stack-trace": "0.0.10",
77
78
  "stream-events": "^1.0.4",
78
- "teeny-request": "^8.0.0",
79
+ "teeny-request": "^9.0.0",
79
80
  "through2": "^4.0.0"
80
81
  },
81
82
  "devDependencies": {
82
83
  "@types/concat-stream": "^2.0.0",
83
84
  "@types/extend": "^3.0.0",
84
- "@types/is": "0.0.22",
85
+ "@types/is": "0.0.24",
85
86
  "@types/lodash.snakecase": "^4.1.4",
86
87
  "@types/merge-stream": "^1.1.2",
87
88
  "@types/mocha": "^9.0.0",
@@ -93,15 +94,16 @@
93
94
  "@types/through2": "^2.0.34",
94
95
  "@types/uuid": "^9.0.0",
95
96
  "binary-search-bounds": "^2.0.4",
96
- "c8": "^8.0.0",
97
+ "c8": "^8.0.1",
97
98
  "codecov": "^3.0.2",
98
99
  "concat-stream": "^2.0.0",
99
100
  "dedent": "^0.7.0",
100
101
  "execa": "^5.0.0",
101
- "gts": "^3.1.0",
102
+ "gapic-tools": "^0.2.0",
103
+ "gts": "^5.0.0",
102
104
  "jsdoc": "^4.0.0",
103
105
  "jsdoc-fresh": "^2.0.0",
104
- "jsdoc-region-tag": "^2.0.0",
106
+ "jsdoc-region-tag": "^3.0.0",
105
107
  "linkinator": "^4.0.0",
106
108
  "lodash.random": "^3.2.0",
107
109
  "mocha": "^9.2.2",
@@ -113,7 +115,7 @@
113
115
  "stats-lite": "^2.1.1",
114
116
  "time-span": "^4.0.0",
115
117
  "tmp": "^0.2.0",
116
- "typescript": "^4.6.4",
118
+ "typescript": "^5.1.6",
117
119
  "uuid": "^9.0.0",
118
120
  "yargs": "^17.0.0"
119
121
  }