Skip to content

Commit 81012f7

Browse files
committed
chore(package): migrate package types from commonjs to module for consistency across all packages
1 parent 0dad0a8 commit 81012f7

File tree

12 files changed

+14
-12
lines changed

12 files changed

+14
-12
lines changed

packages/access-control-conditions-schemas/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"bugs": {
1313
"url": "https://github.com/LIT-Protocol/js-sdk/issues"
1414
},
15+
"type": "module",
1516
"publishConfig": {
1617
"access": "public",
1718
"directory": "../../dist/packages/access-control-conditions-schemas"

packages/access-control-conditions/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"bugs": {
1313
"url": "https://github.com/LIT-Protocol/js-sdk/issues"
1414
},
15-
"type": "commonjs",
15+
"type": "module",
1616
"publishConfig": {
1717
"access": "public",
1818
"directory": "../../dist/packages/access-control-conditions"

packages/auth-helpers/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"bugs": {
1313
"url": "https://github.com/LIT-Protocol/js-sdk/issues"
1414
},
15-
"type": "commonjs",
15+
"type": "module",
1616
"publishConfig": {
1717
"access": "public",
1818
"directory": "../../dist/packages/auth-helpers"

packages/auth/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"bugs": {
1313
"url": "https://github.com/LIT-Protocol/js-sdk/issues"
1414
},
15-
"type": "commonjs",
15+
"type": "module",
1616
"publishConfig": {
1717
"access": "public",
1818
"directory": "../../dist/packages/auth"

packages/constants/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"bugs": {
1313
"url": "https://github.com/LIT-Protocol/js-sdk/issues"
1414
},
15-
"type": "commonjs",
15+
"type": "module",
1616
"dependencies": {
1717
"@openagenda/verror": "^3.1.4",
1818
"zod": "3.24.3"

packages/crypto/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"bugs": {
1313
"url": "https://github.com/LIT-Protocol/js-sdk/issues"
1414
},
15-
"type": "commonjs",
15+
"type": "module",
1616
"publishConfig": {
1717
"access": "public",
1818
"directory": "../../dist/packages/crypto"

packages/lit-client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"bugs": {
1313
"url": "https://github.com/LIT-Protocol/js-sdk/issues"
1414
},
15-
"type": "commonjs",
15+
"type": "module",
1616
"publishConfig": {
1717
"access": "public",
1818
"directory": "../../dist/packages/lit-client"

packages/logger/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@lit-protocol/logger",
3-
"version": "8.0.0-beta.1",
4-
"type": "commonjs",
3+
"version": "8.0.0-beta.15",
4+
"type": "module",
55
"tags": [
66
"universal"
77
],

packages/networks/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"bugs": {
1313
"url": "https://github.com/LIT-Protocol/js-sdk/issues"
1414
},
15-
"type": "commonjs",
15+
"type": "module",
1616
"publishConfig": {
1717
"access": "public",
1818
"directory": "../../dist/packages/networks"

packages/schemas/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"keywords": [
1010
"library"
1111
],
12+
"type": "module",
1213
"bugs": {
1314
"url": "https://github.com/LIT-Protocol/js-sdk/issues"
1415
},

0 commit comments

Comments
 (0)