@firebaseextensions/firestore-bigquery-change-tracker 1.1.26 → 1.1.27
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.
- package/lib/bigquery/index.js +3 -0
- package/package.json +1 -1
package/lib/bigquery/index.js
CHANGED
|
@@ -296,6 +296,9 @@ class FirestoreBigQueryEventHistoryTracker {
|
|
|
296
296
|
schema.fields.push(schema_1.documentPathParams);
|
|
297
297
|
}
|
|
298
298
|
const options = { friendlyName: changelogName, schema };
|
|
299
|
+
if (this.config.kmsKeyName) {
|
|
300
|
+
options["encryptionConfiguration"] = { kmsKeyName: this.config.kmsKeyName };
|
|
301
|
+
}
|
|
299
302
|
//Add partitioning
|
|
300
303
|
await partitioning.addPartitioningToSchema(schema.fields);
|
|
301
304
|
await partitioning.updateTableMetadata(options);
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"url": "github.com/firebase/extensions.git",
|
|
6
6
|
"directory": "firestore-bigquery-export/firestore-bigquery-change-tracker"
|
|
7
7
|
},
|
|
8
|
-
"version": "1.1.
|
|
8
|
+
"version": "1.1.27",
|
|
9
9
|
"description": "Core change-tracker library for Cloud Firestore Collection BigQuery Exports",
|
|
10
10
|
"main": "./lib/index.js",
|
|
11
11
|
"scripts": {
|