@google-cloud/spanner 8.10.0 → 8.12.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.
Files changed (71) hide show
  1. package/build/protos/status.json +243 -0
  2. package/build/src/backup.d.ts +2 -1
  3. package/build/src/batch-transaction.d.ts +2 -1
  4. package/build/src/codec.d.ts +2 -1
  5. package/build/src/codec.js +21 -20
  6. package/build/src/common-grpc/service.js +9 -10
  7. package/build/src/common.d.ts +3 -2
  8. package/build/src/database.d.ts +7 -2
  9. package/build/src/database.js +58 -37
  10. package/build/src/index.d.ts +3 -2
  11. package/build/src/index.js +7 -16
  12. package/build/src/instance-config.d.ts +3 -3
  13. package/build/src/instance-config.js +1 -1
  14. package/build/src/instance.d.ts +5 -5
  15. package/build/src/instance.js +3 -2
  16. package/build/src/instrument.js +5 -4
  17. package/build/src/multiplexed-session.d.ts +3 -0
  18. package/build/src/multiplexed-session.js +28 -2
  19. package/build/src/partial-result-stream.d.ts +2 -1
  20. package/build/src/partial-result-stream.js +161 -35
  21. package/build/src/protos.d.ts +21 -0
  22. package/build/src/protos.js +52 -0
  23. package/build/src/session-factory.d.ts +4 -2
  24. package/build/src/session-factory.js +14 -3
  25. package/build/src/session.d.ts +2 -1
  26. package/build/src/table.d.ts +3 -2
  27. package/build/src/table.js +4 -3
  28. package/build/src/transaction-runner.d.ts +2 -1
  29. package/build/src/transaction-runner.js +6 -8
  30. package/build/src/transaction.d.ts +45 -4
  31. package/build/src/transaction.js +105 -6
  32. package/build/src/v1/index.d.ts +1 -4
  33. package/build/src/v1/index.js +5 -8
  34. package/package.json +4 -9
  35. package/build/protos/google/spanner/admin/database/v1/backup.proto +0 -773
  36. package/build/protos/google/spanner/admin/database/v1/backup_schedule.proto +0 -230
  37. package/build/protos/google/spanner/admin/database/v1/common.proto +0 -132
  38. package/build/protos/google/spanner/admin/database/v1/spanner_database_admin.proto +0 -1314
  39. package/build/protos/google/spanner/admin/instance/v1/common.proto +0 -64
  40. package/build/protos/google/spanner/admin/instance/v1/spanner_instance_admin.proto +0 -2184
  41. package/build/protos/google/spanner/executor/v1/cloud_executor.proto +0 -1604
  42. package/build/protos/google/spanner/v1/change_stream.proto +0 -451
  43. package/build/protos/google/spanner/v1/commit_response.proto +0 -80
  44. package/build/protos/google/spanner/v1/keys.proto +0 -163
  45. package/build/protos/google/spanner/v1/location.proto +0 -388
  46. package/build/protos/google/spanner/v1/mutation.proto +0 -156
  47. package/build/protos/google/spanner/v1/query_plan.proto +0 -156
  48. package/build/protos/google/spanner/v1/result_set.proto +0 -260
  49. package/build/protos/google/spanner/v1/spanner.proto +0 -1472
  50. package/build/protos/google/spanner/v1/transaction.proto +0 -329
  51. package/build/protos/google/spanner/v1/type.proto +0 -214
  52. package/build/protos/protos.d.ts +0 -44031
  53. package/build/protos/protos.js +0 -122630
  54. package/build/protos/protos.json +0 -11631
  55. package/build/src/v1/database_admin_client.d.ts +0 -2367
  56. package/build/src/v1/database_admin_client.js +0 -2914
  57. package/build/src/v1/database_admin_client_config.json +0 -169
  58. package/build/src/v1/database_admin_proto_list.json +0 -6
  59. package/build/src/v1/gapic_metadata.json +0 -27
  60. package/build/src/v1/instance_admin_client.d.ts +0 -2106
  61. package/build/src/v1/instance_admin_client.js +0 -2387
  62. package/build/src/v1/instance_admin_client_config.json +0 -129
  63. package/build/src/v1/instance_admin_proto_list.json +0 -4
  64. package/build/src/v1/spanner_client.d.ts +0 -1319
  65. package/build/src/v1/spanner_client.js +0 -1446
  66. package/build/src/v1/spanner_client_config.json +0 -123
  67. package/build/src/v1/spanner_executor_proxy_client.d.ts +0 -419
  68. package/build/src/v1/spanner_executor_proxy_client.js +0 -728
  69. package/build/src/v1/spanner_executor_proxy_client_config.json +0 -30
  70. package/build/src/v1/spanner_executor_proxy_proto_list.json +0 -15
  71. package/build/src/v1/spanner_proto_list.json +0 -12
@@ -19,7 +19,8 @@
19
19
  declare const common: any;
20
20
  import * as r from 'teeny-request';
21
21
  import { Snapshot, Transaction, PartitionedDml, TimestampBounds } from './transaction';
22
- import { google } from '../protos/protos';
22
+ import { protos } from '@google-cloud/spanner-api';
23
+ import google = protos.google;
23
24
  import { Database } from './database';
24
25
  import { NormalCallback } from './common';
25
26
  import { ObservabilityOptions } from './instrument';
@@ -17,11 +17,12 @@ import { Operation as GaxOperation, CallOptions } from 'google-gax';
17
17
  import { Database, UpdateSchemaCallback, UpdateSchemaResponse } from './database';
18
18
  import { PartialResultStream } from './partial-result-stream';
19
19
  import { ReadRequest, TimestampBounds, CommitOptions, CommitResponse, ReadResponse, ReadCallback, CommitCallback } from './transaction';
20
- import { google as databaseAdmin } from '../protos/protos';
20
+ import { protos } from '@google-cloud/spanner-api';
21
+ import databaseAdmin = protos.google;
21
22
  import { Schema, LongRunningCallback } from './common';
22
23
  import IRequestOptions = databaseAdmin.spanner.v1.IRequestOptions;
23
24
  import { ObservabilityOptions } from './instrument';
24
- import { google } from '../protos/protos';
25
+ import google = protos.google;
25
26
  import IsolationLevel = google.spanner.v1.TransactionOptions.IsolationLevel;
26
27
  import ReadLockMode = google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode;
27
28
  import { Int, SpannerDate, Numeric, Float32, Float } from './codec';
@@ -18,10 +18,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
18
18
  exports.Table = void 0;
19
19
  const promisify_1 = require("@google-cloud/promisify");
20
20
  const through = require("through2");
21
+ const spanner_api_1 = require("@google-cloud/spanner-api");
21
22
  const instrument_1 = require("./instrument");
22
- const protos_1 = require("../protos/protos");
23
- var IsolationLevel = protos_1.google.spanner.v1.TransactionOptions.IsolationLevel;
24
- var ReadLockMode = protos_1.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode;
23
+ var google = spanner_api_1.protos.google;
24
+ var IsolationLevel = google.spanner.v1.TransactionOptions.IsolationLevel;
25
+ var ReadLockMode = google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode;
25
26
  const GOOGLE_STANDARD_SQL = 'GOOGLE_STANDARD_SQL';
26
27
  const POSTGRESQL = 'POSTGRESQL';
27
28
  /**
@@ -17,7 +17,8 @@ import { grpc } from 'google-gax';
17
17
  import { Session } from './session';
18
18
  import { Transaction } from './transaction';
19
19
  import { NormalCallback } from './common';
20
- import { google } from '../protos/protos';
20
+ import { protos } from '@google-cloud/spanner-api';
21
+ import google = protos.google;
21
22
  import IRequestOptions = google.spanner.v1.IRequestOptions;
22
23
  import IsolationLevel = google.spanner.v1.TransactionOptions.IsolationLevel;
23
24
  import ReadLockMode = google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode;
@@ -19,18 +19,16 @@ exports.AsyncTransactionRunner = exports.TransactionRunner = exports.Runner = ex
19
19
  exports.isRetryableInternalError = isRetryableInternalError;
20
20
  const promisify_1 = require("@google-cloud/promisify");
21
21
  const google_gax_1 = require("google-gax");
22
- const protobufjs_1 = require("protobufjs");
23
22
  const through = require("through2");
24
23
  const session_pool_1 = require("./session-pool");
25
- const protos_1 = require("../protos/protos");
26
- var IsolationLevel = protos_1.google.spanner.v1.TransactionOptions.IsolationLevel;
27
- var ReadLockMode = protos_1.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode;
28
- // eslint-disable-next-line @typescript-eslint/no-var-requires
29
- const jsonProtos = require('../protos/protos.json');
24
+ const spanner_api_1 = require("@google-cloud/spanner-api");
25
+ var google = spanner_api_1.protos.google;
26
+ var IsolationLevel = google.spanner.v1.TransactionOptions.IsolationLevel;
27
+ var ReadLockMode = google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode;
28
+ const protos_1 = require("./protos");
30
29
  const RETRY_INFO = 'google.rpc.retryinfo-bin';
31
30
  const RETRYABLE = [google_gax_1.grpc.status.ABORTED];
32
- // tslint:disable-next-line variable-name
33
- const RetryInfo = protobufjs_1.Root.fromJSON(jsonProtos).lookup('google.rpc.RetryInfo');
31
+ const RetryInfo = (0, protos_1.getRetryInfo)();
34
32
  /**
35
33
  * Error class used to signal a Transaction timeout.
36
34
  *
@@ -23,14 +23,14 @@ import { Json, JSONOptions, Type, Value } from './codec';
23
23
  import { PartialResultStream, ResumeToken, Row } from './partial-result-stream';
24
24
  import { Session } from './session';
25
25
  import { Key } from './table';
26
- import { Span } from './instrument';
27
- import { google as spannerClient } from '../protos/protos';
26
+ import { Span, ObservabilityOptions, traceConfig } from './instrument';
28
27
  import { NormalCallback } from './common';
29
- import { google } from '../protos/protos';
28
+ import { protos } from '@google-cloud/spanner-api';
29
+ import spannerClient = protos.google;
30
+ import google = protos.google;
30
31
  import IQueryOptions = google.spanner.v1.ExecuteSqlRequest.IQueryOptions;
31
32
  import IRequestOptions = google.spanner.v1.IRequestOptions;
32
33
  import { Spanner } from '.';
33
- import { ObservabilityOptions, traceConfig } from './instrument';
34
34
  import { RunTransactionOptions } from './transaction-runner';
35
35
  export type Rows = Array<Row | Json>;
36
36
  export interface TimestampBounds {
@@ -46,6 +46,13 @@ export interface BatchWriteOptions {
46
46
  gaxOptions?: CallOptions;
47
47
  excludeTxnFromChangeStreams?: boolean;
48
48
  }
49
+ export interface QueueSendOptions {
50
+ payload?: Value;
51
+ deliverTime?: Date | spannerClient.protobuf.ITimestamp;
52
+ }
53
+ export interface QueueAckOptions {
54
+ ignoreNotFound?: boolean;
55
+ }
49
56
  export interface RequestOptions {
50
57
  json?: boolean;
51
58
  jsonOptions?: JSONOptions;
@@ -1376,6 +1383,22 @@ export declare class Transaction extends Dml {
1376
1383
  * ```
1377
1384
  */
1378
1385
  insert(table: string, rows: object | object[]): void;
1386
+ /**
1387
+ * Queue a send mutation.
1388
+ *
1389
+ * @param {string} queue The name of the queue.
1390
+ * @param {Key} key The key of the message to send.
1391
+ * @param {QueueSendOptions} [options] Options for the send mutation.
1392
+ */
1393
+ queueSend(queue: string, key: Key, options?: QueueSendOptions): void;
1394
+ /**
1395
+ * Queue an ack mutation.
1396
+ *
1397
+ * @param {string} queue The name of the queue.
1398
+ * @param {Key} key The key of the message to ack.
1399
+ * @param {QueueAckOptions} [options] Options for the ack mutation.
1400
+ */
1401
+ queueAck(queue: string, key: Key, options?: QueueAckOptions): void;
1379
1402
  /**
1380
1403
  * Replace rows of data within a table.
1381
1404
  *
@@ -1612,6 +1635,22 @@ export declare class MutationSet {
1612
1635
  * @param {object|object[]} rows. A single row object or an array of row objects to insert.
1613
1636
  */
1614
1637
  insert(table: string, rows: object | object[]): void;
1638
+ /**
1639
+ * Queue a send mutation.
1640
+ *
1641
+ * @param {string} queue The name of the queue.
1642
+ * @param {Key} key The key of the message to send.
1643
+ * @param {QueueSendOptions} [options] Options for the send mutation.
1644
+ */
1645
+ queueSend(queue: string, key: Key, options?: QueueSendOptions): void;
1646
+ /**
1647
+ * Queue an ack mutation.
1648
+ *
1649
+ * @param {string} queue The name of the queue.
1650
+ * @param {Key} key The key of the message to ack.
1651
+ * @param {QueueAckOptions} [options] Options for the ack mutation.
1652
+ */
1653
+ queueAck(queue: string, key: Key, options?: QueueAckOptions): void;
1615
1654
  /**
1616
1655
  * Adds an update operation to the mutation set.
1617
1656
  * @param {string} table. The name of the table to update.
@@ -1681,6 +1720,8 @@ export declare class MutationGroup {
1681
1720
  private _proto;
1682
1721
  constructor();
1683
1722
  insert(table: string, rows: object | object[]): void;
1723
+ queueSend(queue: string, key: Key, options?: QueueSendOptions): void;
1724
+ queueAck(queue: string, key: Key, options?: QueueAckOptions): void;
1684
1725
  update(table: string, rows: object | object[]): void;
1685
1726
  upsert(table: string, rows: object | object[]): void;
1686
1727
  replace(table: string, rows: object | object[]): void;
@@ -24,12 +24,13 @@ const google_gax_1 = require("google-gax");
24
24
  const stream_1 = require("stream");
25
25
  const codec_1 = require("./codec");
26
26
  const partial_result_stream_1 = require("./partial-result-stream");
27
- const protos_1 = require("../protos/protos");
28
- const common_1 = require("./common");
29
- const protos_2 = require("../protos/protos");
30
- var IsolationLevel = protos_2.google.spanner.v1.TransactionOptions.IsolationLevel;
31
- var ReadLockMode = protos_2.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode;
32
27
  const instrument_1 = require("./instrument");
28
+ const common_1 = require("./common");
29
+ const spanner_api_1 = require("@google-cloud/spanner-api");
30
+ var spannerClient = spanner_api_1.protos.google;
31
+ var google = spanner_api_1.protos.google;
32
+ var IsolationLevel = google.spanner.v1.TransactionOptions.IsolationLevel;
33
+ var ReadLockMode = google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode;
33
34
  const request_id_header_1 = require("./request_id_header");
34
35
  const RETRY_INFO_TYPE = 'type.googleapis.com/google.rpc.retryinfo';
35
36
  const RETRY_INFO_BIN = 'google.rpc.retryinfo-bin';
@@ -1806,6 +1807,26 @@ class Transaction extends Dml {
1806
1807
  insert(table, rows) {
1807
1808
  this._mutate('insert', table, rows);
1808
1809
  }
1810
+ /**
1811
+ * Queue a send mutation.
1812
+ *
1813
+ * @param {string} queue The name of the queue.
1814
+ * @param {Key} key The key of the message to send.
1815
+ * @param {QueueSendOptions} [options] Options for the send mutation.
1816
+ */
1817
+ queueSend(queue, key, options) {
1818
+ this._queuedMutations.push(buildSendMutation(queue, key, options));
1819
+ }
1820
+ /**
1821
+ * Queue an ack mutation.
1822
+ *
1823
+ * @param {string} queue The name of the queue.
1824
+ * @param {Key} key The key of the message to ack.
1825
+ * @param {QueueAckOptions} [options] Options for the ack mutation.
1826
+ */
1827
+ queueAck(queue, key, options) {
1828
+ this._queuedMutations.push(buildAckMutation(queue, key, options));
1829
+ }
1809
1830
  /**
1810
1831
  * Replace rows of data within a table.
1811
1832
  *
@@ -2097,6 +2118,58 @@ function buildDeleteMutation(table, keys) {
2097
2118
  };
2098
2119
  return mutation;
2099
2120
  }
2121
+ /**
2122
+ * Builds a send mutation.
2123
+ *
2124
+ * @param {string} queue - The name of the queue.
2125
+ * @param {Key} key - The key for the message.
2126
+ * @param {QueueSendOptions} [options] - Options for sending the message.
2127
+ * @returns {spannerClient.spanner.v1.Mutation} - The formatted send mutation.
2128
+ */
2129
+ function buildSendMutation(queue, key, options) {
2130
+ const send = {
2131
+ queue,
2132
+ key: codec_1.codec.convertToListValue((0, helper_1.toArray)(key)),
2133
+ };
2134
+ if (options) {
2135
+ if (options.payload !== undefined) {
2136
+ send.payload = codec_1.codec.encode(options.payload);
2137
+ }
2138
+ if (options.deliverTime) {
2139
+ if (options.deliverTime instanceof Date) {
2140
+ send.deliverTime = codec_1.codec.convertMsToProtoTimestamp(options.deliverTime.getTime());
2141
+ }
2142
+ else {
2143
+ send.deliverTime = options.deliverTime;
2144
+ }
2145
+ }
2146
+ }
2147
+ const mutation = {
2148
+ send,
2149
+ };
2150
+ return mutation;
2151
+ }
2152
+ /**
2153
+ * Builds an ack mutation.
2154
+ *
2155
+ * @param {string} queue - The name of the queue.
2156
+ * @param {Key} key - The key for the message.
2157
+ * @param {QueueAckOptions} [options] - Options for acking the message.
2158
+ * @returns {spannerClient.spanner.v1.Mutation} - The formatted ack mutation.
2159
+ */
2160
+ function buildAckMutation(queue, key, options) {
2161
+ const ack = {
2162
+ queue,
2163
+ key: codec_1.codec.convertToListValue((0, helper_1.toArray)(key)),
2164
+ };
2165
+ if (options && options.ignoreNotFound !== undefined) {
2166
+ ack.ignoreNotFound = options.ignoreNotFound;
2167
+ }
2168
+ const mutation = {
2169
+ ack,
2170
+ };
2171
+ return mutation;
2172
+ }
2100
2173
  /**
2101
2174
  * MutationSet represent a set of changes to be applied atomically to a Cloud Spanner
2102
2175
  * database with a {@link Transaction}.
@@ -2149,6 +2222,26 @@ class MutationSet {
2149
2222
  insert(table, rows) {
2150
2223
  this._queuedMutations.push(buildMutation('insert', table, rows));
2151
2224
  }
2225
+ /**
2226
+ * Queue a send mutation.
2227
+ *
2228
+ * @param {string} queue The name of the queue.
2229
+ * @param {Key} key The key of the message to send.
2230
+ * @param {QueueSendOptions} [options] Options for the send mutation.
2231
+ */
2232
+ queueSend(queue, key, options) {
2233
+ this._queuedMutations.push(buildSendMutation(queue, key, options));
2234
+ }
2235
+ /**
2236
+ * Queue an ack mutation.
2237
+ *
2238
+ * @param {string} queue The name of the queue.
2239
+ * @param {Key} key The key of the message to ack.
2240
+ * @param {QueueAckOptions} [options] Options for the ack mutation.
2241
+ */
2242
+ queueAck(queue, key, options) {
2243
+ this._queuedMutations.push(buildAckMutation(queue, key, options));
2244
+ }
2152
2245
  /**
2153
2246
  * Adds an update operation to the mutation set.
2154
2247
  * @param {string} table. The name of the table to update.
@@ -2229,11 +2322,17 @@ class MutationGroup {
2229
2322
  _proto;
2230
2323
  constructor() {
2231
2324
  this._proto =
2232
- new protos_1.google.spanner.v1.BatchWriteRequest.MutationGroup();
2325
+ new spannerClient.spanner.v1.BatchWriteRequest.MutationGroup();
2233
2326
  }
2234
2327
  insert(table, rows) {
2235
2328
  this._proto.mutations.push(buildMutation('insert', table, rows));
2236
2329
  }
2330
+ queueSend(queue, key, options) {
2331
+ this._proto.mutations.push(buildSendMutation(queue, key, options));
2332
+ }
2333
+ queueAck(queue, key, options) {
2334
+ this._proto.mutations.push(buildAckMutation(queue, key, options));
2335
+ }
2237
2336
  update(table, rows) {
2238
2337
  this._proto.mutations.push(buildMutation('update', table, rows));
2239
2338
  }
@@ -1,4 +1 @@
1
- export { SpannerClient } from './spanner_client';
2
- export { DatabaseAdminClient } from './database_admin_client';
3
- export { InstanceAdminClient } from './instance_admin_client';
4
- export { SpannerExecutorProxyClient } from './spanner_executor_proxy_client';
1
+ export { SpannerClient, DatabaseAdminClient, InstanceAdminClient, SpannerExecutorProxyClient, } from '@google-cloud/spanner-api';
@@ -18,12 +18,9 @@
18
18
  // ** All changes to this file may be overwritten. **
19
19
  Object.defineProperty(exports, "__esModule", { value: true });
20
20
  exports.SpannerExecutorProxyClient = exports.InstanceAdminClient = exports.DatabaseAdminClient = exports.SpannerClient = void 0;
21
- var spanner_client_1 = require("./spanner_client");
22
- Object.defineProperty(exports, "SpannerClient", { enumerable: true, get: function () { return spanner_client_1.SpannerClient; } });
23
- var database_admin_client_1 = require("./database_admin_client");
24
- Object.defineProperty(exports, "DatabaseAdminClient", { enumerable: true, get: function () { return database_admin_client_1.DatabaseAdminClient; } });
25
- var instance_admin_client_1 = require("./instance_admin_client");
26
- Object.defineProperty(exports, "InstanceAdminClient", { enumerable: true, get: function () { return instance_admin_client_1.InstanceAdminClient; } });
27
- var spanner_executor_proxy_client_1 = require("./spanner_executor_proxy_client");
28
- Object.defineProperty(exports, "SpannerExecutorProxyClient", { enumerable: true, get: function () { return spanner_executor_proxy_client_1.SpannerExecutorProxyClient; } });
21
+ var spanner_api_1 = require("@google-cloud/spanner-api");
22
+ Object.defineProperty(exports, "SpannerClient", { enumerable: true, get: function () { return spanner_api_1.SpannerClient; } });
23
+ Object.defineProperty(exports, "DatabaseAdminClient", { enumerable: true, get: function () { return spanner_api_1.DatabaseAdminClient; } });
24
+ Object.defineProperty(exports, "InstanceAdminClient", { enumerable: true, get: function () { return spanner_api_1.InstanceAdminClient; } });
25
+ Object.defineProperty(exports, "SpannerExecutorProxyClient", { enumerable: true, get: function () { return spanner_api_1.SpannerExecutorProxyClient; } });
29
26
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@google-cloud/spanner",
3
3
  "description": "Cloud Spanner Client Library for Node.js",
4
- "version": "8.10.0",
4
+ "version": "8.12.0",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Google Inc.",
7
7
  "engines": {
@@ -42,14 +42,12 @@
42
42
  "fix": "gts fix",
43
43
  "clean": "gts clean",
44
44
  "compile": "tsc -p . && cp -r protos build && cp -r test/data build/test",
45
- "prepare": "npm run compile-protos && npm run compile",
45
+ "prepare": "cp -r protos build && npm run compile",
46
46
  "pretest": "npm run compile",
47
47
  "presystem-test": "npm run compile",
48
48
  "preobservability-test": "npm run compile",
49
- "proto": "compileProtos src",
50
49
  "benchwrapper": "node bin/benchwrapper.js",
51
50
  "precompile": "gts clean",
52
- "compile-protos": "compileProtos src",
53
51
  "coverage": "c8 mocha build/test build/test/common && c8 report --check-coverage"
54
52
  },
55
53
  "dependencies": {
@@ -61,6 +59,7 @@
61
59
  "@google-cloud/opentelemetry-resource-util": "^2.4.0",
62
60
  "@google-cloud/precise-date": "^5.0.0",
63
61
  "@google-cloud/promisify": "^5.0.0",
62
+ "@google-cloud/spanner-api": "^0.2.0",
64
63
  "@grpc/grpc-js": "^1.13.2",
65
64
  "@grpc/proto-loader": "^0.8.0",
66
65
  "@opentelemetry/api": "^1.9.0",
@@ -72,19 +71,15 @@
72
71
  "@types/big.js": "^6.2.2",
73
72
  "@types/stack-trace": "^0.0.33",
74
73
  "big.js": "^7.0.0",
75
- "checkpoint-stream": "^0.1.2",
76
74
  "duplexify": "^4.1.3",
77
- "events-intercept": "^2.0.0",
78
75
  "extend": "^3.0.2",
79
76
  "google-auth-library": "^10.0.0-rc.1",
80
77
  "google-gax": "5.0.6",
81
78
  "grpc-gcp": "^1.0.1",
82
79
  "lodash.snakecase": "^4.1.1",
83
- "merge-stream": "^2.0.0",
84
80
  "p-queue": "^6.0.2",
85
81
  "protobufjs": "^7.4.0",
86
82
  "retry-request": "^8.0.0",
87
- "split-array-stream": "^2.0.0",
88
83
  "stack-trace": "0.0.10",
89
84
  "stream-events": "^1.0.5",
90
85
  "teeny-request": "^10.0.0",
@@ -99,7 +94,6 @@
99
94
  "@types/extend": "^3.0.4",
100
95
  "@types/is": "^0.0.25",
101
96
  "@types/lodash.snakecase": "^4.1.9",
102
- "@types/merge-stream": "^2.0.0",
103
97
  "@types/mocha": "^10.0.10",
104
98
  "@types/mv": "^2.1.4",
105
99
  "@types/ncp": "^2.0.8",
@@ -140,6 +134,7 @@
140
134
  "overrides": {
141
135
  "gcp-metadata": "^7.0.1",
142
136
  "@sinonjs/fake-timers": "15.2.1",
137
+ "brace-expansion": "5.0.7",
143
138
  "@eslint-community/eslint-utils": "<4.10.0"
144
139
  },
145
140
  "pnpm": {