@stacksjs/database 0.58.63 → 0.58.65

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/database",
3
3
  "type": "module",
4
- "version": "0.58.63",
4
+ "version": "0.58.65",
5
5
  "description": "The Stacks database integration.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -136,7 +136,7 @@ class BunWorkerConnection implements DatabaseConnection {
136
136
  if (!this.mitt)
137
137
  reject('kysely instance has been destroyed')
138
138
 
139
- this.mitt.once('run', ({ data, err }) => {
139
+ this.mitt!.once('run', ({ data, err }) => {
140
140
  (!err && data) ? resolve(data) : reject(err)
141
141
  })
142
142
  })