@8ms/helpers 2.0.9 → 2.0.10
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/.yarn/install-state.gz
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -41,7 +41,7 @@ class PrismaNamespace extends _class_1.BaseNamespace {
|
|
|
41
41
|
// Async setup to only initialise where required
|
|
42
42
|
this.ensureInit = async () => {
|
|
43
43
|
if (!this.client) {
|
|
44
|
-
let adapter;
|
|
44
|
+
let adapter = null;
|
|
45
45
|
if (this.config.isPlanetScale) {
|
|
46
46
|
try {
|
|
47
47
|
const { PrismaPlanetScale } = await Promise.resolve().then(() => __importStar(require("@prisma/adapter-planetscale")));
|