TosiDrop / vm-frontend

Frontend for TosiDrop
MIT License
6 stars 6 forks source link

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

Closed dependabot[bot] closed 2 months ago

dependabot[bot] commented 3 months ago

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 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)
wolf31o2 commented 3 months ago

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...
dependabot[bot] commented 2 months ago

Superseded by #498.