Socket
Socket
Sign inDemoInstall

@inrupt/solid-client-access-grants

Package Overview
Dependencies
49
Maintainers
11
Versions
501
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
2345
51Next

3.0.4

Diff

Changelog

Source

3.0.4 - 2024-02-12

Bugfixes

  • Extend predicate supported by getRequestor: getRequestor now supports the gc:isProvidedToPerson and gc:isProvidedToController predicates in addition to the current gc:isProvidedTo predicate.
inrupt_ci
published 3.0.3 •

Changelog

Source

3.0.3 - 2024-02-06

Bugfix

  • Internal function getConsent is no longer part of the exports, which was causing TS to not build in some setups.
inrupt_ci
published 3.0.2 •

Changelog

Source

3.0.2 - 2024-01-22

Bugfix

  • getAccessGrantAll no longer includes duplicates in the result set when using a container filtering by resource.
inrupt_ci
published 3.0.1 •

Changelog

Source

3.0.1 - 2024-01-10

Bugfix

  • getAccessGrantAll incorrectly excluded non-recursive grants if not filtering on target resource.
inrupt_ci
published 3.0.0 •

Changelog

Source

3.0.0 - 2023-12-22

Breaking Changes

  • Parsing Access Grants and Access Requests as RDF from JSON-LD: This allows the Access Grants and Access Requests to be read using the RDF/JS DatasetCore API. This is a breaking change, because their type also now extends the DatasetCore type. Importantly, this dataset is not preserved when converting a Verifiable Credential to a string and back doing JSON.parse(JSON.stringify(verifiableCredential)). We reccomend that developers set returnLegacyJsonld to false in functions such as getAccessGrant in order to avoid returning deprecated object properties. Instead developers should make use of the exported getter functions to get these attributes.
  • Node 16 is no longer supported: The global fetch function is now used instead of @inrupt/universal-fetch. This means this library now only works with Node 18 and higher.
  • Deprecated signatures removed:
    • denyAccessRequest no longer supports the resourceOwner argument, it must be removed.
    • approveAccessRequest no longer supports the resourceOwner argument, it must be removed.
    • getAccessGrantAll no longer supports the resource argument, which should be merged into the params argument along the other AccessParameter.
inrupt_ci
published 3.0.0-alpha.1 •

inrupt_ci
published 3.0.0-alpha.0 •

inrupt_ci
published 2.6.2 •

Changelog

Source

2.6.2 - 2023-11-16

Removed features (non-breaking)

  • Support for odrl access grants has been removed. The ODRL data model was in as an experimental feature, and wasn't deployed in any supported Access Grant issuers. Removing it will not break apps using the currently supported gConsent-based Access Grants.

Bugfixes

  • Denied Access Grant expiration date: When denying an access grant based on an access request, the exipration date of the access request wasn't being picked up as the expiration date for the denied grant.
inrupt_ci
published 2.6.1 •

Changelog

Source

2.6.1 - 2023-09-25

Bugfixes

  • denyAccessRequest didn't normalize the returned denied Access Grant, resulting in it having a 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.
inrupt_ci
published 2.6.0 •

Changelog

Source

2.6.0 - 2023-09-18

New feature

  • Export getAccessGrantAll has a new status parameter which allows selection of granted, denied or all access grants. By default only granted access grants are returned as this is the existing behavior. In the next major version of this library the default will be to return all access grants.
2345
51Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc