@514labs/moose-lib 0.6.249-ci-2-gc33238f0 → 0.6.249-ci-3-gc31139ef

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.
@@ -669,9 +669,6 @@ function createMaterializedView(options) {
669
669
  AS ${options.select}`.trim();
670
670
  }
671
671
 
672
- // src/dmv2/internal.ts
673
- var import_process = __toESM(require("process"));
674
-
675
672
  // src/index.ts
676
673
  init_commons();
677
674
 
@@ -711,7 +708,6 @@ var DEFAULT_CSV_CONFIG = {
711
708
 
712
709
  // src/dmv2/internal.ts
713
710
  init_commons();
714
- var isClientOnlyMode = () => import_process.default.env.MOOSE_CLIENT_ONLY === "true";
715
711
  var moose_internal = {
716
712
  tables: /* @__PURE__ */ new Map(),
717
713
  streams: /* @__PURE__ */ new Map(),
@@ -880,7 +876,7 @@ var OlapTable = class extends TypedBase {
880
876
  this.name = name;
881
877
  const tables = getMooseInternal().tables;
882
878
  const registryKey = this.config.version ? `${name}_${this.config.version}` : name;
883
- if (!isClientOnlyMode() && tables.has(registryKey)) {
879
+ if (tables.has(registryKey)) {
884
880
  throw new Error(
885
881
  `OlapTable with name ${name} and version ${config?.version ?? "unversioned"} already exists`
886
882
  );
@@ -2362,7 +2358,7 @@ var SqlResource = class {
2362
2358
  */
2363
2359
  constructor(name, setup, teardown, options) {
2364
2360
  const sqlResources = getMooseInternal().sqlResources;
2365
- if (!isClientOnlyMode() && sqlResources.has(name)) {
2361
+ if (sqlResources.has(name)) {
2366
2362
  throw new Error(`SqlResource with name ${name} already exists`);
2367
2363
  }
2368
2364
  sqlResources.set(name, this);