New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

stellar-sdk

Package Overview
Dependencies
Maintainers
5
Versions
166
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stellar-sdk - npm Package Compare versions

Comparing version 5.0.0-alpha.0 to 5.0.0-alpha.1

7

CHANGELOG.md

@@ -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 @@

1

lib/server.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc