Skip to content

Commit

Permalink
fix: add a types export (#772)
Browse files Browse the repository at this point in the history
* fix: add a types export

* chore: update changelog
  • Loading branch information
jeswr authored Sep 22, 2023
1 parent 3939a61 commit ce63dc6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ The following changes are pending, and will be applied on the next major release
JSON-LD frame different from the value returned by `approveAccessRequest`. The value is now normalized,
and both functions return a similarly shaped object. This also fixes the return type of `denyAccessRequest`,
which now returns the more strict `AccessGrant` type rather than the `VerifiableCredential` type.
- add `types` entry in the package.json exports so that bundlers such as esbuild can discover type definitions.

## [2.6.0](https://github.com/inrupt/solid-client-access-grants-js/releases/tag/v2.6.0) - 2023-09-18

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.js",
"import": "./dist/index.mjs"
},
Expand Down

1 comment on commit ce63dc6

@vercel
Copy link

@vercel vercel bot commented on ce63dc6 Sep 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.