@aiquants/mssql 0.2.0 → 0.2.1

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.
Files changed (1) hide show
  1. package/package.json +17 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiquants/mssql",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "What SQL Server refuses, and how to stay inside it: retry a transaction only when it was the deadlock victim (keeping the cause the ORM destroys), read the SQL Server error number through wrapped causes, split statements to fit the 2100-parameter limit, bind an IN list of any length as one OPENJSON parameter, and read offset-less timestamps as UTC. The main entry has no dependencies; the ./drizzle entry takes drizzle-orm as an optional peer.",
5
5
  "sideEffects": false,
6
6
  "main": "dist/index.js",
@@ -8,14 +8,24 @@
8
8
  "types": "dist/index.d.ts",
9
9
  "exports": {
10
10
  ".": {
11
- "types": "./dist/index.d.ts",
12
- "import": "./dist/index.mjs",
13
- "require": "./dist/index.js"
11
+ "import": {
12
+ "types": "./dist/index.d.mts",
13
+ "default": "./dist/index.mjs"
14
+ },
15
+ "require": {
16
+ "types": "./dist/index.d.ts",
17
+ "default": "./dist/index.js"
18
+ }
14
19
  },
15
20
  "./drizzle": {
16
- "types": "./dist/drizzle.d.ts",
17
- "import": "./dist/drizzle.mjs",
18
- "require": "./dist/drizzle.js"
21
+ "import": {
22
+ "types": "./dist/drizzle.d.mts",
23
+ "default": "./dist/drizzle.mjs"
24
+ },
25
+ "require": {
26
+ "types": "./dist/drizzle.d.ts",
27
+ "default": "./dist/drizzle.js"
28
+ }
19
29
  }
20
30
  },
21
31
  "files": [