@nestledjs/api 1.0.4 → 1.0.6
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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nestledjs/api",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"generators": "./generators.json",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"main": "./src/index.js",
|
|
@@ -25,6 +25,6 @@
|
|
|
25
25
|
"pg": "^8.13.0"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
|
-
"@nestledjs/utils": "0.2.
|
|
28
|
+
"@nestledjs/utils": "0.2.2"
|
|
29
29
|
}
|
|
30
30
|
}
|
|
@@ -35,10 +35,8 @@ export class ApiCoreDataAccessService
|
|
|
35
35
|
withOptimize({ apiKey: optimizeApiKey })
|
|
36
36
|
)
|
|
37
37
|
Object.assign(this, extendedClient)
|
|
38
|
-
} else {
|
|
39
|
-
if (optimizeEnabled && !optimizeApiKey) {
|
|
38
|
+
} else if (optimizeEnabled && !optimizeApiKey) {
|
|
40
39
|
console.warn('⚠️ OPTIMIZE_ENABLED is true but OPTIMIZE_API_KEY is not set')
|
|
41
|
-
}
|
|
42
40
|
}
|
|
43
41
|
}
|
|
44
42
|
|