@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.
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@8ms/helpers",
3
3
  "license": "UNLICENSED",
4
- "version": "2.0.9",
4
+ "version": "2.0.10",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/8millionstories-organisation/8ms-helpers-ts.git"
@@ -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")));