Changed UMD to ESM in package.json

This commit is contained in:
Aleksandr Kraiz
2022-05-03 13:38:41 +04:00
parent dd7e31075f
commit dbeb8bc45f

View File

@@ -1,8 +1,8 @@
{
"name": "@orionprotocol/sdk",
"version": "0.3.0",
"version": "0.3.2",
"description": "Orion Protocol SDK",
"main": "./lib/umd/index.js",
"main": "./lib/esm/index.js",
"module": "./lib/esm/index.js",
"types": "./lib/esm/index.d.ts",
"scripts": {
@@ -68,6 +68,7 @@
"bignumber.js": "^9.0.2",
"buffer": "^6.0.3",
"crypto-browserify": "^3.12.0",
"csprng": "^0.1.2",
"ethers": "^5.6.2",
"isomorphic-ws": "^4.0.1",
"just-clone": "^5.0.1",
@@ -77,11 +78,11 @@
"tiny-invariant": "^1.2.0",
"uuid": "^8.3.2",
"websocket-heartbeat-js": "^1.1.0",
"ws": "^8.6.0",
"ws": "^8.5.0",
"zod": "^3.14.4"
},
"homepage": "https://github.com/orionprotocol/sdk#readme",
"files": [
"lib/**/*"
]
}
}