@naturalcycles/datastore-lib 3.28.0 → 3.28.1

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.
@@ -5,7 +5,7 @@ const node_stream_1 = require("node:stream");
5
5
  const datastore_1 = require("@google-cloud/datastore");
6
6
  const db_lib_1 = require("@naturalcycles/db-lib");
7
7
  const js_lib_1 = require("@naturalcycles/js-lib");
8
- const colors_1 = require("@naturalcycles/nodejs-lib/dist/colors");
8
+ const nodejs_lib_1 = require("@naturalcycles/nodejs-lib");
9
9
  const datastore_model_1 = require("./datastore.model");
10
10
  const DatastoreStreamReadable_1 = require("./DatastoreStreamReadable");
11
11
  const query_util_1 = require("./query.util");
@@ -49,7 +49,7 @@ class DatastoreDB extends db_lib_1.BaseCommonDB {
49
49
  const DS = datastoreLib.Datastore;
50
50
  this.cfg.projectId ||= this.cfg.credentials?.project_id || process.env['GOOGLE_CLOUD_PROJECT'];
51
51
  if (this.cfg.projectId) {
52
- this.cfg.logger.log(`DatastoreDB connected to ${(0, colors_1.boldWhite)(this.cfg.projectId)}`);
52
+ this.cfg.logger.log(`DatastoreDB connected to ${(0, nodejs_lib_1.boldWhite)(this.cfg.projectId)}`);
53
53
  }
54
54
  else if (process.env['GOOGLE_APPLICATION_CREDENTIALS']) {
55
55
  this.cfg.logger.log(`DatastoreDB connected via GOOGLE_APPLICATION_CREDENTIALS`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturalcycles/datastore-lib",
3
- "version": "3.28.0",
3
+ "version": "3.28.1",
4
4
  "description": "Opinionated library to work with Google Datastore",
5
5
  "scripts": {
6
6
  "prepare": "husky install"
@@ -31,7 +31,7 @@ import {
31
31
  PRetryOptions,
32
32
  } from '@naturalcycles/js-lib'
33
33
  import { ReadableTyped } from '@naturalcycles/nodejs-lib'
34
- import { boldWhite } from '@naturalcycles/nodejs-lib/dist/colors'
34
+ import { boldWhite } from '@naturalcycles/nodejs-lib'
35
35
  import {
36
36
  DatastoreDBCfg,
37
37
  DatastoreDBOptions,