Skip to content
This repository has been archived by the owner on Sep 28, 2024. It is now read-only.

chore(deps): bump @emurgo/cardano-serialization-lib-nodejs from 11.5.0 to 12.0.1 in /server #88

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 2, 2024

Bumps @emurgo/cardano-serialization-lib-nodejs from 11.5.0 to 12.0.1.

Release notes

Sourced from @​emurgo/cardano-serialization-lib-nodejs's releases.

12.0.0 beta 1

THIS IS A BETA RELEASE, AND SOME THINGS MIGHT CHANGE IN THE FINAL 12.0.0

Update Summary

1. Address Types:

  • Added network_id getter to Address types.
  • Introduced new address type: Malformed. Used when it's impossible to deserialize an address in structs where the address is a nested type.
  • New getter for address: kind(). Returns an enum with address type.
  • New getter for address: payment_cred(). Returns payment credential.
  • New function for address: is_malformed().

2. PlutusV3 Support:

  • Added PlutusV3 support in all Plutus-specific structures.

3. Token Handling:

  • Prohibited sending and minting of zero tokens.

4. New Certificates:

Added support for the following certificates (can be added via CertificatesBuilder):

  • CommitteeColdResign
  • CommitteeHotAuth
  • DrepDeregistration
  • DrepRegistration
  • DrepUpdate
  • StakeAndVoteDelegation
  • StakeRegistrationAndDelegation
  • StakeVoteRegistrationAndDelegation
  • VoteDelegation
  • VoteRegistrationAndDelegation

5. Reference Script Fee:

  • TransactionBuilderConfigBuilder: Added ref_script_coins_per_byte setter to account for new fees for reference script inputs.
  • PlutusScriptSource: Now requires an additional mandatory parameter for script size for reference inputs.

6. New Builder Types:

  • VotingBuilder: For participation in voting for governance actions.
  • VotingProposalBuilder: For proposing voting actions.
  • TransactionBuilder: Now has setters for these new builders.

7. Extended Coin Selection Functions:

TransactionBuilder has two new coin selection functions to account for change output and collateral return during fee estimation:

  • add_inputs_from_and_change: Considers change calculation; no need to call add_change_if_needed after it.
  • add_inputs_from_and_change_with_collateral_return: Considers change calculation and collateral return; no need to call add_change_if_needed after it.
    • NOTE: add_inputs_from_and_change_with_collateral_return doesn't perform coin selection for collateral inputs; you need to specify collateral inputs manually.

8. New Protocol Types for Governance-related Actions:

  • VotingProcedure: Vote for specific governance action proposal.
  • VotingProcedures: Collection of votes.
  • VotingProposal: Proposal of specific governance action.

... (truncated)

Commits

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 the dependencies Pull requests that update a dependency file label Sep 2, 2024
@dependabot dependabot bot requested a review from wolf31o2 as a code owner September 2, 2024 10:33
@dependabot dependabot bot added the javascript Pull requests that update Javascript code label Sep 2, 2024
Copy link

cloudflare-workers-and-pages bot commented Sep 2, 2024

Deploying blinklabs-discoin-vm-frontend with  Cloudflare Pages  Cloudflare Pages

Latest commit: 36539b0
Status: ✅  Deploy successful!
Preview URL: https://cf327802.blinklabs-discoin-vm-frontend.pages.dev
Branch Preview URL: https://dependabot-npm-and-yarn-serv-au7v.blinklabs-discoin-vm-frontend.pages.dev

View logs

Bumps [@emurgo/cardano-serialization-lib-nodejs](https://github.com/Emurgo/cardano-serialization-lib) from 11.5.0 to 12.0.1.
- [Release notes](https://github.com/Emurgo/cardano-serialization-lib/releases)
- [Commits](Emurgo/cardano-serialization-lib@11.5.0...12.0.1)

---
updated-dependencies:
- dependency-name: "@emurgo/cardano-serialization-lib-nodejs"
  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/server/emurgo/cardano-serialization-lib-nodejs-12.0.1 branch from 242ebff to 36539b0 Compare September 2, 2024 19:11
Copy link
Member

@wolf31o2 wolf31o2 left a comment

Choose a reason for hiding this comment

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

This needs more work to be merged.

[0] [nodemon] starting `ts-node index.ts`
[0] /code/server/node_modules/ts-node/src/index.ts:859
[0]     return new TSError(diagnosticText, diagnosticCodes, diagnostics);
[0]            ^
[0] TSError: ⨯ Unable to compile TypeScript:
[0] service/tx.ts(8,3): error TS2724: '"@emurgo/cardano-serialization-lib-nodejs"' has no exported member named 'StakeCredential'. Did you mean 'Credential'?
[0] 
[0]     at createTSError (/code/server/node_modules/ts-node/src/index.ts:859:12)
[0]     at reportTSError (/code/server/node_modules/ts-node/src/index.ts:863:19)
[0]     at getOutput (/code/server/node_modules/ts-node/src/index.ts:1077:36)
[0]     at Object.compile (/code/server/node_modules/ts-node/src/index.ts:1433:41)
[0]     at Module.m._compile (/code/server/node_modules/ts-node/src/index.ts:1617:30)
[0]     at Module._extensions..js (node:internal/modules/cjs/loader:1691:10)
[0]     at Object.require.extensions.<computed> [as .ts] (/code/server/node_modules/ts-node/src/index.ts:1621:12)
[0]     at Module.load (node:internal/modules/cjs/loader:1317:32)
[0]     at Function.Module._load (node:internal/modules/cjs/loader:1127:12)
[0]     at TracingChannel.traceSync (node:diagnostics_channel:315:14) {
[0]   diagnosticCodes: [ 2724 ]
[0] }
[0] [nodemon] app crashed - waiting for file changes before starting...

@wolf31o2 wolf31o2 closed this Sep 13, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 13, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@wolf31o2 wolf31o2 deleted the dependabot/npm_and_yarn/server/emurgo/cardano-serialization-lib-nodejs-12.0.1 branch September 13, 2024 13:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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.

1 participant