stellar-sdk
Advanced tools
Comparing version 5.0.0-alpha.0 to 5.0.0-alpha.1
@@ -7,2 +7,9 @@ # Changelog | ||
## [5.0.0-alpha.1](https://github.com/stellar/js-stellar-sdk/compare/v4.1.0...v5.0.0-alpha.1) | ||
### Breaking changes | ||
- Bump `stellar-base` to `v3.0.0-alpha-0`: This new version of stellar-base brings support for protocol 13, including multiple breaking changes which might affect your code, please review the list of breaking changes in [stellar-base@3.0.0-alpha.0](https://github.com/stellar/js-stellar-base/releases/tag/v3.0.0-alpha.0) release ([#524](https://github.com/stellar/js-stellar-sdk/pull/524)). | ||
- Make `networkPassphrase` a required argument in `Utils.buildChallengeTx` and `Utils.readChallengeTx` ([#524](https://github.com/stellar/js-stellar-sdk/pull/524)). | ||
- Remove `Server.paths` ([#525](https://github.com/stellar/js-stellar-sdk/pull/525)). | ||
## [v4.1.0](https://github.com/stellar/js-stellar-sdk/compare/v4.0.2...v4.1.0) | ||
@@ -9,0 +16,0 @@ |
@@ -33,3 +33,2 @@ import { Asset, Transaction } from "stellar-base"; | ||
operations(): OperationCallBuilder; | ||
paths(source: string, destination: string, destinationAsset: Asset, destinationAmount: string): PathCallBuilder; | ||
strictReceivePaths(source: string | Asset[], destinationAsset: Asset, destinationAmount: string): PathCallBuilder; | ||
@@ -36,0 +35,0 @@ strictSendPaths(sourceAsset: Asset, sourceAmount: string, destination: string | Asset[]): PathCallBuilder; |
@@ -21,3 +21,2 @@ "use strict"; | ||
var orderbook_call_builder_1 = require("./orderbook_call_builder"); | ||
var path_call_builder_1 = require("./path_call_builder"); | ||
var payment_call_builder_1 = require("./payment_call_builder"); | ||
@@ -261,6 +260,2 @@ var strict_receive_path_call_builder_1 = require("./strict_receive_path_call_builder"); | ||
}; | ||
Server.prototype.paths = function (source, destination, destinationAsset, destinationAmount) { | ||
console.warn("`Server#paths` is deprecated. Please use `Server#strictReceivePaths`."); | ||
return new path_call_builder_1.PathCallBuilder(urijs_1.default(this.serverURL), source, destination, destinationAsset, destinationAmount); | ||
}; | ||
Server.prototype.strictReceivePaths = function (source, destinationAsset, destinationAmount) { | ||
@@ -267,0 +262,0 @@ return new strict_receive_path_call_builder_1.StrictReceivePathCallBuilder(urijs_1.default(this.serverURL), source, destinationAsset, destinationAmount); |
{ | ||
"name": "stellar-sdk", | ||
"version": "5.0.0-alpha.0", | ||
"version": "v5.0.0-alpha.1", | ||
"description": "stellar-sdk is a library for working with the Stellar Horizon server.", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
2277072
47888