diff --git a/docs/generated/changelog.html b/docs/generated/changelog.html
index 93b6bedfa..b07efc93f 100644
--- a/docs/generated/changelog.html
+++ b/docs/generated/changelog.html
@@ -12,6 +12,7 @@
Agent-JS Changelog
Version x.x.x
+ - chore: configures unpkg to use esmodules
- chore: removes unused lint shell script
- chore: adds js-sha256 dependency to principal
diff --git a/packages/agent/package.json b/packages/agent/package.json
index ec604a950..c3606e7ef 100644
--- a/packages/agent/package.json
+++ b/packages/agent/package.json
@@ -34,6 +34,7 @@
],
"main": "./lib/cjs/index",
"module": "./lib/esm/index",
+ "unpkg": "./lib/esm/index",
"scripts": {
"build": "tsc -b && tsc -p tsconfig-cjs.json",
"build:watch": "tsc -b --watch",
diff --git a/packages/assets/package.json b/packages/assets/package.json
index 3a59495d3..9eacd3da5 100644
--- a/packages/assets/package.json
+++ b/packages/assets/package.json
@@ -37,6 +37,7 @@
],
"main": "./lib/cjs/index.js",
"module": "./lib/esm/index.js",
+ "unpkg": "./lib/esm/index",
"scripts": {
"build": "tsc -b && tsc -p tsconfig-cjs.json",
"bundle": "npm run build",
diff --git a/packages/auth-client/package.json b/packages/auth-client/package.json
index fd50841d4..fb789d295 100644
--- a/packages/auth-client/package.json
+++ b/packages/auth-client/package.json
@@ -34,6 +34,7 @@
],
"main": "./lib/cjs/index.js",
"module": "./lib/esm/index.js",
+ "unpkg": "./lib/esm/index",
"scripts": {
"build": "tsc -b && tsc -p tsconfig-cjs.json",
"bundle": "npm run build",
diff --git a/packages/authentication/package.json b/packages/authentication/package.json
index 94bff31b2..dd019d1a2 100644
--- a/packages/authentication/package.json
+++ b/packages/authentication/package.json
@@ -34,6 +34,7 @@
],
"main": "./lib/cjs/index.js",
"module": "./lib/esm/index.js",
+ "unpkg": "./lib/esm/index",
"scripts": {
"build": "tsc -b && tsc -p tsconfig-cjs.json",
"bundle": "npm run build",
diff --git a/packages/bls-verify/package.json b/packages/bls-verify/package.json
index b519cbf3a..48cd81916 100644
--- a/packages/bls-verify/package.json
+++ b/packages/bls-verify/package.json
@@ -34,6 +34,7 @@
],
"main": "./lib/cjs/index.js",
"module": "./lib/esm/index.js",
+ "unpkg": "./lib/esm/index",
"scripts": {
"build": "tsc -b && tsc -p tsconfig-cjs.json",
"bundle": "npm run build",
diff --git a/packages/candid/package.json b/packages/candid/package.json
index 635dd110f..37c2aaa22 100644
--- a/packages/candid/package.json
+++ b/packages/candid/package.json
@@ -33,6 +33,7 @@
],
"main": "./lib/cjs/index.js",
"module": "./lib/esm/index.js",
+ "unpkg": "./lib/esm/index",
"scripts": {
"build": "tsc -b && tsc -p tsconfig-cjs.json",
"bundle": "npm run build",
diff --git a/packages/identity-ledgerhq/package.json b/packages/identity-ledgerhq/package.json
index 42b8a2645..938599c92 100644
--- a/packages/identity-ledgerhq/package.json
+++ b/packages/identity-ledgerhq/package.json
@@ -35,6 +35,7 @@
],
"main": "./lib/cjs/index.js",
"module": "./lib/esm/index.js",
+ "unpkg": "./lib/esm/index",
"scripts": {
"build": "tsc -b && tsc -p tsconfig-cjs.json",
"build:watch": "tsc -b --watch",
diff --git a/packages/identity/package.json b/packages/identity/package.json
index c5c28f553..38cff32c0 100644
--- a/packages/identity/package.json
+++ b/packages/identity/package.json
@@ -33,6 +33,7 @@
],
"main": "./lib/cjs/index.js",
"module": "./lib/esm/index.js",
+ "unpkg": "./lib/esm/index",
"scripts": {
"build": "tsc -b && tsc -p tsconfig-cjs.json",
"bundle": "npm run build",
diff --git a/packages/principal/package.json b/packages/principal/package.json
index 8d5470878..950040a2a 100644
--- a/packages/principal/package.json
+++ b/packages/principal/package.json
@@ -33,6 +33,7 @@
],
"main": "./lib/cjs/index.js",
"module": "./lib/esm/index.js",
+ "unpkg": "./lib/esm/index",
"scripts": {
"build": "tsc -b && tsc -p tsconfig-cjs.json",
"bundle": "npm run build",