fix(deps): update dependency @kiltprotocol/sdk-js to ^0.35.2 #39
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.32.0
->^0.35.2
Release Notes
kiltprotocol/sdk-js (@kiltprotocol/sdk-js)
v0.35.2
Compare Source
This release fixes a bug in which the a mismatch between a CType passed to 'verifyPresentation' and the actual CType of the credential was not detected and silently ignored.
Now compares the CType's id/hash, if present, with the CType Hash in the Credential.
What's Changed
Full Changelog: KILTprotocol/sdk-js@0.35.1...0.35.2
v0.35.1
Compare Source
This release enables support for the DIP provider component by adding the necessary runtime call definitions and api augmentation.
What's Changed
Full Changelog: KILTprotocol/sdk-js@0.35.0...0.35.1
v0.35.0
Compare Source
What's changed
We've added support for upcoming changes on the KILT network which are included in the kilt-node release 1.12.1. Upgrading to this version is recommended for all projects to maintain compatibility with future runtime upgrades.
Breaking Changes
Once upgraded to the latest runtime, account balances will be represented differently, where a distinction will be made only between
free
,frozen
andreserved
balance (see https://paritytech.github.io/polkadot-sdk/master/pallet_balances/struct.AccountData.html). Applications working with balance queries should make sure they are able to work with both the existing and future representations of account balances, as the new representation will be in effect for all apps immediately upon runtime upgrade.This runtime also switches to version 4 of the
TransactionPaymentApi
runtime calls, requiring more recent versions of@polkadot/api
for support. The dependency manifest has been updated accordingly.All changes
fix: consider dispatchAs in ctype/public credential fetching logic by @rflechtner in KILTprotocol/sdk-js@e691cc2
test: add integration tests for dispatchAs by @rflechtner in KILTprotocol/sdk-js@e9c8a56
chore: augmentation for runtime 1.12.1 by @rflechtner in KILTprotocol/sdk-js@9d0ea9b
chore: update references to mashnet-node by @rflechtner in KILTprotocol/sdk-js@3852998
chore: require @polkadot/api^10.7.3 by @rflechtner in KILTprotocol/sdk-js@f73e393
Full Changelog: KILTprotocol/sdk-js@0.34.0...0.35.0
v0.34.0
Compare Source
What's changed
Besides updating typings to match the latest chain runtime 1.11.0, this release includes mostly quality-of-life enhancements and improves coverage of integrated tests.
Breaking Changes
const { createdAt, creator, ...cType } = await CType.fetchFromChain(cTypeId)
use the simplified syntaxconst { cType } = await CType.fetchFromChain(cTypeId)
to retrieve a CType definition from the Kilt blockchain.Features
Other
a62e7fd
417cdf0
Full Changelog: KILTprotocol/sdk-js@0.33.1...0.34.0
v0.33.1
Compare Source
This release fixes an issue arising in
0.33.0
where the ESM builds of some packages failed to properly import the dependencycbor-web
.What's Changed
Full Changelog: KILTprotocol/sdk-js@0.33.0...0.33.1
v0.33.0
Compare Source
Breaking Changes
Credential Verification
Credential.verifyCredential
&Credential.verifyPresentation
will now check for an on-chain attestation (requires an open connection to a full node) and throw if the credential has not been attested.These functions now return the credential with two properties added:
revoked
(indicates whether the attestation was revoked) andattester
(indicates the issuer of the attestation).To run only off-line integrity checks, use
verifyWellFormed
instead.refreshRevocationStatus
, which is tailored towards re-checking the validity of an already verified credential to make sure it has not been revoked in the meantime.verifyAgainstCType
has been removed. UseCType.verifyClaimAgainstSchema(credential.claim.contents, ctype)
instead, or simply use the optionalctype
parameter onCredential.verifyWellFormed
,Credential.verifyCredential
&Credential.verifyPresentation
.CType Creation
CType.fromProperties
now defaults to using the new metaschema, which impacts the CType hash & id. If you need to recreate a CType using the old metaschema, set the newly introduced third parameter of this function to'draft-01'
.Misc
BlockchainApiMissingError
in order to reduce dependencies of the@kiltprotocol/config
package. If no polkadot api object has been provided before calling chain-related functions, this will now throw a generic error instead.What's Changed
Features
Bugfixes
fea185f
Other
5920dce
Full Changelog: KILTprotocol/sdk-js@0.32.1...0.33.0
v0.32.1
Compare Source
A smaller release comprising a bug fix for the @kiltprotocol/config package.
What's changed
Full Changelog: KILTprotocol/sdk-js@0.32.0...0.32.1
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.