@skillrecordings/cli 0.2.2 → 0.3.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.
package/.env.encrypted ADDED
Binary file
@@ -6734,8 +6734,10 @@ var db = null;
6734
6734
  var pool = null;
6735
6735
  function getDb() {
6736
6736
  if (!db) {
6737
+ const url2 = new URL(env.DATABASE_URL);
6738
+ url2.searchParams.delete("sslaccept");
6737
6739
  pool = mysql.createPool({
6738
- uri: env.DATABASE_URL,
6740
+ uri: url2.toString(),
6739
6741
  ssl: {
6740
6742
  rejectUnauthorized: true
6741
6743
  }
@@ -6751,7 +6753,11 @@ async function closeDb() {
6751
6753
  db = null;
6752
6754
  }
6753
6755
  }
6754
- var database = getDb();
6756
+ var database = new Proxy({}, {
6757
+ get(_target, prop, receiver) {
6758
+ return Reflect.get(getDb(), prop, receiver);
6759
+ }
6760
+ });
6755
6761
 
6756
6762
  // ../sdk/dist/client.js
6757
6763
  init_esm_shims();
@@ -22339,4 +22345,4 @@ export {
22339
22345
  DEFAULT_AGENT_MODEL,
22340
22346
  runSupportAgent
22341
22347
  };
22342
- //# sourceMappingURL=chunk-XHLN776K.js.map
22348
+ //# sourceMappingURL=chunk-HCFBOGCL.js.map