@stellar/stellar-sdk 11.1.0 → 11.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/README.md +154 -123
- package/dist/stellar-sdk.js +110 -123
- package/dist/stellar-sdk.min.js +1 -1
- package/lib/errors.js +9 -14
- package/lib/horizon/account_call_builder.js +5 -6
- package/lib/horizon/assets_call_builder.js +5 -6
- package/lib/horizon/claimable_balances_call_builder.js +5 -6
- package/lib/horizon/effect_call_builder.js +5 -6
- package/lib/horizon/friendbot_builder.js +5 -6
- package/lib/horizon/ledger_call_builder.js +5 -6
- package/lib/horizon/liquidity_pool_call_builder.js +5 -6
- package/lib/horizon/offer_call_builder.js +5 -6
- package/lib/horizon/operation_call_builder.js +5 -6
- package/lib/horizon/orderbook_call_builder.js +5 -6
- package/lib/horizon/path_call_builder.js +5 -6
- package/lib/horizon/payment_call_builder.js +5 -6
- package/lib/horizon/strict_receive_path_call_builder.js +5 -6
- package/lib/horizon/strict_send_path_call_builder.js +5 -6
- package/lib/horizon/trade_aggregation_call_builder.js +5 -6
- package/lib/horizon/trades_call_builder.js +5 -6
- package/lib/horizon/transaction_call_builder.js +5 -6
- package/lib/soroban/api.d.ts +8 -1
- package/lib/soroban/parsers.js +10 -4
- package/lib/webauth/errors.js +5 -6
- package/package.json +11 -11
|
@@ -12,21 +12,20 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
12
12
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
13
13
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
14
14
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
15
|
-
function
|
|
16
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
17
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
15
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
18
16
|
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
19
17
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
20
|
-
function _isNativeReflectConstruct() {
|
|
18
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
21
19
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
20
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
21
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
22
22
|
var allowedResolutions = [60000, 300000, 900000, 3600000, 86400000, 604800000];
|
|
23
23
|
var TradeAggregationCallBuilder = exports.TradeAggregationCallBuilder = function (_CallBuilder) {
|
|
24
24
|
_inherits(TradeAggregationCallBuilder, _CallBuilder);
|
|
25
|
-
var _super = _createSuper(TradeAggregationCallBuilder);
|
|
26
25
|
function TradeAggregationCallBuilder(serverUrl, base, counter, start_time, end_time, resolution, offset) {
|
|
27
26
|
var _this;
|
|
28
27
|
_classCallCheck(this, TradeAggregationCallBuilder);
|
|
29
|
-
_this =
|
|
28
|
+
_this = _callSuper(this, TradeAggregationCallBuilder, [serverUrl]);
|
|
30
29
|
_this.url.segment("trade_aggregations");
|
|
31
30
|
if (!base.isNative()) {
|
|
32
31
|
_this.url.setQuery("base_asset_type", base.getAssetType());
|
|
@@ -11,20 +11,19 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
11
11
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
12
12
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
13
13
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
14
|
-
function
|
|
15
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
16
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
14
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
17
15
|
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
18
16
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
19
|
-
function _isNativeReflectConstruct() {
|
|
17
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
20
18
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
19
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
20
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
21
21
|
var TradesCallBuilder = exports.TradesCallBuilder = function (_CallBuilder) {
|
|
22
22
|
_inherits(TradesCallBuilder, _CallBuilder);
|
|
23
|
-
var _super = _createSuper(TradesCallBuilder);
|
|
24
23
|
function TradesCallBuilder(serverUrl) {
|
|
25
24
|
var _this;
|
|
26
25
|
_classCallCheck(this, TradesCallBuilder);
|
|
27
|
-
_this =
|
|
26
|
+
_this = _callSuper(this, TradesCallBuilder, [serverUrl, "trades"]);
|
|
28
27
|
_this.url.segment("trades");
|
|
29
28
|
return _this;
|
|
30
29
|
}
|
|
@@ -11,20 +11,19 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
11
11
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
12
12
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
13
13
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
14
|
-
function
|
|
15
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
16
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
14
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
17
15
|
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
18
16
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
19
|
-
function _isNativeReflectConstruct() {
|
|
17
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
20
18
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
19
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
20
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
21
21
|
var TransactionCallBuilder = exports.TransactionCallBuilder = function (_CallBuilder) {
|
|
22
22
|
_inherits(TransactionCallBuilder, _CallBuilder);
|
|
23
|
-
var _super = _createSuper(TransactionCallBuilder);
|
|
24
23
|
function TransactionCallBuilder(serverUrl) {
|
|
25
24
|
var _this;
|
|
26
25
|
_classCallCheck(this, TransactionCallBuilder);
|
|
27
|
-
_this =
|
|
26
|
+
_this = _callSuper(this, TransactionCallBuilder, [serverUrl, "transactions"]);
|
|
28
27
|
_this.url.segment("transactions");
|
|
29
28
|
return _this;
|
|
30
29
|
}
|
package/lib/soroban/api.d.ts
CHANGED
|
@@ -116,7 +116,7 @@ export declare namespace Api {
|
|
|
116
116
|
latestLedger: number;
|
|
117
117
|
events: EventResponse[];
|
|
118
118
|
}
|
|
119
|
-
interface EventResponse extends BaseEventResponse {
|
|
119
|
+
export interface EventResponse extends BaseEventResponse {
|
|
120
120
|
contractId?: Contract;
|
|
121
121
|
topic: xdr.ScVal[];
|
|
122
122
|
value: xdr.ScVal;
|
|
@@ -144,6 +144,7 @@ export declare namespace Api {
|
|
|
144
144
|
export type SendTransactionStatus = 'PENDING' | 'DUPLICATE' | 'TRY_AGAIN_LATER' | 'ERROR';
|
|
145
145
|
export interface SendTransactionResponse extends BaseSendTransactionResponse {
|
|
146
146
|
errorResult?: xdr.TransactionResult;
|
|
147
|
+
diagnosticEvents?: xdr.DiagnosticEvent[];
|
|
147
148
|
}
|
|
148
149
|
export interface RawSendTransactionResponse extends BaseSendTransactionResponse {
|
|
149
150
|
/**
|
|
@@ -153,6 +154,12 @@ export declare namespace Api {
|
|
|
153
154
|
* It contains details on why the network rejected the transaction.
|
|
154
155
|
*/
|
|
155
156
|
errorResultXdr?: string;
|
|
157
|
+
/**
|
|
158
|
+
* This is a base64-encoded instance of an array of
|
|
159
|
+
* {@link xdr.DiagnosticEvent}s, set only when `status` is `"ERROR"` and
|
|
160
|
+
* diagnostic events are enabled on the server.
|
|
161
|
+
*/
|
|
162
|
+
diagnosticEventsXdr?: string[];
|
|
156
163
|
}
|
|
157
164
|
export interface BaseSendTransactionResponse {
|
|
158
165
|
status: SendTransactionStatus;
|
package/lib/soroban/parsers.js
CHANGED
|
@@ -16,11 +16,17 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
|
|
|
16
16
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
17
17
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
18
18
|
function parseRawSendTransaction(r) {
|
|
19
|
-
var
|
|
19
|
+
var errorResultXdr = r.errorResultXdr,
|
|
20
|
+
diagnosticEventsXdr = r.diagnosticEventsXdr;
|
|
20
21
|
delete r.errorResultXdr;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
delete r.diagnosticEventsXdr;
|
|
23
|
+
if (!!errorResultXdr) {
|
|
24
|
+
return _objectSpread(_objectSpread(_objectSpread({}, r), diagnosticEventsXdr !== undefined && diagnosticEventsXdr.length > 0 && {
|
|
25
|
+
diagnosticEvents: diagnosticEventsXdr.map(function (evt) {
|
|
26
|
+
return _stellarBase.xdr.DiagnosticEvent.fromXDR(evt, 'base64');
|
|
27
|
+
})
|
|
28
|
+
}), {}, {
|
|
29
|
+
errorResult: _stellarBase.xdr.TransactionResult.fromXDR(errorResultXdr, 'base64')
|
|
24
30
|
});
|
|
25
31
|
}
|
|
26
32
|
return _objectSpread({}, r);
|
package/lib/webauth/errors.js
CHANGED
|
@@ -10,24 +10,23 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
10
10
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
11
11
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
12
12
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
13
|
-
function
|
|
14
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
13
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
15
14
|
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
16
15
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
16
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
17
17
|
function _wrapNativeSuper(Class) { var _cache = typeof Map === "function" ? new Map() : undefined; _wrapNativeSuper = function _wrapNativeSuper(Class) { if (Class === null || !_isNativeFunction(Class)) return Class; if (typeof Class !== "function") { throw new TypeError("Super expression must either be null or a function"); } if (typeof _cache !== "undefined") { if (_cache.has(Class)) return _cache.get(Class); _cache.set(Class, Wrapper); } function Wrapper() { return _construct(Class, arguments, _getPrototypeOf(this).constructor); } Wrapper.prototype = Object.create(Class.prototype, { constructor: { value: Wrapper, enumerable: false, writable: true, configurable: true } }); return _setPrototypeOf(Wrapper, Class); }; return _wrapNativeSuper(Class); }
|
|
18
|
-
function _construct(
|
|
19
|
-
function _isNativeReflectConstruct() {
|
|
18
|
+
function _construct(t, e, r) { if (_isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments); var o = [null]; o.push.apply(o, e); var p = new (t.bind.apply(t, o))(); return r && _setPrototypeOf(p, r.prototype), p; }
|
|
19
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
20
20
|
function _isNativeFunction(fn) { try { return Function.toString.call(fn).indexOf("[native code]") !== -1; } catch (e) { return typeof fn === "function"; } }
|
|
21
21
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
22
22
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
23
23
|
var InvalidChallengeError = exports.InvalidChallengeError = function (_Error) {
|
|
24
24
|
_inherits(InvalidChallengeError, _Error);
|
|
25
|
-
var _super = _createSuper(InvalidChallengeError);
|
|
26
25
|
function InvalidChallengeError(message) {
|
|
27
26
|
var _this;
|
|
28
27
|
_classCallCheck(this, InvalidChallengeError);
|
|
29
28
|
var trueProto = (this instanceof InvalidChallengeError ? this.constructor : void 0).prototype;
|
|
30
|
-
_this =
|
|
29
|
+
_this = _callSuper(this, InvalidChallengeError, [message]);
|
|
31
30
|
_this.__proto__ = trueProto;
|
|
32
31
|
_this.constructor = InvalidChallengeError;
|
|
33
32
|
_this.name = "InvalidChallengeError";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stellar/stellar-sdk",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.2.0",
|
|
4
4
|
"description": "A library for working with the Stellar network, including communication with the Horizon and Soroban RPC servers.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"stellar"
|
|
@@ -77,13 +77,13 @@
|
|
|
77
77
|
},
|
|
78
78
|
"devDependencies": {
|
|
79
79
|
"@babel/cli": "^7.23.0",
|
|
80
|
-
"@babel/core": "^7.23.
|
|
80
|
+
"@babel/core": "^7.23.7",
|
|
81
81
|
"@babel/eslint-parser": "^7.22.15",
|
|
82
82
|
"@babel/eslint-plugin": "^7.22.10",
|
|
83
|
-
"@babel/preset-env": "^7.23.
|
|
83
|
+
"@babel/preset-env": "^7.23.8",
|
|
84
84
|
"@babel/preset-typescript": "^7.23.0",
|
|
85
|
-
"@babel/register": "^7.
|
|
86
|
-
"@definitelytyped/dtslint": "^0.1.
|
|
85
|
+
"@babel/register": "^7.23.7",
|
|
86
|
+
"@definitelytyped/dtslint": "^0.1.2",
|
|
87
87
|
"@istanbuljs/nyc-config-babel": "3.0.0",
|
|
88
88
|
"@stellar/tsconfig": "^1.0.2",
|
|
89
89
|
"@types/chai": "^4.3.6",
|
|
@@ -92,11 +92,11 @@
|
|
|
92
92
|
"@types/json-schema": "^7.0.15",
|
|
93
93
|
"@types/lodash": "^4.14.199",
|
|
94
94
|
"@types/mocha": "^10.0.2",
|
|
95
|
-
"@types/node": "^20.8
|
|
95
|
+
"@types/node": "^20.10.8",
|
|
96
96
|
"@types/randombytes": "^2.0.1",
|
|
97
97
|
"@types/sinon": "^17.0.2",
|
|
98
98
|
"@types/urijs": "^1.19.20",
|
|
99
|
-
"@typescript-eslint/parser": "^6.
|
|
99
|
+
"@typescript-eslint/parser": "^6.18.1",
|
|
100
100
|
"axios-mock-adapter": "^1.22.0",
|
|
101
101
|
"babel-loader": "^9.1.3",
|
|
102
102
|
"babel-plugin-istanbul": "^6.1.1",
|
|
@@ -105,13 +105,13 @@
|
|
|
105
105
|
"chai-as-promised": "^7.1.1",
|
|
106
106
|
"chai-http": "^4.3.0",
|
|
107
107
|
"cross-env": "^7.0.3",
|
|
108
|
-
"eslint": "^8.
|
|
108
|
+
"eslint": "^8.56.0",
|
|
109
109
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
110
110
|
"eslint-config-prettier": "^9.0.0",
|
|
111
111
|
"eslint-plugin-import": "^2.29.1",
|
|
112
112
|
"eslint-plugin-node": "^11.1.0",
|
|
113
113
|
"eslint-plugin-prefer-import": "^0.0.1",
|
|
114
|
-
"eslint-plugin-prettier": "^5.
|
|
114
|
+
"eslint-plugin-prettier": "^5.1.2",
|
|
115
115
|
"eslint-webpack-plugin": "^4.0.1",
|
|
116
116
|
"ghooks": "^2.0.4",
|
|
117
117
|
"husky": "^8.0.3",
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
"sinon": "^17.0.1",
|
|
137
137
|
"sinon-chai": "^3.7.0",
|
|
138
138
|
"taffydb": "^2.7.3",
|
|
139
|
-
"terser-webpack-plugin": "^5.3.
|
|
139
|
+
"terser-webpack-plugin": "^5.3.10",
|
|
140
140
|
"ts-node": "^10.9.2",
|
|
141
141
|
"typescript": "^5.3.3",
|
|
142
142
|
"utility-types": "^3.7.0",
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
},
|
|
146
146
|
"dependencies": {
|
|
147
147
|
"@stellar/stellar-base": "10.0.1",
|
|
148
|
-
"axios": "^1.6.
|
|
148
|
+
"axios": "^1.6.5",
|
|
149
149
|
"bignumber.js": "^9.1.2",
|
|
150
150
|
"eventsource": "^2.0.2",
|
|
151
151
|
"randombytes": "^2.1.0",
|