Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency @kiltprotocol/sdk-js to ^0.35.2 #39

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 3, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@kiltprotocol/sdk-js (source) ^0.32.0 -> ^0.35.2 age adoption passing confidence

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 and reserved 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
  • refactor!: nest ctype in ICTypeDetails by @​rflechtner in https://github.com/KILTprotocol/sdk-js/pull/766
    • Migration: Instead of const { createdAt, creator, ...cType } = await CType.fetchFromChain(cTypeId) use the simplified syntax const { cType } = await CType.fetchFromChain(cTypeId) to retrieve a CType definition from the Kilt blockchain.
Features
Other

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 dependency cbor-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) and attester (indicates the issuer of the attestation).
    To run only off-line integrity checks, use verifyWellFormed instead.
    • As part of the change to the credential verification logic, we introduced a function called 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.
  • The function verifyAgainstCType has been removed. Use CType.verifyClaimAgainstSchema(credential.claim.contents, ctype) instead, or simply use the optional ctype parameter on Credential.verifyWellFormed, Credential.verifyCredential & Credential.verifyPresentation.
CType Creation
  • We also introduced a new CType metaschema which allows additional features on CTypes, which is recommended to be used on all new CTypes.
    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
  • Updating to recent versions of polkadot/api and polkadot/common dependencies required ending support for node 14.
  • We removed the 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
Other

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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@aws-amplify-eu-central-1
Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-39.d1zaj0z64nqplu.amplifyapp.com

@renovate renovate bot changed the title Update dependency @kiltprotocol/sdk-js to ^0.33.1 Update dependency @kiltprotocol/sdk-js to ^0.34.0 Aug 22, 2023
@renovate renovate bot force-pushed the renovate/kiltprotocol-sdk-js-0.x branch from 90d18a8 to b382c7b Compare August 22, 2023 16:42
@renovate renovate bot force-pushed the renovate/kiltprotocol-sdk-js-0.x branch from b382c7b to ef90528 Compare February 14, 2024 09:55
@renovate renovate bot changed the title Update dependency @kiltprotocol/sdk-js to ^0.34.0 Update dependency @kiltprotocol/sdk-js to ^0.35.0 Feb 14, 2024
@renovate renovate bot force-pushed the renovate/kiltprotocol-sdk-js-0.x branch from ef90528 to edea4c3 Compare May 3, 2024 11:15
@renovate renovate bot changed the title Update dependency @kiltprotocol/sdk-js to ^0.35.0 Update dependency @kiltprotocol/sdk-js to ^0.35.1 May 3, 2024
@renovate renovate bot force-pushed the renovate/kiltprotocol-sdk-js-0.x branch from edea4c3 to 6046ec0 Compare May 30, 2024 17:41
@renovate renovate bot changed the title Update dependency @kiltprotocol/sdk-js to ^0.35.1 Update dependency @kiltprotocol/sdk-js to ^0.35.2 May 30, 2024
@renovate renovate bot force-pushed the renovate/kiltprotocol-sdk-js-0.x branch from 6046ec0 to 1a04277 Compare June 4, 2024 15:00
@renovate renovate bot changed the title Update dependency @kiltprotocol/sdk-js to ^0.35.2 fix(deps): update dependency @kiltprotocol/sdk-js to ^0.35.2 Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants