@neetru/sdk 2.3.2 → 2.3.3

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.mjs CHANGED
@@ -5404,6 +5404,12 @@ var MockDb = class {
5404
5404
  const adapters = memDb.adapters.createPg();
5405
5405
  const PoolCtor = adapters.Pool;
5406
5406
  const pool = new PoolCtor();
5407
+ const existingTypes = pool.types;
5408
+ if (!existingTypes || typeof existingTypes.getTypeParser !== "function") {
5409
+ pool.types = {
5410
+ getTypeParser: () => (val) => val
5411
+ };
5412
+ }
5407
5413
  const orm = drizzlePg.drizzle(pool, { schema });
5408
5414
  return {
5409
5415
  orm,