@ragestudio/scylla-odm 0.22.4 → 0.22.5

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/driver/client.js CHANGED
@@ -30,7 +30,6 @@ import ControlConnection from "./control-connection.js"
30
30
  import RequestHandler from "./request-handler.js"
31
31
  import PrepareHandler from "./prepare-handler.js"
32
32
  import promiseUtils from "./promise-utils.js"
33
- import { description, version } from "../../package.json" with { type: "json" }
34
33
 
35
34
  /**
36
35
  * Max amount of pools being warmup in parallel, when warmup is enabled
@@ -500,14 +499,7 @@ Client.prototype._connect = async function () {
500
499
  }
501
500
 
502
501
  this.connecting = true
503
- this.log(
504
- "info",
505
- util.format(
506
- "Connecting to cluster using '%s' version %s",
507
- description,
508
- version,
509
- ),
510
- )
502
+ this.log("info", util.format("Connecting to cluster"))
511
503
 
512
504
  try {
513
505
  await this.controlConnection.init()
package/driver/index.js CHANGED
@@ -28,7 +28,6 @@ import concurrent from "./concurrent/index.js"
28
28
  import { Token, TokenRange } from "./token.js"
29
29
  import Metadata from "./metadata/index.js"
30
30
  import Encoder from "./encoder.js"
31
- import { version as pkgVersion } from "../../package.json" with { type: "json" }
32
31
 
33
32
  export {
34
33
  Client,
@@ -59,8 +58,6 @@ export function defaultOptions() {
59
58
  return clientOptions.defaultOptions()
60
59
  }
61
60
 
62
- export const version = pkgVersion
63
-
64
61
  const _default = {
65
62
  Client,
66
63
  ExecutionProfile,
@@ -75,7 +72,6 @@ const _default = {
75
72
  metadata,
76
73
  Encoder,
77
74
  defaultOptions,
78
- version,
79
75
  }
80
76
 
81
77
  export default _default
@@ -22,7 +22,6 @@ import { FrameWriter } from "./writers.js"
22
22
  import types from "./types/index.js"
23
23
  import utils from "./utils.js"
24
24
  import { ExecutionOptions } from "./execution-options.js"
25
- import pkg from "../../package.json" with { type: "json" }
26
25
 
27
26
  /**
28
27
  * Options for the execution of the query / prepared statement
@@ -361,8 +360,8 @@ class StartupRequest extends Request {
361
360
 
362
361
  const startupOptions = {
363
362
  CQL_VERSION: this.options.cqlVersion || "3.0.0",
364
- DRIVER_NAME: pkg.description,
365
- DRIVER_VERSION: pkg.version,
363
+ DRIVER_NAME: "scylla-odm",
364
+ DRIVER_VERSION: "0.1.0",
366
365
  }
367
366
 
368
367
  if (this.options.noCompact) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ragestudio/scylla-odm",
3
- "version": "0.22.4",
3
+ "version": "0.22.5",
4
4
  "description": "An ODM for ScyllaDB/Cassandra",
5
5
  "license": "MIT",
6
6
  "author": "RageStudio",