@stellar/stellar-sdk 14.3.1 → 14.3.3

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.
@@ -156,15 +156,21 @@ var AssembledTransaction = exports.AssembledTransaction = function () {
156
156
  }
157
157
  throw new AssembledTransaction.Errors.NoSigner("You must provide a signTransaction function, either when calling " + "`signAndSend` or when initializing your Client");
158
158
  case 3:
159
+ if (_this.options.publicKey) {
160
+ _context2.n = 4;
161
+ break;
162
+ }
163
+ throw new AssembledTransaction.Errors.FakeAccount("This transaction was constructed using a default account. Provide a valid publicKey in the AssembledTransactionOptions.");
164
+ case 4:
159
165
  sigsNeeded = _this.needsNonInvokerSigningBy().filter(function (id) {
160
166
  return !id.startsWith("C");
161
167
  });
162
168
  if (!sigsNeeded.length) {
163
- _context2.n = 4;
169
+ _context2.n = 5;
164
170
  break;
165
171
  }
166
172
  throw new AssembledTransaction.Errors.NeedsMoreSignatures("Transaction requires signatures from ".concat(sigsNeeded, ". ") + "See `needsNonInvokerSigningBy` for details.");
167
- case 4:
173
+ case 5:
168
174
  timeoutInSeconds = (_this$options$timeout2 = _this.options.timeoutInSeconds) !== null && _this$options$timeout2 !== void 0 ? _this$options$timeout2 : _types.DEFAULT_TIMEOUT;
169
175
  _this.built = _stellarBase.TransactionBuilder.cloneFrom(_this.built, {
170
176
  fee: _this.built.fee,
@@ -177,15 +183,15 @@ var AssembledTransaction = exports.AssembledTransaction = function () {
177
183
  if (_this.options.address) signOpts.address = _this.options.address;
178
184
  if (_this.options.submit !== undefined) signOpts.submit = _this.options.submit;
179
185
  if (_this.options.submitUrl) signOpts.submitUrl = _this.options.submitUrl;
180
- _context2.n = 5;
186
+ _context2.n = 6;
181
187
  return signTransaction(_this.built.toXDR(), signOpts);
182
- case 5:
188
+ case 6:
183
189
  _yield$signTransactio = _context2.v;
184
190
  signature = _yield$signTransactio.signedTxXdr;
185
191
  error = _yield$signTransactio.error;
186
192
  _this.handleWalletError(error);
187
193
  _this.signed = _stellarBase.TransactionBuilder.fromXDR(signature, _this.options.networkPassphrase);
188
- case 6:
194
+ case 7:
189
195
  return _context2.a(2);
190
196
  }
191
197
  }, _callee2);
@@ -88,6 +88,7 @@ function stringToScVal(str, ty) {
88
88
  case _stellarBase.xdr.ScSpecType.scSpecTypeSymbol().value:
89
89
  return _stellarBase.xdr.ScVal.scvSymbol(str);
90
90
  case _stellarBase.xdr.ScSpecType.scSpecTypeAddress().value:
91
+ case _stellarBase.xdr.ScSpecType.scSpecTypeMuxedAddress().value:
91
92
  return _stellarBase.Address.fromString(str).toScVal();
92
93
  case _stellarBase.xdr.ScSpecType.scSpecTypeU64().value:
93
94
  return new _stellarBase.XdrLargeInt("u64", str).toScVal();
@@ -160,6 +161,11 @@ var PRIMITIVE_DEFINITONS = {
160
161
  format: "address",
161
162
  description: "Address can be a public key or contract id"
162
163
  },
164
+ MuxedAddress: {
165
+ type: "string",
166
+ format: "address",
167
+ description: "Stellar public key with M prefix combining a G address and unique ID"
168
+ },
163
169
  ScString: {
164
170
  type: "string",
165
171
  description: "ScString is a string"
@@ -222,15 +228,13 @@ function typeRef(typeDef) {
222
228
  }
223
229
  case _stellarBase.xdr.ScSpecType.scSpecTypeTimepoint().value:
224
230
  {
225
- throw new Error("Timepoint type not supported");
226
231
  ref = "Timepoint";
227
- break;
232
+ throw new Error("Timepoint type not supported");
228
233
  }
229
234
  case _stellarBase.xdr.ScSpecType.scSpecTypeDuration().value:
230
235
  {
231
- throw new Error("Duration not supported");
232
236
  ref = "Duration";
233
- break;
237
+ throw new Error("Duration not supported");
234
238
  }
235
239
  case _stellarBase.xdr.ScSpecType.scSpecTypeU128().value:
236
240
  {
@@ -272,6 +276,11 @@ function typeRef(typeDef) {
272
276
  ref = "Address";
273
277
  break;
274
278
  }
279
+ case _stellarBase.xdr.ScSpecType.scSpecTypeMuxedAddress().value:
280
+ {
281
+ ref = "MuxedAddress";
282
+ break;
283
+ }
275
284
  case _stellarBase.xdr.ScSpecType.scSpecTypeOption().value:
276
285
  {
277
286
  var opt = typeDef.option();
@@ -16,7 +16,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
16
16
  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
17
17
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
18
18
  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); }
19
- var version = exports.version = "14.3.1";
19
+ var version = exports.version = "14.3.3";
20
20
  var SERVER_TIME_MAP = exports.SERVER_TIME_MAP = {};
21
21
  function toSeconds(ms) {
22
22
  return Math.floor(ms / 1000);
@@ -156,15 +156,21 @@ var AssembledTransaction = exports.AssembledTransaction = function () {
156
156
  }
157
157
  throw new AssembledTransaction.Errors.NoSigner("You must provide a signTransaction function, either when calling " + "`signAndSend` or when initializing your Client");
158
158
  case 3:
159
+ if (_this.options.publicKey) {
160
+ _context2.n = 4;
161
+ break;
162
+ }
163
+ throw new AssembledTransaction.Errors.FakeAccount("This transaction was constructed using a default account. Provide a valid publicKey in the AssembledTransactionOptions.");
164
+ case 4:
159
165
  sigsNeeded = _this.needsNonInvokerSigningBy().filter(function (id) {
160
166
  return !id.startsWith("C");
161
167
  });
162
168
  if (!sigsNeeded.length) {
163
- _context2.n = 4;
169
+ _context2.n = 5;
164
170
  break;
165
171
  }
166
172
  throw new AssembledTransaction.Errors.NeedsMoreSignatures("Transaction requires signatures from ".concat(sigsNeeded, ". ") + "See `needsNonInvokerSigningBy` for details.");
167
- case 4:
173
+ case 5:
168
174
  timeoutInSeconds = (_this$options$timeout2 = _this.options.timeoutInSeconds) !== null && _this$options$timeout2 !== void 0 ? _this$options$timeout2 : _types.DEFAULT_TIMEOUT;
169
175
  _this.built = _stellarBase.TransactionBuilder.cloneFrom(_this.built, {
170
176
  fee: _this.built.fee,
@@ -177,15 +183,15 @@ var AssembledTransaction = exports.AssembledTransaction = function () {
177
183
  if (_this.options.address) signOpts.address = _this.options.address;
178
184
  if (_this.options.submit !== undefined) signOpts.submit = _this.options.submit;
179
185
  if (_this.options.submitUrl) signOpts.submitUrl = _this.options.submitUrl;
180
- _context2.n = 5;
186
+ _context2.n = 6;
181
187
  return signTransaction(_this.built.toXDR(), signOpts);
182
- case 5:
188
+ case 6:
183
189
  _yield$signTransactio = _context2.v;
184
190
  signature = _yield$signTransactio.signedTxXdr;
185
191
  error = _yield$signTransactio.error;
186
192
  _this.handleWalletError(error);
187
193
  _this.signed = _stellarBase.TransactionBuilder.fromXDR(signature, _this.options.networkPassphrase);
188
- case 6:
194
+ case 7:
189
195
  return _context2.a(2);
190
196
  }
191
197
  }, _callee2);
@@ -88,6 +88,7 @@ function stringToScVal(str, ty) {
88
88
  case _stellarBase.xdr.ScSpecType.scSpecTypeSymbol().value:
89
89
  return _stellarBase.xdr.ScVal.scvSymbol(str);
90
90
  case _stellarBase.xdr.ScSpecType.scSpecTypeAddress().value:
91
+ case _stellarBase.xdr.ScSpecType.scSpecTypeMuxedAddress().value:
91
92
  return _stellarBase.Address.fromString(str).toScVal();
92
93
  case _stellarBase.xdr.ScSpecType.scSpecTypeU64().value:
93
94
  return new _stellarBase.XdrLargeInt("u64", str).toScVal();
@@ -160,6 +161,11 @@ var PRIMITIVE_DEFINITONS = {
160
161
  format: "address",
161
162
  description: "Address can be a public key or contract id"
162
163
  },
164
+ MuxedAddress: {
165
+ type: "string",
166
+ format: "address",
167
+ description: "Stellar public key with M prefix combining a G address and unique ID"
168
+ },
163
169
  ScString: {
164
170
  type: "string",
165
171
  description: "ScString is a string"
@@ -222,15 +228,13 @@ function typeRef(typeDef) {
222
228
  }
223
229
  case _stellarBase.xdr.ScSpecType.scSpecTypeTimepoint().value:
224
230
  {
225
- throw new Error("Timepoint type not supported");
226
231
  ref = "Timepoint";
227
- break;
232
+ throw new Error("Timepoint type not supported");
228
233
  }
229
234
  case _stellarBase.xdr.ScSpecType.scSpecTypeDuration().value:
230
235
  {
231
- throw new Error("Duration not supported");
232
236
  ref = "Duration";
233
- break;
237
+ throw new Error("Duration not supported");
234
238
  }
235
239
  case _stellarBase.xdr.ScSpecType.scSpecTypeU128().value:
236
240
  {
@@ -272,6 +276,11 @@ function typeRef(typeDef) {
272
276
  ref = "Address";
273
277
  break;
274
278
  }
279
+ case _stellarBase.xdr.ScSpecType.scSpecTypeMuxedAddress().value:
280
+ {
281
+ ref = "MuxedAddress";
282
+ break;
283
+ }
275
284
  case _stellarBase.xdr.ScSpecType.scSpecTypeOption().value:
276
285
  {
277
286
  var opt = typeDef.option();
@@ -16,7 +16,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
16
16
  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
17
17
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
18
18
  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); }
19
- var version = exports.version = "14.3.1";
19
+ var version = exports.version = "14.3.3";
20
20
  var SERVER_TIME_MAP = exports.SERVER_TIME_MAP = {};
21
21
  function toSeconds(ms) {
22
22
  return Math.floor(ms / 1000);
@@ -12,7 +12,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
12
12
  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
13
13
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : 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
- var version = exports.version = "14.3.1";
15
+ var version = exports.version = "14.3.3";
16
16
  function createHttpClient(headers) {
17
17
  return (0, _httpClient.create)({
18
18
  headers: _objectSpread(_objectSpread({}, headers), {}, {
@@ -156,15 +156,21 @@ var AssembledTransaction = exports.AssembledTransaction = function () {
156
156
  }
157
157
  throw new AssembledTransaction.Errors.NoSigner("You must provide a signTransaction function, either when calling " + "`signAndSend` or when initializing your Client");
158
158
  case 3:
159
+ if (_this.options.publicKey) {
160
+ _context2.n = 4;
161
+ break;
162
+ }
163
+ throw new AssembledTransaction.Errors.FakeAccount("This transaction was constructed using a default account. Provide a valid publicKey in the AssembledTransactionOptions.");
164
+ case 4:
159
165
  sigsNeeded = _this.needsNonInvokerSigningBy().filter(function (id) {
160
166
  return !id.startsWith("C");
161
167
  });
162
168
  if (!sigsNeeded.length) {
163
- _context2.n = 4;
169
+ _context2.n = 5;
164
170
  break;
165
171
  }
166
172
  throw new AssembledTransaction.Errors.NeedsMoreSignatures("Transaction requires signatures from ".concat(sigsNeeded, ". ") + "See `needsNonInvokerSigningBy` for details.");
167
- case 4:
173
+ case 5:
168
174
  timeoutInSeconds = (_this$options$timeout2 = _this.options.timeoutInSeconds) !== null && _this$options$timeout2 !== void 0 ? _this$options$timeout2 : _types.DEFAULT_TIMEOUT;
169
175
  _this.built = _stellarBase.TransactionBuilder.cloneFrom(_this.built, {
170
176
  fee: _this.built.fee,
@@ -177,15 +183,15 @@ var AssembledTransaction = exports.AssembledTransaction = function () {
177
183
  if (_this.options.address) signOpts.address = _this.options.address;
178
184
  if (_this.options.submit !== undefined) signOpts.submit = _this.options.submit;
179
185
  if (_this.options.submitUrl) signOpts.submitUrl = _this.options.submitUrl;
180
- _context2.n = 5;
186
+ _context2.n = 6;
181
187
  return signTransaction(_this.built.toXDR(), signOpts);
182
- case 5:
188
+ case 6:
183
189
  _yield$signTransactio = _context2.v;
184
190
  signature = _yield$signTransactio.signedTxXdr;
185
191
  error = _yield$signTransactio.error;
186
192
  _this.handleWalletError(error);
187
193
  _this.signed = _stellarBase.TransactionBuilder.fromXDR(signature, _this.options.networkPassphrase);
188
- case 6:
194
+ case 7:
189
195
  return _context2.a(2);
190
196
  }
191
197
  }, _callee2);
@@ -88,6 +88,7 @@ function stringToScVal(str, ty) {
88
88
  case _stellarBase.xdr.ScSpecType.scSpecTypeSymbol().value:
89
89
  return _stellarBase.xdr.ScVal.scvSymbol(str);
90
90
  case _stellarBase.xdr.ScSpecType.scSpecTypeAddress().value:
91
+ case _stellarBase.xdr.ScSpecType.scSpecTypeMuxedAddress().value:
91
92
  return _stellarBase.Address.fromString(str).toScVal();
92
93
  case _stellarBase.xdr.ScSpecType.scSpecTypeU64().value:
93
94
  return new _stellarBase.XdrLargeInt("u64", str).toScVal();
@@ -160,6 +161,11 @@ var PRIMITIVE_DEFINITONS = {
160
161
  format: "address",
161
162
  description: "Address can be a public key or contract id"
162
163
  },
164
+ MuxedAddress: {
165
+ type: "string",
166
+ format: "address",
167
+ description: "Stellar public key with M prefix combining a G address and unique ID"
168
+ },
163
169
  ScString: {
164
170
  type: "string",
165
171
  description: "ScString is a string"
@@ -222,15 +228,13 @@ function typeRef(typeDef) {
222
228
  }
223
229
  case _stellarBase.xdr.ScSpecType.scSpecTypeTimepoint().value:
224
230
  {
225
- throw new Error("Timepoint type not supported");
226
231
  ref = "Timepoint";
227
- break;
232
+ throw new Error("Timepoint type not supported");
228
233
  }
229
234
  case _stellarBase.xdr.ScSpecType.scSpecTypeDuration().value:
230
235
  {
231
- throw new Error("Duration not supported");
232
236
  ref = "Duration";
233
- break;
237
+ throw new Error("Duration not supported");
234
238
  }
235
239
  case _stellarBase.xdr.ScSpecType.scSpecTypeU128().value:
236
240
  {
@@ -272,6 +276,11 @@ function typeRef(typeDef) {
272
276
  ref = "Address";
273
277
  break;
274
278
  }
279
+ case _stellarBase.xdr.ScSpecType.scSpecTypeMuxedAddress().value:
280
+ {
281
+ ref = "MuxedAddress";
282
+ break;
283
+ }
275
284
  case _stellarBase.xdr.ScSpecType.scSpecTypeOption().value:
276
285
  {
277
286
  var opt = typeDef.option();
@@ -16,7 +16,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
16
16
  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
17
17
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
18
18
  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); }
19
- var version = exports.version = "14.3.1";
19
+ var version = exports.version = "14.3.3";
20
20
  var SERVER_TIME_MAP = exports.SERVER_TIME_MAP = {};
21
21
  function toSeconds(ms) {
22
22
  return Math.floor(ms / 1000);
@@ -12,7 +12,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
12
12
  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
13
13
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : 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
- var version = exports.version = "14.3.1";
15
+ var version = exports.version = "14.3.3";
16
16
  function createHttpClient(headers) {
17
17
  return (0, _httpClient.create)({
18
18
  headers: _objectSpread(_objectSpread({}, headers), {}, {
@@ -156,15 +156,21 @@ var AssembledTransaction = exports.AssembledTransaction = function () {
156
156
  }
157
157
  throw new AssembledTransaction.Errors.NoSigner("You must provide a signTransaction function, either when calling " + "`signAndSend` or when initializing your Client");
158
158
  case 3:
159
+ if (_this.options.publicKey) {
160
+ _context2.n = 4;
161
+ break;
162
+ }
163
+ throw new AssembledTransaction.Errors.FakeAccount("This transaction was constructed using a default account. Provide a valid publicKey in the AssembledTransactionOptions.");
164
+ case 4:
159
165
  sigsNeeded = _this.needsNonInvokerSigningBy().filter(function (id) {
160
166
  return !id.startsWith("C");
161
167
  });
162
168
  if (!sigsNeeded.length) {
163
- _context2.n = 4;
169
+ _context2.n = 5;
164
170
  break;
165
171
  }
166
172
  throw new AssembledTransaction.Errors.NeedsMoreSignatures("Transaction requires signatures from ".concat(sigsNeeded, ". ") + "See `needsNonInvokerSigningBy` for details.");
167
- case 4:
173
+ case 5:
168
174
  timeoutInSeconds = (_this$options$timeout2 = _this.options.timeoutInSeconds) !== null && _this$options$timeout2 !== void 0 ? _this$options$timeout2 : _types.DEFAULT_TIMEOUT;
169
175
  _this.built = _stellarBase.TransactionBuilder.cloneFrom(_this.built, {
170
176
  fee: _this.built.fee,
@@ -177,15 +183,15 @@ var AssembledTransaction = exports.AssembledTransaction = function () {
177
183
  if (_this.options.address) signOpts.address = _this.options.address;
178
184
  if (_this.options.submit !== undefined) signOpts.submit = _this.options.submit;
179
185
  if (_this.options.submitUrl) signOpts.submitUrl = _this.options.submitUrl;
180
- _context2.n = 5;
186
+ _context2.n = 6;
181
187
  return signTransaction(_this.built.toXDR(), signOpts);
182
- case 5:
188
+ case 6:
183
189
  _yield$signTransactio = _context2.v;
184
190
  signature = _yield$signTransactio.signedTxXdr;
185
191
  error = _yield$signTransactio.error;
186
192
  _this.handleWalletError(error);
187
193
  _this.signed = _stellarBase.TransactionBuilder.fromXDR(signature, _this.options.networkPassphrase);
188
- case 6:
194
+ case 7:
189
195
  return _context2.a(2);
190
196
  }
191
197
  }, _callee2);
@@ -88,6 +88,7 @@ function stringToScVal(str, ty) {
88
88
  case _stellarBase.xdr.ScSpecType.scSpecTypeSymbol().value:
89
89
  return _stellarBase.xdr.ScVal.scvSymbol(str);
90
90
  case _stellarBase.xdr.ScSpecType.scSpecTypeAddress().value:
91
+ case _stellarBase.xdr.ScSpecType.scSpecTypeMuxedAddress().value:
91
92
  return _stellarBase.Address.fromString(str).toScVal();
92
93
  case _stellarBase.xdr.ScSpecType.scSpecTypeU64().value:
93
94
  return new _stellarBase.XdrLargeInt("u64", str).toScVal();
@@ -160,6 +161,11 @@ var PRIMITIVE_DEFINITONS = {
160
161
  format: "address",
161
162
  description: "Address can be a public key or contract id"
162
163
  },
164
+ MuxedAddress: {
165
+ type: "string",
166
+ format: "address",
167
+ description: "Stellar public key with M prefix combining a G address and unique ID"
168
+ },
163
169
  ScString: {
164
170
  type: "string",
165
171
  description: "ScString is a string"
@@ -222,15 +228,13 @@ function typeRef(typeDef) {
222
228
  }
223
229
  case _stellarBase.xdr.ScSpecType.scSpecTypeTimepoint().value:
224
230
  {
225
- throw new Error("Timepoint type not supported");
226
231
  ref = "Timepoint";
227
- break;
232
+ throw new Error("Timepoint type not supported");
228
233
  }
229
234
  case _stellarBase.xdr.ScSpecType.scSpecTypeDuration().value:
230
235
  {
231
- throw new Error("Duration not supported");
232
236
  ref = "Duration";
233
- break;
237
+ throw new Error("Duration not supported");
234
238
  }
235
239
  case _stellarBase.xdr.ScSpecType.scSpecTypeU128().value:
236
240
  {
@@ -272,6 +276,11 @@ function typeRef(typeDef) {
272
276
  ref = "Address";
273
277
  break;
274
278
  }
279
+ case _stellarBase.xdr.ScSpecType.scSpecTypeMuxedAddress().value:
280
+ {
281
+ ref = "MuxedAddress";
282
+ break;
283
+ }
275
284
  case _stellarBase.xdr.ScSpecType.scSpecTypeOption().value:
276
285
  {
277
286
  var opt = typeDef.option();
@@ -16,7 +16,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
16
16
  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
17
17
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
18
18
  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); }
19
- var version = exports.version = "14.3.1";
19
+ var version = exports.version = "14.3.3";
20
20
  var SERVER_TIME_MAP = exports.SERVER_TIME_MAP = {};
21
21
  function toSeconds(ms) {
22
22
  return Math.floor(ms / 1000);
@@ -12,7 +12,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
12
12
  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
13
13
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : 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
- var version = exports.version = "14.3.1";
15
+ var version = exports.version = "14.3.3";
16
16
  function createHttpClient(headers) {
17
17
  return (0, _httpClient.create)({
18
18
  headers: _objectSpread(_objectSpread({}, headers), {}, {
package/lib/rpc/axios.js CHANGED
@@ -12,7 +12,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
12
12
  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
13
13
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : 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
- var version = exports.version = "14.3.1";
15
+ var version = exports.version = "14.3.3";
16
16
  function createHttpClient(headers) {
17
17
  return (0, _httpClient.create)({
18
18
  headers: _objectSpread(_objectSpread({}, headers), {}, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stellar/stellar-sdk",
3
- "version": "14.3.1",
3
+ "version": "14.3.3",
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"
@@ -189,19 +189,19 @@
189
189
  "terser-webpack-plugin": "^5.3.14",
190
190
  "ts-node": "^10.9.2",
191
191
  "typescript": "5.6.3",
192
- "urijs": "^1.19.1",
193
192
  "vitest": "^3.2.4",
194
193
  "webpack": "^5.102.1",
195
194
  "webpack-cli": "^5.0.1"
196
195
  },
197
196
  "dependencies": {
198
- "@stellar/stellar-base": "^14.0.1",
197
+ "@stellar/stellar-base": "^14.0.2",
199
198
  "axios": "^1.12.2",
200
199
  "bignumber.js": "^9.3.1",
201
200
  "eventsource": "^2.0.2",
202
201
  "feaxios": "^0.0.23",
203
202
  "randombytes": "^2.1.0",
204
- "toml": "^3.0.0"
203
+ "toml": "^3.0.0",
204
+ "urijs": "^1.19.1"
205
205
  },
206
206
  "overrides": {
207
207
  "chalk": "5.3.0",