@malloydata/db-bigquery 0.0.82-dev230910221541 → 0.0.82-dev230912225720

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.
@@ -38,6 +38,7 @@ export declare class BigQueryAuthenticationError extends Error {
38
38
  constructor(message: string);
39
39
  }
40
40
  export declare class BigQueryConnection implements Connection, PersistSQLResults, StreamingConnection {
41
+ readonly name: string;
41
42
  private readonly dialect;
42
43
  static DEFAULT_QUERY_OPTIONS: BigQueryQueryOptions;
43
44
  private bigQuery;
@@ -49,7 +50,6 @@ export declare class BigQueryConnection implements Connection, PersistSQLResults
49
50
  private queryOptions?;
50
51
  private config;
51
52
  private location;
52
- readonly name: string;
53
53
  constructor(name: string, queryOptions?: QueryOptionsReader, config?: BigQueryConnectionConfiguration);
54
54
  get dialectName(): string;
55
55
  private readQueryOptions;
@@ -89,11 +89,11 @@ const TIMEOUT_MS = 1000 * 60 * 10;
89
89
  // manage access to BQ, control costs, enforce global data/API limits
90
90
  class BigQueryConnection {
91
91
  constructor(name, queryOptions, config = {}) {
92
+ this.name = name;
92
93
  this.dialect = new malloy_1.StandardSQLDialect();
93
94
  this.temporaryTables = new Map();
94
95
  this.schemaCache = new Map();
95
96
  this.sqlSchemaCache = new Map();
96
- this.name = name;
97
97
  this.bigQuery = new bigquery_1.BigQuery({
98
98
  userAgent: `Malloy/${malloy_1.Malloy.version}`,
99
99
  keyFilename: config.serviceAccountKeyPath,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@malloydata/db-bigquery",
3
- "version": "0.0.82-dev230910221541",
3
+ "version": "0.0.82-dev230912225720",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -25,7 +25,7 @@
25
25
  "@google-cloud/bigquery": "^5.5.0",
26
26
  "@google-cloud/common": "^3.6.0",
27
27
  "@google-cloud/paginator": "^4.0.1",
28
- "@malloydata/malloy": "^0.0.82-dev230910221541",
28
+ "@malloydata/malloy": "^0.0.82-dev230912225720",
29
29
  "gaxios": "^4.2.0"
30
30
  }
31
31
  }