@battis/lazy-secrets 1.0.2 → 1.0.3

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/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
4
4
 
5
+ ## [1.0.3](https://github.com/battis/lazy-secrets/compare/ts/1.0.2...ts/1.0.3) (2026-05-12)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * explicitly instantiate client using env var GOOGLE_CLOUD_PROJECT ([56bbbfa](https://github.com/battis/lazy-secrets/commit/56bbbfa4fdca03071eee78153ce51156af7cde88))
11
+
5
12
  ## [1.0.2](https://github.com/battis/lazy-secrets/compare/ts/1.0.1...ts/1.0.2) (2026-05-12)
6
13
 
7
14
 
@@ -2,7 +2,9 @@ import { SecretManagerServiceClient } from '@google-cloud/secret-manager';
2
2
  let _client;
3
3
  function client() {
4
4
  if (!_client) {
5
- _client = new SecretManagerServiceClient();
5
+ _client = new SecretManagerServiceClient({
6
+ projectId: process.env.GOOGLE_CLOUD_PROJECT
7
+ });
6
8
  }
7
9
  return _client;
8
10
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@battis/lazy-secrets",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "A (thin) wrapper for @google-cloud/cloud-secret-manager to reduce boilerplate",
5
5
  "homepage": "https://github.com/battis/lazy-secrets/tree/typescript#readme",
6
6
  "repository": {