Skip to content

Commit

Permalink
Merge pull request #16 from abipub/fix-esm
Browse files Browse the repository at this point in the history
add exports and declare as type: "module"
  • Loading branch information
jfschwarz authored Jan 27, 2025
2 parents fa36619 + 6cf379d commit d6f1d0d
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
{
"name": "evm-proxy-detection",
"version": "2.0.1",
"version": "2.0.2",
"description": "Detect proxy contracts and their target addresses using an EIP-1193 compatible JSON-RPC request function",
"repository": "https://github.com/abipub/evm-proxy-detection.git",
"author": "Jan-Felix <[email protected]>",
"license": "MIT",
"main": "build/cjs/index.js",
"typings": "build/cjs/index.d.ts",
"module": "build/esm/index.js",
"exports": {
".": {
"types": "./build/cjs/index.d.ts",
"import": "./build/esm/index.js",
"require": "./build/cjs/index.js"
}
},
"type": "module",
"files": [
"build",
"LICENSE",
Expand Down Expand Up @@ -47,4 +55,4 @@
"typescript": "^4.7.4"
},
"packageManager": "[email protected]"
}
}

0 comments on commit d6f1d0d

Please sign in to comment.