trucoshi 8.4.0 → 8.5.0

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.
@@ -21,6 +21,7 @@ const {
21
21
  Extensions,
22
22
  warnOnce,
23
23
  defineDmmfProperty,
24
+ Public,
24
25
  } = require('./runtime/library')
25
26
 
26
27
 
@@ -29,11 +30,11 @@ const Prisma = {}
29
30
  exports.Prisma = Prisma
30
31
 
31
32
  /**
32
- * Prisma Client JS version: 4.14.1
33
+ * Prisma Client JS version: 4.16.2
33
34
  * Query Engine version: d9a4c5988f480fa576d43970d5a23641aa77bc9c
34
35
  */
35
36
  Prisma.prismaVersion = {
36
- client: "4.14.1",
37
+ client: "4.16.2",
37
38
  engine: "d9a4c5988f480fa576d43970d5a23641aa77bc9c"
38
39
  }
39
40
 
@@ -52,8 +53,13 @@ Prisma.sql = sqltag
52
53
  Prisma.empty = empty
53
54
  Prisma.join = join
54
55
  Prisma.raw = raw
55
- Prisma.validator = () => (val) => val
56
+ Prisma.validator = Public.validator
56
57
 
58
+ /**
59
+ * Extensions
60
+ */
61
+ Prisma.getExtensionContext = Extensions.getExtensionContext
62
+ Prisma.defineExtension = Extensions.defineExtension
57
63
 
58
64
  /**
59
65
  * Shorthand utilities for JSON filtering
@@ -206,7 +212,7 @@ const config = {
206
212
  "schemaEnvPath": "../../.env"
207
213
  },
208
214
  "relativePath": "..",
209
- "clientVersion": "4.14.1",
215
+ "clientVersion": "4.16.2",
210
216
  "engineVersion": "d9a4c5988f480fa576d43970d5a23641aa77bc9c",
211
217
  "datasourceNames": [
212
218
  "db"
@@ -220,9 +226,6 @@ const fs = require('fs')
220
226
 
221
227
  config.dirname = __dirname
222
228
  if (!fs.existsSync(path.join(__dirname, 'schema.prisma'))) {
223
- warnOnce('bundled-warning-1', 'Your generated Prisma Client could not immediately find its `schema.prisma`, falling back to finding it via the current working directory.')
224
- warnOnce('bundled-warning-2', 'We are interested in learning about your project setup. We\'d appreciate if you could take the time to share some information with us.')
225
- warnOnce('bundled-warning-3', 'Please help us by answering a few questions: https://pris.ly/bundler-investigation')
226
229
  config.dirname = path.join(process.cwd(), "prisma/client")
227
230
  config.isBundled = true
228
231
  }