stellar-base
Advanced tools
Comparing version 10.0.0-soroban.2 to 10.0.0-soroban.3
@@ -92,3 +92,2 @@ "use strict"; | ||
value: function call(method) { | ||
var contractId = Buffer.from(this._id, 'hex'); | ||
for (var _len = arguments.length, params = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { | ||
@@ -98,3 +97,3 @@ params[_key - 1] = arguments[_key]; | ||
return _operation.Operation.invokeHostFunction({ | ||
func: _xdr["default"].HostFunction.hostFunctionTypeInvokeContract([_xdr["default"].ScVal.scvBytes(contractId), _xdr["default"].ScVal.scvSymbol(method)].concat(params)), | ||
func: _xdr["default"].HostFunction.hostFunctionTypeInvokeContract([this.address().toScVal(), _xdr["default"].ScVal.scvSymbol(method)].concat(params)), | ||
auth: [] | ||
@@ -101,0 +100,0 @@ }); |
{ | ||
"name": "stellar-base", | ||
"version": "10.0.0-soroban.2", | ||
"version": "10.0.0-soroban.3", | ||
"description": "Low-level support library for the Stellar network.", | ||
@@ -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
3156337
64181