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

Bump @concordium/web-sdk from 6.0.0 to 7.1.0 #186

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 14, 2023

Bumps @concordium/web-sdk from 6.0.0 to 7.1.0.

Release notes

Sourced from @​concordium/web-sdk's releases.

web-sdk v7.1.0

Added

  • jsonUnwrapStringify function, which can be used to unwrap concordium domain types to their inner values before serializing, to ease compatibility with dependants deserializing stringified JSON.

web-sdk v7.0.3

Fixed

  • An issue with the serialization of init contract account transactions.

web-sdk v7.0.1

Added

  • Support for using the SDK in a react native environment. Requires polyfilling functionality used within the SDK. Please refer to the guide found at the react native compatibility guide

Fixed

  • Export type BlockItem in the public API again, this was removed accidentally in v7.0.0.

node-sdk v7.0.0

Breaking changes

  • Updated blockInfo so that the bakerId field is optional, since it will be undefined for genesis blocks.
  • waitForTransactionFinalization now returns a BlockItemSummaryInBlock
  • Added missing version return type in getModuleSchema. It now returns an object containing the schema source and version.

Added

  • Helpers for calculating energy cost for a transaction and microCCD cost from energy cost:
    • getEnergyCost
    • getExchangeRate
    • convertEnergyToMicroCcd
  • Utility functions for extracting information from BlockItemSummary:
    • isInitContractSummary
    • isUpdateContractSummary
    • isTransferLikeSummary
    • isRejectTransaction
    • isSuccessTransaction
    • getTransactionRejectReason
    • getReceiverAccount
    • affectedContracts
    • affectedAccounts
  • Utility functions for extracting information from BlockSpecialEvent:
    • specialEventAffectedAccounts
  • Helper methods on GRPCClient for chain traversal:
    • getFinalizedBlocksFrom
    • findEarliestFinalized
    • findInstanceCreation

... (truncated)

Changelog

Sourced from @​concordium/web-sdk's changelog.

7.1.0

Added

  • jsonUnwrapStringify function, which can be used to unwrap concordium domain types to their inner values before serializing, to ease compatibility with dependants deserializing stringified JSON.

7.0.3

Fixed

  • An issue with the serialization of init contract account transactions.

7.0.2

Fixed

  • Missing files (react native build) in published version.

7.0.1

Added

  • Support for using the SDK in a react native environment. Requires polyfilling functionality used within the SDK. Please refer to the guide found at the react native compatibility guide

Fixed

  • Export type BlockItem in the public API again, this was removed accidentally in v7.0.0.

7.0.0

Breaking changes

  • The package is published as an ES module, instead of commonJS. Migration steps can be seen in the upgrade guide
  • The package has been split into several entrypoints that can be used to limit the scope of what is included from the SDK.
    • @concordium/common-sdk exposes the full API of the SDK.
    • @concordium/common-sdk/cis0 entrypoint exposes functionality for working with contracts adhering to the CIS-0 standard.
    • @concordium/common-sdk/cis2 entrypoint exposes functionality for working with contracts adhering to the CIS-2 standard.
    • @concordium/common-sdk/cis4 entrypoint exposes functionality for working with contracts adhering to the CIS-4 standard.
    • @concordium/common-sdk/grpc entrypoint exposes the grpc client for interacting with a nodes GRPCv2 interface.
    • @concordium/common-sdk/id entrypoint exposes functionality for working with ID proofs.
    • @concordium/common-sdk/schema entrypoint exposes functionality for working with smart contract schemas, i.e.(de)serializing types using a smart contract schema.
      • This uses the wasm entrypoint at @concordium/rust-bindings/dapp.
    • @concordium/common-sdk/types entrypoint exposes functionality for working with concordium domain types.
    • @concordium/common-sdk/wasm entrypoint exposes a variety of functionality for working with concordium domain types, which requires WASM.
      • This uses the wasm entrypoint at @concorodium/rust-bindings/wallet.
    • @concordium/common-sdk/web3-id entrypoint exposes functionality for working with web3-id proofs.
    • This change makes the library incompatible with node versions <16 and requires bundlers to respect the exports field of package.json.
    • For TypeScript projects the minimum required version of typescript is:

... (truncated)

Commits
  • 1c859a0 Add function for stringifying wrapper types as unwrapped, serializable types ...
  • 23490fc Fix init contract serialization issue
  • 4c734e5 Update changelog
  • 3079f6e Fix missing published files
  • 9c5f7dd Explain babel file
  • 57ce997 Bump version for release
  • 760dc6c Update changelog
  • 63f6dcf Fix failing tests
  • 0a15466 Merge branch 'main' into react-native-compat
  • cf83b1d Use native crypto when possible
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Nov 14, 2023
Bumps [@concordium/web-sdk](https://github.com/Concordium/concordium-node-sdk-js/tree/HEAD/packages/sdk) from 6.0.0 to 7.1.0.
- [Release notes](https://github.com/Concordium/concordium-node-sdk-js/releases)
- [Changelog](https://github.com/Concordium/concordium-node-sdk-js/blob/main/packages/sdk/CHANGELOG.md)
- [Commits](https://github.com/Concordium/concordium-node-sdk-js/commits/web-sdk/7.1.0/packages/sdk)

---
updated-dependencies:
- dependency-name: "@concordium/web-sdk"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/concordium/web-sdk-7.1.0 branch from cd0722b to 4665e27 Compare December 6, 2023 13:14
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 1, 2024

Superseded by #200.

@dependabot dependabot bot closed this Feb 1, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/concordium/web-sdk-7.1.0 branch February 1, 2024 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants