stellar-base
Advanced tools
Comparing version 10.0.0-beta.0 to 10.0.0-beta.1
@@ -7,2 +7,9 @@ # Changelog | ||
## [`v10.0.0-beta.1`](https://github.com/stellar/js-stellar-base/compare/v10.0.0-beta.0...v10.0.0-beta.1) | ||
### Fixed | ||
* `nativeToScVal` now allows anything to be passed to the `opts.type` specifier. Previously, it was only integer types ([#691](https://github.com/stellar/js-stellar-base/pull/691)). | ||
* `Contract.call()` now produces valid `Operation` XDR ([#692](https://github.com/stellar/js-stellar-base/pull/692)). | ||
## [`v10.0.0-beta.0`](https://github.com/stellar/js-stellar-base/compare/v9.0.0...v10.0.0-beta.0): Protocol 20 | ||
@@ -9,0 +16,0 @@ |
@@ -85,3 +85,3 @@ "use strict"; | ||
contractAddress: this.address().toScAddress(), | ||
functionName: _xdr["default"].ScVal.scvSymbol(method), | ||
functionName: method, | ||
args: params | ||
@@ -88,0 +88,0 @@ })), |
{ | ||
"name": "stellar-base", | ||
"version": "10.0.0-beta.0", | ||
"version": "10.0.0-beta.1", | ||
"description": "Low-level support library for the Stellar network.", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -1129,3 +1129,3 @@ // TypeScript Version: 2.9 | ||
export function scValToBigInt(scv: xdr.ScVal): bigint; | ||
export function nativeToScVal(val: any, opts?: { type: ScIntType }): xdr.ScVal; | ||
export function nativeToScVal(val: any, opts?: { type: any }): xdr.ScVal; | ||
export function scValToNative(scv: xdr.ScVal): any; | ||
@@ -1132,0 +1132,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
3475412