@naturalcycles/datastore-lib 4.0.0 → 4.0.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.
@@ -74,7 +74,7 @@ export class DatastoreDB extends BaseCommonDB {
74
74
  }
75
75
  async getDatastoreLib() {
76
76
  // Lazy-loading
77
- const { default: lib } = await import('@google-cloud/datastore');
77
+ const lib = await import('@google-cloud/datastore');
78
78
  return lib;
79
79
  }
80
80
  async ping() {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@naturalcycles/datastore-lib",
3
3
  "type": "module",
4
- "version": "4.0.0",
4
+ "version": "4.0.1",
5
5
  "description": "Opinionated library to work with Google Datastore",
6
6
  "scripts": {
7
7
  "prepare": "husky",
@@ -142,7 +142,7 @@ export class DatastoreDB extends BaseCommonDB implements CommonDB {
142
142
 
143
143
  private async getDatastoreLib(): Promise<any> {
144
144
  // Lazy-loading
145
- const { default: lib } = await import('@google-cloud/datastore')
145
+ const lib = await import('@google-cloud/datastore')
146
146
  return lib
147
147
  }
148
148