Skip to content

Commit

Permalink
Add missing types definition in package.json exports (#32)
Browse files Browse the repository at this point in the history
* add types to exports

* Bump version

---------

Co-authored-by: Dimasik Kolezhniuk <[email protected]>
  • Loading branch information
toteto and Kolezhniuk authored Mar 25, 2024
1 parent d2add87 commit 132cb2a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "@iden3/js-iden3-core",
"version": "1.2.1",
"version": "1.3.0",
"description": "Low level API to create and manipulate iden3 Claims.",
"source": "./src/index.ts",
"typings": "dist/types/index.d.ts",
"types": "dist/types/index.d.ts",
"main": "dist/node/cjs/index.js",
"module": "dist/node/esm/index.js",
"exports": {
Expand All @@ -13,7 +13,8 @@
"require": "./dist/node/cjs/index.js"
},
"browser": "./dist/browser/esm/index.js",
"umd": "./dist/browser/umd/index.js"
"umd": "./dist/browser/umd/index.js",
"types": "./dist/types/index.d.ts"
}
},
"files": [
Expand Down Expand Up @@ -72,6 +73,6 @@
"typescript": "^4.7.4"
},
"peerDependencies": {
"@iden3/js-crypto": "1.0.3"
"@iden3/js-crypto": "1.1.0"
}
}

0 comments on commit 132cb2a

Please sign in to comment.