@defra/bng-utils-lib 0.220.6 → 0.220.8

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/package.json CHANGED
@@ -1,13 +1,10 @@
1
1
  {
2
2
  "name": "@defra/bng-utils-lib",
3
- "version": "0.220.6",
3
+ "version": "0.220.8",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "description": "A library of utilities for the Biodiversity Net Gain Service",
7
7
  "main": "src/utils.js",
8
- "scripts": {
9
- "test": "echo \\\"Error: run tests from root\\\" && exit 1"
10
- },
11
8
  "repository": {
12
9
  "type": "git",
13
10
  "url": "https://github.com/DEFRA/biodiversity-net-gain-service.git",
@@ -17,8 +14,8 @@
17
14
  "license": "OGL-UK-3.0",
18
15
  "dependencies": {
19
16
  "@azure/identity": "^3.3.1",
20
- "@defra/bng-connectors-lib": "0.220.4",
17
+ "@defra/bng-connectors-lib": "0.220.8",
21
18
  "axios": "^1.5.1"
22
19
  },
23
- "gitHead": "e87ef49dce5aba7f3ba5a689b3dded1db768ecbb"
20
+ "gitHead": "5b0d382c3b849469995f82a2018d5ca8e8d73a4c"
24
21
  }
@@ -12,7 +12,7 @@ const getDBConnection = async (context) => {
12
12
  context?.log('Getting database token')
13
13
  dbConfig.password = (await credential.getToken('https://ossrdbms-aad.database.windows.net')).token
14
14
  }
15
- return new postgresConnector.Db(dbConfig)
15
+ return new postgresConnector.Db(dbConfig, context)
16
16
  }
17
17
 
18
18
  export default getDBConnection