Skip to content

Commit f72405a

Browse files
committed
Fix exports
1 parent be83dcf commit f72405a

5 files changed

Lines changed: 20 additions & 20 deletions

File tree

packages/7715-permission-types/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"type": "git",
1717
"url": "https://github.com/metamask/delegation-toolkit.git"
1818
},
19-
"main": "./dist/index.js",
19+
"main": "./dist/index.cjs",
2020
"module": "./dist/index.mjs",
2121
"types": "./dist/index.d.ts",
2222
"files": [
@@ -26,11 +26,11 @@
2626
"exports": {
2727
".": {
2828
"require": {
29-
"types": "./dist/index.d.ts",
30-
"default": "./dist/index.js"
29+
"types": "./dist/index.d.cts",
30+
"default": "./dist/index.cjs"
3131
},
3232
"import": {
33-
"types": "./dist/index.d.mts",
33+
"types": "./dist/index.d.ts",
3434
"default": "./dist/index.mjs"
3535
}
3636
},

packages/delegation-abis/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"author": "MetaMask <hello@metamask.io>",
2020
"sideEffects": false,
2121
"contributors": [],
22-
"main": "./dist/index.js",
22+
"main": "./dist/index.cjs",
2323
"module": "./dist/index.mjs",
2424
"types": "./dist/index.d.ts",
2525
"files": [
@@ -29,11 +29,11 @@
2929
"exports": {
3030
".": {
3131
"require": {
32-
"types": "./dist/index.d.ts",
33-
"default": "./dist/index.js"
32+
"types": "./dist/index.d.cts",
33+
"default": "./dist/index.cjs"
3434
},
3535
"import": {
36-
"types": "./dist/index.d.mts",
36+
"types": "./dist/index.d.ts",
3737
"default": "./dist/index.mjs"
3838
}
3939
},

packages/delegation-core/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"author": "MetaMask <hello@metamask.io>",
2020
"sideEffects": false,
2121
"contributors": [],
22-
"main": "./dist/index.js",
22+
"main": "./dist/index.cjs",
2323
"module": "./dist/index.mjs",
2424
"types": "./dist/index.d.ts",
2525
"files": [
@@ -29,11 +29,11 @@
2929
"exports": {
3030
".": {
3131
"require": {
32-
"types": "./dist/index.d.ts",
33-
"default": "./dist/index.js"
32+
"types": "./dist/index.d.cts",
33+
"default": "./dist/index.cjs"
3434
},
3535
"import": {
36-
"types": "./dist/index.d.mts",
36+
"types": "./dist/index.d.ts",
3737
"default": "./dist/index.mjs"
3838
}
3939
},

packages/delegation-deployments/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"type": "git",
1717
"url": "https://github.com/metamask/delegation-toolkit.git"
1818
},
19-
"main": "./dist/index.js",
19+
"main": "./dist/index.cjs",
2020
"module": "./dist/index.mjs",
2121
"types": "./dist/index.d.ts",
2222
"files": [
@@ -26,11 +26,11 @@
2626
"exports": {
2727
".": {
2828
"require": {
29-
"types": "./dist/index.d.ts",
30-
"default": "./dist/index.js"
29+
"types": "./dist/index.d.cts",
30+
"default": "./dist/index.cjs"
3131
},
3232
"import": {
33-
"types": "./dist/index.d.mts",
33+
"types": "./dist/index.d.ts",
3434
"default": "./dist/index.mjs"
3535
}
3636
},

packages/delegation-toolkit/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,17 @@
2020
"dist/**",
2121
"dist/"
2222
],
23-
"main": "./dist/index.js",
23+
"main": "./dist/index.cjs",
2424
"module": "./dist/index.mjs",
2525
"types": "./dist/index.d.ts",
2626
"exports": {
2727
".": {
2828
"require": {
29-
"types": "./dist/index.d.ts",
30-
"default": "./dist/index.js"
29+
"types": "./dist/index.d.cts",
30+
"default": "./dist/index.cjs"
3131
},
3232
"import": {
33-
"types": "./dist/index.d.mts",
33+
"types": "./dist/index.d.ts",
3434
"default": "./dist/index.mjs"
3535
}
3636
},

0 commit comments

Comments
 (0)