@prisma/client-runtime-utils 7.5.0-dev.4 → 7.5.0-dev.41

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/dist/index.d.mts CHANGED
@@ -343,6 +343,7 @@ declare class NullTypesEnumValue extends ObjectEnumValue {
343
343
  * Base class for unique values of object-valued enums.
344
344
  */
345
345
  export declare abstract class ObjectEnumValue {
346
+ #private;
346
347
  constructor(arg?: symbol);
347
348
  abstract _getNamespace(): string;
348
349
  _getName(): string;
package/dist/index.d.ts CHANGED
@@ -343,6 +343,7 @@ declare class NullTypesEnumValue extends ObjectEnumValue {
343
343
  * Base class for unique values of object-valued enums.
344
344
  */
345
345
  export declare abstract class ObjectEnumValue {
346
+ #private;
346
347
  constructor(arg?: symbol);
347
348
  abstract _getNamespace(): string;
348
349
  _getName(): string;
package/dist/index.js CHANGED
@@ -196,20 +196,20 @@ setClassName(PrismaClientValidationError, "PrismaClientValidationError");
196
196
 
197
197
  // src/nullTypes.ts
198
198
  var secret = Symbol();
199
- var representations = /* @__PURE__ */ new WeakMap();
200
199
  var ObjectEnumValue = class {
200
+ #representation;
201
201
  constructor(arg) {
202
202
  if (arg === secret) {
203
- representations.set(this, `Prisma.${this._getName()}`);
203
+ this.#representation = `Prisma.${this._getName()}`;
204
204
  } else {
205
- representations.set(this, `new Prisma.${this._getNamespace()}.${this._getName()}()`);
205
+ this.#representation = `new Prisma.${this._getNamespace()}.${this._getName()}()`;
206
206
  }
207
207
  }
208
208
  _getName() {
209
209
  return this.constructor.name;
210
210
  }
211
211
  toString() {
212
- return representations.get(this);
212
+ return this.#representation;
213
213
  }
214
214
  };
215
215
  function setClassName2(classObject, name) {
package/dist/index.mjs CHANGED
@@ -147,20 +147,20 @@ setClassName(PrismaClientValidationError, "PrismaClientValidationError");
147
147
 
148
148
  // src/nullTypes.ts
149
149
  var secret = Symbol();
150
- var representations = /* @__PURE__ */ new WeakMap();
151
150
  var ObjectEnumValue = class {
151
+ #representation;
152
152
  constructor(arg) {
153
153
  if (arg === secret) {
154
- representations.set(this, `Prisma.${this._getName()}`);
154
+ this.#representation = `Prisma.${this._getName()}`;
155
155
  } else {
156
- representations.set(this, `new Prisma.${this._getNamespace()}.${this._getName()}()`);
156
+ this.#representation = `new Prisma.${this._getNamespace()}.${this._getName()}()`;
157
157
  }
158
158
  }
159
159
  _getName() {
160
160
  return this.constructor.name;
161
161
  }
162
162
  toString() {
163
- return representations.get(this);
163
+ return this.#representation;
164
164
  }
165
165
  };
166
166
  function setClassName2(classObject, name) {
@@ -2,6 +2,7 @@
2
2
  * Base class for unique values of object-valued enums.
3
3
  */
4
4
  export declare abstract class ObjectEnumValue {
5
+ #private;
5
6
  constructor(arg?: symbol);
6
7
  abstract _getNamespace(): string;
7
8
  _getName(): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/client-runtime-utils",
3
- "version": "7.5.0-dev.4",
3
+ "version": "7.5.0-dev.41",
4
4
  "description": "Utility types and singletons used by the Prisma Client.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",