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

Release v12.1.0 #993

Merged
merged 3 commits into from
Jun 14, 2024
Merged

Release v12.1.0 #993

merged 3 commits into from
Jun 14, 2024

Conversation

Shaptic
Copy link
Contributor

@Shaptic Shaptic commented Jun 14, 2024

Added

  • contract now exports the DEFAULT_TIMEOUT (#984).
  • contract.AssembledTransaction now has:
    • toXDR and fromXDR methods for serializing the transaction to and from XDR. These methods should be used in place of AssembledTransaction.toJSON and AssembledTransaction.fromJSONfor multi-auth signing. The JSON methods are now deprecated. Note: you must now call simulate on the transaction before the final signAndSend call after all required signatures are gathered when using the XDR methods (#977).
    • a restoreFootprint method which accepts the restorePreamble returned when a simulation call fails due to some contract state that has expired. When invoking a contract function, one can now set restore to true in the MethodOptions. When enabled, a restoreFootprint transaction will be created and await signing when required (#991).
    • separate sign and send methods so that you can sign a transaction without sending it (signAndSend still works as before; #922).
  • contract.Client now has a txFromXDR method which should be used in place of txFromJSON for multi-auth signing (#977).

Deprecated

  • In contract.AssembledTransaction, toJSON and fromJSON should be replaced with toXDR and fromXDR.
  • In contract.Client, txFromJSON should be replaced with txFromXDR.

Fixed

  • If you edit an AssembledTransaction with tx.raw = cloneFrom(tx.build), the tx.simulationData will now be updated correctly (#985).

Copy link

socket-security bot commented Jun 14, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@babel/[email protected] Transitive: eval, filesystem, network, shell +5 1.14 MB nicolo-ribaudo
npm/@babel/[email protected] None 0 65.6 kB nicolo-ribaudo
npm/@babel/[email protected] environment, filesystem, unsafe +30 3.85 MB nicolo-ribaudo
npm/@babel/[email protected] None +1 49.1 kB nicolo-ribaudo
npm/@babel/[email protected] None +3 94.5 kB nicolo-ribaudo
npm/@babel/[email protected] None +11 988 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 127 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 1.89 MB nicolo-ribaudo
npm/@babel/[email protected] environment, filesystem +114 8.64 MB nicolo-ribaudo
npm/@babel/[email protected] Transitive: environment +36 3.28 MB nicolo-ribaudo
npm/@babel/[email protected] environment +3 2.5 MB nicolo-ribaudo
npm/@eslint-community/[email protected] None 0 432 kB eslint-community-bot
npm/@stellar/[email protected] None +3 711 kB
npm/@types/[email protected] None 0 863 kB types
npm/@types/[email protected] None +1 2.16 MB types
npm/@typescript-eslint/[email protected] Transitive: filesystem +9 1.37 MB jameshenry
npm/[email protected] None 0 0 B
npm/[email protected] environment, filesystem Transitive: shell +4 112 kB ai
npm/[email protected] environment 0 42.4 kB qix
npm/[email protected] None +8 767 kB
npm/[email protected] Transitive: environment, filesystem, shell +36 1.68 MB
npm/[email protected] environment, filesystem, unsafe 0 8.25 MB prettier-bot
npm/[email protected] None 0 0 B
npm/[email protected] environment, filesystem, network, unsafe Transitive: eval +27 6.42 MB evilebottnawi

🚮 Removed packages: npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@eslint-community/[email protected], npm/@stellar/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@typescript-eslint/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected]

View full report↗︎

Copy link

github-actions bot commented Jun 14, 2024

Size Change: -48 B (0%)

Total Size: 12.1 MB

Filename Size Change
dist/stellar-sdk.js 6.76 MB +587 B (+0.01%)
dist/stellar-sdk.min.js 5.33 MB -635 B (-0.01%)

compressed-size-action

@Shaptic Shaptic requested review from sreuland, psheth9 and a team June 14, 2024 17:07
@Shaptic Shaptic merged commit 10e5edc into master Jun 14, 2024
10 checks passed
@Shaptic Shaptic deleted the v12.1.0 branch June 14, 2024 17:29
BlaineHeffron pushed a commit to AhaLabs/js-stellar-sdk that referenced this pull request Jun 20, 2024
* Upgrade dev dependencies
* Upgrade stellar-base to latest version
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.

2 participants