[Snyk] Upgrade soroban-client from 1.0.0-beta.2 to 1.0.1 #5
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was automatically created by Snyk using the credentials of a real user.
![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
Snyk has created this PR to upgrade soroban-client from 1.0.0-beta.2 to 1.0.1.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 4 versions ahead of your current version.
The recommended version was released on 6 months ago.
Issues fixed by the recommended upgrade:
SNYK-JS-AXIOS-6144788
SNYK-JS-FOLLOWREDIRECTS-6141137
SNYK-JS-FOLLOWREDIRECTS-6444610
Release notes
Package name: soroban-client
Warning: This library is no longer being maintained, in favor of the
@ stellar/stellar-sdk
package. Please read the migration guide for how to upgrade to that package. Future changes will only be made there.This release merely correctly marks the package as deprecated.
Warning: This library is no longer being maintained, in favor of the
@ stellar/stellar-sdk
package. Please read the migration guide for how to upgrade to that package. Future changes will only be made there.v1.0.0: Protocol 20, Soroban!
This is the stable Protocol 20 release. The following is a list of changes since the previous beta:
Breaking Changes
stellar-base
release, supporting the current stable XDR for Protocol 20 (#167).Fixed
Server.getEvents
method now correctly parses responses without acontractId
field set: theevents[i].contractId
field on an event will be omitted if there was no ID in the event (e.g. for system events; (#172)).Server.getEvents()
method will correctly parse the event value as anxdr.ScVal
rather than anxdr.DiagnosticEvent
(#172).Server.getEvents()
method will correctly setstartLedger
to be a number rather than a string (#174).Full Changelog: v0.11.2...v1.0.0
Note: This version is currently only compatible with Stellar networks running the Protocol 20 release candidate such as the current Testnet and Futurenet (using stellar/stellar-xdr@9ac0264).
This is a patch release: please refer to v1.0.0-beta.0 or the link below for a complete changelog.
v1.0.0-beta.4
Fixed
stellar-base
dependency has been upgraded to v10.0.0-beta.4 which fixes a bug with large sequence numbers (#170).Full Changelog: v0.11.2...v1.0.0-beta.4
Note: This version is currently only compatible with Stellar networks running the Protocol 20 release candidate such as the current Testnet (using stellar/stellar-xdr@9ac0264).
This is a patch release: please refer to v1.0.0-beta.0 for a complete changelog.
v1.0.0-beta.3
Added
Server.getContractData
andServer.getLedgerEntries
now include anexpirationLedgerSeq
attribute on ledger data entries that have expiry information (#153).Server._simulateTransaction
method will return the raw response directly from the RPC server rather than parsing XDR fields (#160).Breaking Changes
stellar-base
dependency has been upgraded to v10.0.0-beta.3 which contains breaking changes related to auth helpers and some bugfixes (#158).Server.getLedgerEntries
response (#154), we parse:entries
is now guaranteed to exist, but it may be emptyentries[i].key
is an instance ofxdr.LedgerKey
entries[i].xdr
field is nowval
, insteadentries[i].val
is an instance ofxdr.LedgerEntryData
Server.sendTransaction
response (#157), we parse:errorResultXdr
is renamed toerrorResult
xdr.TransactionResult
Server.getEvents
response (#156), we parse:events[i].contractId
is now an instance ofContract
events[i].topic
is now a list of decodedxdr.ScVal
instancesevents[i].value.xdr
is now remapped directly toevents.value
events[i].value
is a decodedxdr.ScVal
instanceServer.sendTransaction
response (#157), we parse:errorResultXdr
is nowerrorResult
, a parsed instance ofxdr.TransactionResult
_
-prefixed methods which will return the response directly:Server._getLedgerEntries
Server._sendTransaction
Server._getEvents
Server._simulateTransaction
Server._getTransaction
Full Changelog: v0.11.2...v1.0.0-beta.3
Note: This version is currently only compatible with Stellar networks running the Protocol 20 release candidate such as the current Testnet (using stellar/stellar-xdr@9ac0264).
This is a patch release: please refer to v1.0.0-beta.0 for a complete changelog.
Fixed
simulateTransaction
were not always being parsed correctly (#146).Full Changelog: v0.11.2...v1.0.0-beta.2
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: