@stellar/stellar-sdk 14.3.2 → 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.
- package/CHANGELOG.md +5 -0
- package/dist/stellar-sdk-minimal.js +15 -10
- package/dist/stellar-sdk-minimal.min.js +1 -1
- package/dist/stellar-sdk-no-axios.js +15 -10
- package/dist/stellar-sdk-no-axios.min.js +1 -1
- package/dist/stellar-sdk-no-eventsource.js +15 -10
- package/dist/stellar-sdk-no-eventsource.min.js +1 -1
- package/dist/stellar-sdk.js +15 -10
- package/dist/stellar-sdk.min.js +1 -1
- package/lib/contract/spec.js +13 -4
- package/lib/horizon/horizon_axios_client.js +1 -1
- package/lib/minimal/contract/spec.js +13 -4
- package/lib/minimal/horizon/horizon_axios_client.js +1 -1
- package/lib/minimal/rpc/axios.js +1 -1
- package/lib/no-axios/contract/spec.js +13 -4
- package/lib/no-axios/horizon/horizon_axios_client.js +1 -1
- package/lib/no-axios/rpc/axios.js +1 -1
- package/lib/no-eventsource/contract/spec.js +13 -4
- package/lib/no-eventsource/horizon/horizon_axios_client.js +1 -1
- package/lib/no-eventsource/rpc/axios.js +1 -1
- package/lib/rpc/axios.js +1 -1
- package/package.json +1 -1
|
@@ -10796,6 +10796,7 @@ function stringToScVal(str, ty) {
|
|
|
10796
10796
|
case stellar_base_min.xdr.ScSpecType.scSpecTypeSymbol().value:
|
|
10797
10797
|
return stellar_base_min.xdr.ScVal.scvSymbol(str);
|
|
10798
10798
|
case stellar_base_min.xdr.ScSpecType.scSpecTypeAddress().value:
|
|
10799
|
+
case stellar_base_min.xdr.ScSpecType.scSpecTypeMuxedAddress().value:
|
|
10799
10800
|
return stellar_base_min.Address.fromString(str).toScVal();
|
|
10800
10801
|
case stellar_base_min.xdr.ScSpecType.scSpecTypeU64().value:
|
|
10801
10802
|
return new stellar_base_min.XdrLargeInt("u64", str).toScVal();
|
|
@@ -10868,6 +10869,11 @@ var PRIMITIVE_DEFINITONS = {
|
|
|
10868
10869
|
format: "address",
|
|
10869
10870
|
description: "Address can be a public key or contract id"
|
|
10870
10871
|
},
|
|
10872
|
+
MuxedAddress: {
|
|
10873
|
+
type: "string",
|
|
10874
|
+
format: "address",
|
|
10875
|
+
description: "Stellar public key with M prefix combining a G address and unique ID"
|
|
10876
|
+
},
|
|
10871
10877
|
ScString: {
|
|
10872
10878
|
type: "string",
|
|
10873
10879
|
description: "ScString is a string"
|
|
@@ -10930,19 +10936,13 @@ function typeRef(typeDef) {
|
|
|
10930
10936
|
}
|
|
10931
10937
|
case stellar_base_min.xdr.ScSpecType.scSpecTypeTimepoint().value:
|
|
10932
10938
|
{
|
|
10939
|
+
ref = "Timepoint";
|
|
10933
10940
|
throw new Error("Timepoint type not supported");
|
|
10934
|
-
// removed by dead control flow
|
|
10935
|
-
|
|
10936
|
-
// removed by dead control flow
|
|
10937
|
-
|
|
10938
10941
|
}
|
|
10939
10942
|
case stellar_base_min.xdr.ScSpecType.scSpecTypeDuration().value:
|
|
10940
10943
|
{
|
|
10944
|
+
ref = "Duration";
|
|
10941
10945
|
throw new Error("Duration not supported");
|
|
10942
|
-
// removed by dead control flow
|
|
10943
|
-
|
|
10944
|
-
// removed by dead control flow
|
|
10945
|
-
|
|
10946
10946
|
}
|
|
10947
10947
|
case stellar_base_min.xdr.ScSpecType.scSpecTypeU128().value:
|
|
10948
10948
|
{
|
|
@@ -10984,6 +10984,11 @@ function typeRef(typeDef) {
|
|
|
10984
10984
|
ref = "Address";
|
|
10985
10985
|
break;
|
|
10986
10986
|
}
|
|
10987
|
+
case stellar_base_min.xdr.ScSpecType.scSpecTypeMuxedAddress().value:
|
|
10988
|
+
{
|
|
10989
|
+
ref = "MuxedAddress";
|
|
10990
|
+
break;
|
|
10991
|
+
}
|
|
10987
10992
|
case stellar_base_min.xdr.ScSpecType.scSpecTypeOption().value:
|
|
10988
10993
|
{
|
|
10989
10994
|
var opt = typeDef.option();
|
|
@@ -13232,7 +13237,7 @@ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object
|
|
|
13232
13237
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
13233
13238
|
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); }
|
|
13234
13239
|
|
|
13235
|
-
var version = "14.3.
|
|
13240
|
+
var version = "14.3.3";
|
|
13236
13241
|
function createHttpClient(headers) {
|
|
13237
13242
|
return (0,http_client/* create */.vt)({
|
|
13238
13243
|
headers: _objectSpread(_objectSpread({}, headers), {}, {
|
|
@@ -22313,7 +22318,7 @@ function horizon_axios_client_toPropertyKey(t) { var i = horizon_axios_client_to
|
|
|
22313
22318
|
function horizon_axios_client_toPrimitive(t, r) { if ("object" != horizon_axios_client_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != horizon_axios_client_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
22314
22319
|
|
|
22315
22320
|
|
|
22316
|
-
var version = "14.3.
|
|
22321
|
+
var version = "14.3.3";
|
|
22317
22322
|
var SERVER_TIME_MAP = {};
|
|
22318
22323
|
function toSeconds(ms) {
|
|
22319
22324
|
return Math.floor(ms / 1000);
|