@stellar/stellar-base 12.1.1 → 13.0.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.
@@ -1918,8 +1918,8 @@ __webpack_require__.d(__webpack_exports__, {
1918
1918
 
1919
1919
  // EXTERNAL MODULE: ./node_modules/@stellar/js-xdr/dist/xdr.js
1920
1920
  var xdr = __webpack_require__(3740);
1921
- ;// CONCATENATED MODULE: ./src/generated/curr_generated.js
1922
- // Automatically generated by xdrgen
1921
+ ;// ./src/generated/curr_generated.js
1922
+ // Automatically generated by xdrgen on 2024-09-12T11:09:00-08:00
1923
1923
  // DO NOT EDIT or your changes may be overwritten
1924
1924
 
1925
1925
  /* jshint maxstatements:2147483647 */
@@ -3697,6 +3697,250 @@ var types = xdr.config(function (xdr) {
3697
3697
  envelopeTypeSorobanAuthorization: 9
3698
3698
  });
3699
3699
 
3700
+ // === xdr source ============================================================
3701
+ //
3702
+ // enum BucketListType
3703
+ // {
3704
+ // LIVE = 0,
3705
+ // HOT_ARCHIVE = 1,
3706
+ // COLD_ARCHIVE = 2
3707
+ // };
3708
+ //
3709
+ // ===========================================================================
3710
+ xdr["enum"]("BucketListType", {
3711
+ live: 0,
3712
+ hotArchive: 1,
3713
+ coldArchive: 2
3714
+ });
3715
+
3716
+ // === xdr source ============================================================
3717
+ //
3718
+ // enum BucketEntryType
3719
+ // {
3720
+ // METAENTRY =
3721
+ // -1, // At-and-after protocol 11: bucket metadata, should come first.
3722
+ // LIVEENTRY = 0, // Before protocol 11: created-or-updated;
3723
+ // // At-and-after protocol 11: only updated.
3724
+ // DEADENTRY = 1,
3725
+ // INITENTRY = 2 // At-and-after protocol 11: only created.
3726
+ // };
3727
+ //
3728
+ // ===========================================================================
3729
+ xdr["enum"]("BucketEntryType", {
3730
+ metaentry: -1,
3731
+ liveentry: 0,
3732
+ deadentry: 1,
3733
+ initentry: 2
3734
+ });
3735
+
3736
+ // === xdr source ============================================================
3737
+ //
3738
+ // enum HotArchiveBucketEntryType
3739
+ // {
3740
+ // HOT_ARCHIVE_METAENTRY = -1, // Bucket metadata, should come first.
3741
+ // HOT_ARCHIVE_ARCHIVED = 0, // Entry is Archived
3742
+ // HOT_ARCHIVE_LIVE = 1, // Entry was previously HOT_ARCHIVE_ARCHIVED, or HOT_ARCHIVE_DELETED, but
3743
+ // // has been added back to the live BucketList.
3744
+ // // Does not need to be persisted.
3745
+ // HOT_ARCHIVE_DELETED = 2 // Entry deleted (Note: must be persisted in archive)
3746
+ // };
3747
+ //
3748
+ // ===========================================================================
3749
+ xdr["enum"]("HotArchiveBucketEntryType", {
3750
+ hotArchiveMetaentry: -1,
3751
+ hotArchiveArchived: 0,
3752
+ hotArchiveLive: 1,
3753
+ hotArchiveDeleted: 2
3754
+ });
3755
+
3756
+ // === xdr source ============================================================
3757
+ //
3758
+ // enum ColdArchiveBucketEntryType
3759
+ // {
3760
+ // COLD_ARCHIVE_METAENTRY = -1, // Bucket metadata, should come first.
3761
+ // COLD_ARCHIVE_ARCHIVED_LEAF = 0, // Full LedgerEntry that was archived during the epoch
3762
+ // COLD_ARCHIVE_DELETED_LEAF = 1, // LedgerKey that was deleted during the epoch
3763
+ // COLD_ARCHIVE_BOUNDARY_LEAF = 2, // Dummy leaf representing low/high bound
3764
+ // COLD_ARCHIVE_HASH = 3 // Intermediary Merkle hash entry
3765
+ // };
3766
+ //
3767
+ // ===========================================================================
3768
+ xdr["enum"]("ColdArchiveBucketEntryType", {
3769
+ coldArchiveMetaentry: -1,
3770
+ coldArchiveArchivedLeaf: 0,
3771
+ coldArchiveDeletedLeaf: 1,
3772
+ coldArchiveBoundaryLeaf: 2,
3773
+ coldArchiveHash: 3
3774
+ });
3775
+
3776
+ // === xdr source ============================================================
3777
+ //
3778
+ // union switch (int v)
3779
+ // {
3780
+ // case 0:
3781
+ // void;
3782
+ // case 1:
3783
+ // BucketListType bucketListType;
3784
+ // }
3785
+ //
3786
+ // ===========================================================================
3787
+ xdr.union("BucketMetadataExt", {
3788
+ switchOn: xdr["int"](),
3789
+ switchName: "v",
3790
+ switches: [[0, xdr["void"]()], [1, "bucketListType"]],
3791
+ arms: {
3792
+ bucketListType: xdr.lookup("BucketListType")
3793
+ }
3794
+ });
3795
+
3796
+ // === xdr source ============================================================
3797
+ //
3798
+ // struct BucketMetadata
3799
+ // {
3800
+ // // Indicates the protocol version used to create / merge this bucket.
3801
+ // uint32 ledgerVersion;
3802
+ //
3803
+ // // reserved for future use
3804
+ // union switch (int v)
3805
+ // {
3806
+ // case 0:
3807
+ // void;
3808
+ // case 1:
3809
+ // BucketListType bucketListType;
3810
+ // }
3811
+ // ext;
3812
+ // };
3813
+ //
3814
+ // ===========================================================================
3815
+ xdr.struct("BucketMetadata", [["ledgerVersion", xdr.lookup("Uint32")], ["ext", xdr.lookup("BucketMetadataExt")]]);
3816
+
3817
+ // === xdr source ============================================================
3818
+ //
3819
+ // union BucketEntry switch (BucketEntryType type)
3820
+ // {
3821
+ // case LIVEENTRY:
3822
+ // case INITENTRY:
3823
+ // LedgerEntry liveEntry;
3824
+ //
3825
+ // case DEADENTRY:
3826
+ // LedgerKey deadEntry;
3827
+ // case METAENTRY:
3828
+ // BucketMetadata metaEntry;
3829
+ // };
3830
+ //
3831
+ // ===========================================================================
3832
+ xdr.union("BucketEntry", {
3833
+ switchOn: xdr.lookup("BucketEntryType"),
3834
+ switchName: "type",
3835
+ switches: [["liveentry", "liveEntry"], ["initentry", "liveEntry"], ["deadentry", "deadEntry"], ["metaentry", "metaEntry"]],
3836
+ arms: {
3837
+ liveEntry: xdr.lookup("LedgerEntry"),
3838
+ deadEntry: xdr.lookup("LedgerKey"),
3839
+ metaEntry: xdr.lookup("BucketMetadata")
3840
+ }
3841
+ });
3842
+
3843
+ // === xdr source ============================================================
3844
+ //
3845
+ // union HotArchiveBucketEntry switch (HotArchiveBucketEntryType type)
3846
+ // {
3847
+ // case HOT_ARCHIVE_ARCHIVED:
3848
+ // LedgerEntry archivedEntry;
3849
+ //
3850
+ // case HOT_ARCHIVE_LIVE:
3851
+ // case HOT_ARCHIVE_DELETED:
3852
+ // LedgerKey key;
3853
+ // case HOT_ARCHIVE_METAENTRY:
3854
+ // BucketMetadata metaEntry;
3855
+ // };
3856
+ //
3857
+ // ===========================================================================
3858
+ xdr.union("HotArchiveBucketEntry", {
3859
+ switchOn: xdr.lookup("HotArchiveBucketEntryType"),
3860
+ switchName: "type",
3861
+ switches: [["hotArchiveArchived", "archivedEntry"], ["hotArchiveLive", "key"], ["hotArchiveDeleted", "key"], ["hotArchiveMetaentry", "metaEntry"]],
3862
+ arms: {
3863
+ archivedEntry: xdr.lookup("LedgerEntry"),
3864
+ key: xdr.lookup("LedgerKey"),
3865
+ metaEntry: xdr.lookup("BucketMetadata")
3866
+ }
3867
+ });
3868
+
3869
+ // === xdr source ============================================================
3870
+ //
3871
+ // struct ColdArchiveArchivedLeaf
3872
+ // {
3873
+ // uint32 index;
3874
+ // LedgerEntry archivedEntry;
3875
+ // };
3876
+ //
3877
+ // ===========================================================================
3878
+ xdr.struct("ColdArchiveArchivedLeaf", [["index", xdr.lookup("Uint32")], ["archivedEntry", xdr.lookup("LedgerEntry")]]);
3879
+
3880
+ // === xdr source ============================================================
3881
+ //
3882
+ // struct ColdArchiveDeletedLeaf
3883
+ // {
3884
+ // uint32 index;
3885
+ // LedgerKey deletedKey;
3886
+ // };
3887
+ //
3888
+ // ===========================================================================
3889
+ xdr.struct("ColdArchiveDeletedLeaf", [["index", xdr.lookup("Uint32")], ["deletedKey", xdr.lookup("LedgerKey")]]);
3890
+
3891
+ // === xdr source ============================================================
3892
+ //
3893
+ // struct ColdArchiveBoundaryLeaf
3894
+ // {
3895
+ // uint32 index;
3896
+ // bool isLowerBound;
3897
+ // };
3898
+ //
3899
+ // ===========================================================================
3900
+ xdr.struct("ColdArchiveBoundaryLeaf", [["index", xdr.lookup("Uint32")], ["isLowerBound", xdr.bool()]]);
3901
+
3902
+ // === xdr source ============================================================
3903
+ //
3904
+ // struct ColdArchiveHashEntry
3905
+ // {
3906
+ // uint32 index;
3907
+ // uint32 level;
3908
+ // Hash hash;
3909
+ // };
3910
+ //
3911
+ // ===========================================================================
3912
+ xdr.struct("ColdArchiveHashEntry", [["index", xdr.lookup("Uint32")], ["level", xdr.lookup("Uint32")], ["hash", xdr.lookup("Hash")]]);
3913
+
3914
+ // === xdr source ============================================================
3915
+ //
3916
+ // union ColdArchiveBucketEntry switch (ColdArchiveBucketEntryType type)
3917
+ // {
3918
+ // case COLD_ARCHIVE_METAENTRY:
3919
+ // BucketMetadata metaEntry;
3920
+ // case COLD_ARCHIVE_ARCHIVED_LEAF:
3921
+ // ColdArchiveArchivedLeaf archivedLeaf;
3922
+ // case COLD_ARCHIVE_DELETED_LEAF:
3923
+ // ColdArchiveDeletedLeaf deletedLeaf;
3924
+ // case COLD_ARCHIVE_BOUNDARY_LEAF:
3925
+ // ColdArchiveBoundaryLeaf boundaryLeaf;
3926
+ // case COLD_ARCHIVE_HASH:
3927
+ // ColdArchiveHashEntry hashEntry;
3928
+ // };
3929
+ //
3930
+ // ===========================================================================
3931
+ xdr.union("ColdArchiveBucketEntry", {
3932
+ switchOn: xdr.lookup("ColdArchiveBucketEntryType"),
3933
+ switchName: "type",
3934
+ switches: [["coldArchiveMetaentry", "metaEntry"], ["coldArchiveArchivedLeaf", "archivedLeaf"], ["coldArchiveDeletedLeaf", "deletedLeaf"], ["coldArchiveBoundaryLeaf", "boundaryLeaf"], ["coldArchiveHash", "hashEntry"]],
3935
+ arms: {
3936
+ metaEntry: xdr.lookup("BucketMetadata"),
3937
+ archivedLeaf: xdr.lookup("ColdArchiveArchivedLeaf"),
3938
+ deletedLeaf: xdr.lookup("ColdArchiveDeletedLeaf"),
3939
+ boundaryLeaf: xdr.lookup("ColdArchiveBoundaryLeaf"),
3940
+ hashEntry: xdr.lookup("ColdArchiveHashEntry")
3941
+ }
3942
+ });
3943
+
3700
3944
  // === xdr source ============================================================
3701
3945
  //
3702
3946
  // typedef opaque UpgradeType<128>;
@@ -3980,87 +4224,6 @@ var types = xdr.config(function (xdr) {
3980
4224
  // ===========================================================================
3981
4225
  xdr.struct("ConfigUpgradeSet", [["updatedEntry", xdr.varArray(xdr.lookup("ConfigSettingEntry"), 2147483647)]]);
3982
4226
 
3983
- // === xdr source ============================================================
3984
- //
3985
- // enum BucketEntryType
3986
- // {
3987
- // METAENTRY =
3988
- // -1, // At-and-after protocol 11: bucket metadata, should come first.
3989
- // LIVEENTRY = 0, // Before protocol 11: created-or-updated;
3990
- // // At-and-after protocol 11: only updated.
3991
- // DEADENTRY = 1,
3992
- // INITENTRY = 2 // At-and-after protocol 11: only created.
3993
- // };
3994
- //
3995
- // ===========================================================================
3996
- xdr["enum"]("BucketEntryType", {
3997
- metaentry: -1,
3998
- liveentry: 0,
3999
- deadentry: 1,
4000
- initentry: 2
4001
- });
4002
-
4003
- // === xdr source ============================================================
4004
- //
4005
- // union switch (int v)
4006
- // {
4007
- // case 0:
4008
- // void;
4009
- // }
4010
- //
4011
- // ===========================================================================
4012
- xdr.union("BucketMetadataExt", {
4013
- switchOn: xdr["int"](),
4014
- switchName: "v",
4015
- switches: [[0, xdr["void"]()]],
4016
- arms: {}
4017
- });
4018
-
4019
- // === xdr source ============================================================
4020
- //
4021
- // struct BucketMetadata
4022
- // {
4023
- // // Indicates the protocol version used to create / merge this bucket.
4024
- // uint32 ledgerVersion;
4025
- //
4026
- // // reserved for future use
4027
- // union switch (int v)
4028
- // {
4029
- // case 0:
4030
- // void;
4031
- // }
4032
- // ext;
4033
- // };
4034
- //
4035
- // ===========================================================================
4036
- xdr.struct("BucketMetadata", [["ledgerVersion", xdr.lookup("Uint32")], ["ext", xdr.lookup("BucketMetadataExt")]]);
4037
-
4038
- // === xdr source ============================================================
4039
- //
4040
- // union BucketEntry switch (BucketEntryType type)
4041
- // {
4042
- // case LIVEENTRY:
4043
- // case INITENTRY:
4044
- // LedgerEntry liveEntry;
4045
- //
4046
- // case DEADENTRY:
4047
- // LedgerKey deadEntry;
4048
- // case METAENTRY:
4049
- // BucketMetadata metaEntry;
4050
- // };
4051
- //
4052
- // ===========================================================================
4053
- xdr.union("BucketEntry", {
4054
- switchOn: xdr.lookup("BucketEntryType"),
4055
- switchName: "type",
4056
- switches: [["liveentry", "liveEntry"], ["initentry", "liveEntry"], ["deadentry", "deadEntry"], ["metaentry", "metaEntry"]],
4057
- arms: {
4058
- liveEntry: xdr.lookup("LedgerEntry"),
4059
- deadEntry: xdr.lookup("LedgerKey"),
4060
- metaEntry: xdr.lookup("BucketMetadata")
4061
- }
4062
- });
4063
-
4064
4227
  // === xdr source ============================================================
4065
4228
  //
4066
4229
  // enum TxSetComponentType
@@ -4512,6 +4675,13 @@ var types = xdr.config(function (xdr) {
4512
4675
  // ===========================================================================
4513
4676
  xdr.struct("DiagnosticEvent", [["inSuccessfulContractCall", xdr.bool()], ["event", xdr.lookup("ContractEvent")]]);
4514
4677
 
4678
+ // === xdr source ============================================================
4679
+ //
4680
+ // typedef DiagnosticEvent DiagnosticEvents<>;
4681
+ //
4682
+ // ===========================================================================
4683
+ xdr.typedef("DiagnosticEvents", xdr.varArray(xdr.lookup("DiagnosticEvent"), 2147483647));
4684
+
4515
4685
  // === xdr source ============================================================
4516
4686
  //
4517
4687
  // struct SorobanTransactionMetaExtV1
@@ -4966,7 +5136,12 @@ var types = xdr.config(function (xdr) {
4966
5136
  // SEND_MORE_EXTENDED = 20,
4967
5137
  //
4968
5138
  // FLOOD_ADVERT = 18,
4969
- // FLOOD_DEMAND = 19
5139
+ // FLOOD_DEMAND = 19,
5140
+ //
5141
+ // TIME_SLICED_SURVEY_REQUEST = 21,
5142
+ // TIME_SLICED_SURVEY_RESPONSE = 22,
5143
+ // TIME_SLICED_SURVEY_START_COLLECTING = 23,
5144
+ // TIME_SLICED_SURVEY_STOP_COLLECTING = 24
4970
5145
  // };
4971
5146
  //
4972
5147
  // ===========================================================================
@@ -4990,7 +5165,11 @@ var types = xdr.config(function (xdr) {
4990
5165
  sendMore: 16,
4991
5166
  sendMoreExtended: 20,
4992
5167
  floodAdvert: 18,
4993
- floodDemand: 19
5168
+ floodDemand: 19,
5169
+ timeSlicedSurveyRequest: 21,
5170
+ timeSlicedSurveyResponse: 22,
5171
+ timeSlicedSurveyStartCollecting: 23,
5172
+ timeSlicedSurveyStopCollecting: 24
4994
5173
  });
4995
5174
 
4996
5175
  // === xdr source ============================================================
@@ -5008,12 +5187,14 @@ var types = xdr.config(function (xdr) {
5008
5187
  //
5009
5188
  // enum SurveyMessageCommandType
5010
5189
  // {
5011
- // SURVEY_TOPOLOGY = 0
5190
+ // SURVEY_TOPOLOGY = 0,
5191
+ // TIME_SLICED_SURVEY_TOPOLOGY = 1
5012
5192
  // };
5013
5193
  //
5014
5194
  // ===========================================================================
5015
5195
  xdr["enum"]("SurveyMessageCommandType", {
5016
- surveyTopology: 0
5196
+ surveyTopology: 0,
5197
+ timeSlicedSurveyTopology: 1
5017
5198
  });
5018
5199
 
5019
5200
  // === xdr source ============================================================
@@ -5021,15 +5202,63 @@ var types = xdr.config(function (xdr) {
5021
5202
  // enum SurveyMessageResponseType
5022
5203
  // {
5023
5204
  // SURVEY_TOPOLOGY_RESPONSE_V0 = 0,
5024
- // SURVEY_TOPOLOGY_RESPONSE_V1 = 1
5205
+ // SURVEY_TOPOLOGY_RESPONSE_V1 = 1,
5206
+ // SURVEY_TOPOLOGY_RESPONSE_V2 = 2
5025
5207
  // };
5026
5208
  //
5027
5209
  // ===========================================================================
5028
5210
  xdr["enum"]("SurveyMessageResponseType", {
5029
5211
  surveyTopologyResponseV0: 0,
5030
- surveyTopologyResponseV1: 1
5212
+ surveyTopologyResponseV1: 1,
5213
+ surveyTopologyResponseV2: 2
5031
5214
  });
5032
5215
 
5216
+ // === xdr source ============================================================
5217
+ //
5218
+ // struct TimeSlicedSurveyStartCollectingMessage
5219
+ // {
5220
+ // NodeID surveyorID;
5221
+ // uint32 nonce;
5222
+ // uint32 ledgerNum;
5223
+ // };
5224
+ //
5225
+ // ===========================================================================
5226
+ xdr.struct("TimeSlicedSurveyStartCollectingMessage", [["surveyorId", xdr.lookup("NodeId")], ["nonce", xdr.lookup("Uint32")], ["ledgerNum", xdr.lookup("Uint32")]]);
5227
+
5228
+ // === xdr source ============================================================
5229
+ //
5230
+ // struct SignedTimeSlicedSurveyStartCollectingMessage
5231
+ // {
5232
+ // Signature signature;
5233
+ // TimeSlicedSurveyStartCollectingMessage startCollecting;
5234
+ // };
5235
+ //
5236
+ // ===========================================================================
5237
+ xdr.struct("SignedTimeSlicedSurveyStartCollectingMessage", [["signature", xdr.lookup("Signature")], ["startCollecting", xdr.lookup("TimeSlicedSurveyStartCollectingMessage")]]);
5238
+
5239
+ // === xdr source ============================================================
5240
+ //
5241
+ // struct TimeSlicedSurveyStopCollectingMessage
5242
+ // {
5243
+ // NodeID surveyorID;
5244
+ // uint32 nonce;
5245
+ // uint32 ledgerNum;
5246
+ // };
5247
+ //
5248
+ // ===========================================================================
5249
+ xdr.struct("TimeSlicedSurveyStopCollectingMessage", [["surveyorId", xdr.lookup("NodeId")], ["nonce", xdr.lookup("Uint32")], ["ledgerNum", xdr.lookup("Uint32")]]);
5250
+
5251
+ // === xdr source ============================================================
5252
+ //
5253
+ // struct SignedTimeSlicedSurveyStopCollectingMessage
5254
+ // {
5255
+ // Signature signature;
5256
+ // TimeSlicedSurveyStopCollectingMessage stopCollecting;
5257
+ // };
5258
+ //
5259
+ // ===========================================================================
5260
+ xdr.struct("SignedTimeSlicedSurveyStopCollectingMessage", [["signature", xdr.lookup("Signature")], ["stopCollecting", xdr.lookup("TimeSlicedSurveyStopCollectingMessage")]]);
5261
+
5033
5262
  // === xdr source ============================================================
5034
5263
  //
5035
5264
  // struct SurveyRequestMessage
@@ -5044,6 +5273,19 @@ var types = xdr.config(function (xdr) {
5044
5273
  // ===========================================================================
5045
5274
  xdr.struct("SurveyRequestMessage", [["surveyorPeerId", xdr.lookup("NodeId")], ["surveyedPeerId", xdr.lookup("NodeId")], ["ledgerNum", xdr.lookup("Uint32")], ["encryptionKey", xdr.lookup("Curve25519Public")], ["commandType", xdr.lookup("SurveyMessageCommandType")]]);
5046
5275
 
5276
+ // === xdr source ============================================================
5277
+ //
5278
+ // struct TimeSlicedSurveyRequestMessage
5279
+ // {
5280
+ // SurveyRequestMessage request;
5281
+ // uint32 nonce;
5282
+ // uint32 inboundPeersIndex;
5283
+ // uint32 outboundPeersIndex;
5284
+ // };
5285
+ //
5286
+ // ===========================================================================
5287
+ xdr.struct("TimeSlicedSurveyRequestMessage", [["request", xdr.lookup("SurveyRequestMessage")], ["nonce", xdr.lookup("Uint32")], ["inboundPeersIndex", xdr.lookup("Uint32")], ["outboundPeersIndex", xdr.lookup("Uint32")]]);
5288
+
5047
5289
  // === xdr source ============================================================
5048
5290
  //
5049
5291
  // struct SignedSurveyRequestMessage
@@ -5055,6 +5297,17 @@ var types = xdr.config(function (xdr) {
5055
5297
  // ===========================================================================
5056
5298
  xdr.struct("SignedSurveyRequestMessage", [["requestSignature", xdr.lookup("Signature")], ["request", xdr.lookup("SurveyRequestMessage")]]);
5057
5299
 
5300
+ // === xdr source ============================================================
5301
+ //
5302
+ // struct SignedTimeSlicedSurveyRequestMessage
5303
+ // {
5304
+ // Signature requestSignature;
5305
+ // TimeSlicedSurveyRequestMessage request;
5306
+ // };
5307
+ //
5308
+ // ===========================================================================
5309
+ xdr.struct("SignedTimeSlicedSurveyRequestMessage", [["requestSignature", xdr.lookup("Signature")], ["request", xdr.lookup("TimeSlicedSurveyRequestMessage")]]);
5310
+
5058
5311
  // === xdr source ============================================================
5059
5312
  //
5060
5313
  // typedef opaque EncryptedBody<64000>;
@@ -5076,6 +5329,17 @@ var types = xdr.config(function (xdr) {
5076
5329
  // ===========================================================================
5077
5330
  xdr.struct("SurveyResponseMessage", [["surveyorPeerId", xdr.lookup("NodeId")], ["surveyedPeerId", xdr.lookup("NodeId")], ["ledgerNum", xdr.lookup("Uint32")], ["commandType", xdr.lookup("SurveyMessageCommandType")], ["encryptedBody", xdr.lookup("EncryptedBody")]]);
5078
5331
 
5332
+ // === xdr source ============================================================
5333
+ //
5334
+ // struct TimeSlicedSurveyResponseMessage
5335
+ // {
5336
+ // SurveyResponseMessage response;
5337
+ // uint32 nonce;
5338
+ // };
5339
+ //
5340
+ // ===========================================================================
5341
+ xdr.struct("TimeSlicedSurveyResponseMessage", [["response", xdr.lookup("SurveyResponseMessage")], ["nonce", xdr.lookup("Uint32")]]);
5342
+
5079
5343
  // === xdr source ============================================================
5080
5344
  //
5081
5345
  // struct SignedSurveyResponseMessage
@@ -5087,6 +5351,17 @@ var types = xdr.config(function (xdr) {
5087
5351
  // ===========================================================================
5088
5352
  xdr.struct("SignedSurveyResponseMessage", [["responseSignature", xdr.lookup("Signature")], ["response", xdr.lookup("SurveyResponseMessage")]]);
5089
5353
 
5354
+ // === xdr source ============================================================
5355
+ //
5356
+ // struct SignedTimeSlicedSurveyResponseMessage
5357
+ // {
5358
+ // Signature responseSignature;
5359
+ // TimeSlicedSurveyResponseMessage response;
5360
+ // };
5361
+ //
5362
+ // ===========================================================================
5363
+ xdr.struct("SignedTimeSlicedSurveyResponseMessage", [["responseSignature", xdr.lookup("Signature")], ["response", xdr.lookup("TimeSlicedSurveyResponseMessage")]]);
5364
+
5090
5365
  // === xdr source ============================================================
5091
5366
  //
5092
5367
  // struct PeerStats
@@ -5120,6 +5395,49 @@ var types = xdr.config(function (xdr) {
5120
5395
  // ===========================================================================
5121
5396
  xdr.typedef("PeerStatList", xdr.varArray(xdr.lookup("PeerStats"), 25));
5122
5397
 
5398
+ // === xdr source ============================================================
5399
+ //
5400
+ // struct TimeSlicedNodeData
5401
+ // {
5402
+ // uint32 addedAuthenticatedPeers;
5403
+ // uint32 droppedAuthenticatedPeers;
5404
+ // uint32 totalInboundPeerCount;
5405
+ // uint32 totalOutboundPeerCount;
5406
+ //
5407
+ // // SCP stats
5408
+ // uint32 p75SCPFirstToSelfLatencyMs;
5409
+ // uint32 p75SCPSelfToOtherLatencyMs;
5410
+ //
5411
+ // // How many times the node lost sync in the time slice
5412
+ // uint32 lostSyncCount;
5413
+ //
5414
+ // // Config data
5415
+ // bool isValidator;
5416
+ // uint32 maxInboundPeerCount;
5417
+ // uint32 maxOutboundPeerCount;
5418
+ // };
5419
+ //
5420
+ // ===========================================================================
5421
+ xdr.struct("TimeSlicedNodeData", [["addedAuthenticatedPeers", xdr.lookup("Uint32")], ["droppedAuthenticatedPeers", xdr.lookup("Uint32")], ["totalInboundPeerCount", xdr.lookup("Uint32")], ["totalOutboundPeerCount", xdr.lookup("Uint32")], ["p75ScpFirstToSelfLatencyMs", xdr.lookup("Uint32")], ["p75ScpSelfToOtherLatencyMs", xdr.lookup("Uint32")], ["lostSyncCount", xdr.lookup("Uint32")], ["isValidator", xdr.bool()], ["maxInboundPeerCount", xdr.lookup("Uint32")], ["maxOutboundPeerCount", xdr.lookup("Uint32")]]);
5422
+
5423
+ // === xdr source ============================================================
5424
+ //
5425
+ // struct TimeSlicedPeerData
5426
+ // {
5427
+ // PeerStats peerStats;
5428
+ // uint32 averageLatencyMs;
5429
+ // };
5430
+ //
5431
+ // ===========================================================================
5432
+ xdr.struct("TimeSlicedPeerData", [["peerStats", xdr.lookup("PeerStats")], ["averageLatencyMs", xdr.lookup("Uint32")]]);
5433
+
5434
+ // === xdr source ============================================================
5435
+ //
5436
+ // typedef TimeSlicedPeerData TimeSlicedPeerDataList<25>;
5437
+ //
5438
+ // ===========================================================================
5439
+ xdr.typedef("TimeSlicedPeerDataList", xdr.varArray(xdr.lookup("TimeSlicedPeerData"), 25));
5440
+
5123
5441
  // === xdr source ============================================================
5124
5442
  //
5125
5443
  // struct TopologyResponseBodyV0
@@ -5151,6 +5469,18 @@ var types = xdr.config(function (xdr) {
5151
5469
  // ===========================================================================
5152
5470
  xdr.struct("TopologyResponseBodyV1", [["inboundPeers", xdr.lookup("PeerStatList")], ["outboundPeers", xdr.lookup("PeerStatList")], ["totalInboundPeerCount", xdr.lookup("Uint32")], ["totalOutboundPeerCount", xdr.lookup("Uint32")], ["maxInboundPeerCount", xdr.lookup("Uint32")], ["maxOutboundPeerCount", xdr.lookup("Uint32")]]);
5153
5471
 
5472
+ // === xdr source ============================================================
5473
+ //
5474
+ // struct TopologyResponseBodyV2
5475
+ // {
5476
+ // TimeSlicedPeerDataList inboundPeers;
5477
+ // TimeSlicedPeerDataList outboundPeers;
5478
+ // TimeSlicedNodeData nodeData;
5479
+ // };
5480
+ //
5481
+ // ===========================================================================
5482
+ xdr.struct("TopologyResponseBodyV2", [["inboundPeers", xdr.lookup("TimeSlicedPeerDataList")], ["outboundPeers", xdr.lookup("TimeSlicedPeerDataList")], ["nodeData", xdr.lookup("TimeSlicedNodeData")]]);
5483
+
5154
5484
  // === xdr source ============================================================
5155
5485
  //
5156
5486
  // union SurveyResponseBody switch (SurveyMessageResponseType type)
@@ -5159,16 +5489,19 @@ var types = xdr.config(function (xdr) {
5159
5489
  // TopologyResponseBodyV0 topologyResponseBodyV0;
5160
5490
  // case SURVEY_TOPOLOGY_RESPONSE_V1:
5161
5491
  // TopologyResponseBodyV1 topologyResponseBodyV1;
5492
+ // case SURVEY_TOPOLOGY_RESPONSE_V2:
5493
+ // TopologyResponseBodyV2 topologyResponseBodyV2;
5162
5494
  // };
5163
5495
  //
5164
5496
  // ===========================================================================
5165
5497
  xdr.union("SurveyResponseBody", {
5166
5498
  switchOn: xdr.lookup("SurveyMessageResponseType"),
5167
5499
  switchName: "type",
5168
- switches: [["surveyTopologyResponseV0", "topologyResponseBodyV0"], ["surveyTopologyResponseV1", "topologyResponseBodyV1"]],
5500
+ switches: [["surveyTopologyResponseV0", "topologyResponseBodyV0"], ["surveyTopologyResponseV1", "topologyResponseBodyV1"], ["surveyTopologyResponseV2", "topologyResponseBodyV2"]],
5169
5501
  arms: {
5170
5502
  topologyResponseBodyV0: xdr.lookup("TopologyResponseBodyV0"),
5171
- topologyResponseBodyV1: xdr.lookup("TopologyResponseBodyV1")
5503
+ topologyResponseBodyV1: xdr.lookup("TopologyResponseBodyV1"),
5504
+ topologyResponseBodyV2: xdr.lookup("TopologyResponseBodyV2")
5172
5505
  }
5173
5506
  });
5174
5507
 
@@ -5253,6 +5586,20 @@ var types = xdr.config(function (xdr) {
5253
5586
  // case SURVEY_RESPONSE:
5254
5587
  // SignedSurveyResponseMessage signedSurveyResponseMessage;
5255
5588
  //
5589
+ // case TIME_SLICED_SURVEY_REQUEST:
5590
+ // SignedTimeSlicedSurveyRequestMessage signedTimeSlicedSurveyRequestMessage;
5591
+ //
5592
+ // case TIME_SLICED_SURVEY_RESPONSE:
5593
+ // SignedTimeSlicedSurveyResponseMessage signedTimeSlicedSurveyResponseMessage;
5594
+ //
5595
+ // case TIME_SLICED_SURVEY_START_COLLECTING:
5596
+ // SignedTimeSlicedSurveyStartCollectingMessage
5597
+ // signedTimeSlicedSurveyStartCollectingMessage;
5598
+ //
5599
+ // case TIME_SLICED_SURVEY_STOP_COLLECTING:
5600
+ // SignedTimeSlicedSurveyStopCollectingMessage
5601
+ // signedTimeSlicedSurveyStopCollectingMessage;
5602
+ //
5256
5603
  // // SCP
5257
5604
  // case GET_SCP_QUORUMSET:
5258
5605
  // uint256 qSetHash;
@@ -5277,7 +5624,7 @@ var types = xdr.config(function (xdr) {
5277
5624
  xdr.union("StellarMessage", {
5278
5625
  switchOn: xdr.lookup("MessageType"),
5279
5626
  switchName: "type",
5280
- switches: [["errorMsg", "error"], ["hello", "hello"], ["auth", "auth"], ["dontHave", "dontHave"], ["getPeers", xdr["void"]()], ["peers", "peers"], ["getTxSet", "txSetHash"], ["txSet", "txSet"], ["generalizedTxSet", "generalizedTxSet"], ["transaction", "transaction"], ["surveyRequest", "signedSurveyRequestMessage"], ["surveyResponse", "signedSurveyResponseMessage"], ["getScpQuorumset", "qSetHash"], ["scpQuorumset", "qSet"], ["scpMessage", "envelope"], ["getScpState", "getScpLedgerSeq"], ["sendMore", "sendMoreMessage"], ["sendMoreExtended", "sendMoreExtendedMessage"], ["floodAdvert", "floodAdvert"], ["floodDemand", "floodDemand"]],
5627
+ switches: [["errorMsg", "error"], ["hello", "hello"], ["auth", "auth"], ["dontHave", "dontHave"], ["getPeers", xdr["void"]()], ["peers", "peers"], ["getTxSet", "txSetHash"], ["txSet", "txSet"], ["generalizedTxSet", "generalizedTxSet"], ["transaction", "transaction"], ["surveyRequest", "signedSurveyRequestMessage"], ["surveyResponse", "signedSurveyResponseMessage"], ["timeSlicedSurveyRequest", "signedTimeSlicedSurveyRequestMessage"], ["timeSlicedSurveyResponse", "signedTimeSlicedSurveyResponseMessage"], ["timeSlicedSurveyStartCollecting", "signedTimeSlicedSurveyStartCollectingMessage"], ["timeSlicedSurveyStopCollecting", "signedTimeSlicedSurveyStopCollectingMessage"], ["getScpQuorumset", "qSetHash"], ["scpQuorumset", "qSet"], ["scpMessage", "envelope"], ["getScpState", "getScpLedgerSeq"], ["sendMore", "sendMoreMessage"], ["sendMoreExtended", "sendMoreExtendedMessage"], ["floodAdvert", "floodAdvert"], ["floodDemand", "floodDemand"]],
5281
5628
  arms: {
5282
5629
  error: xdr.lookup("Error"),
5283
5630
  hello: xdr.lookup("Hello"),
@@ -5290,6 +5637,10 @@ var types = xdr.config(function (xdr) {
5290
5637
  transaction: xdr.lookup("TransactionEnvelope"),
5291
5638
  signedSurveyRequestMessage: xdr.lookup("SignedSurveyRequestMessage"),
5292
5639
  signedSurveyResponseMessage: xdr.lookup("SignedSurveyResponseMessage"),
5640
+ signedTimeSlicedSurveyRequestMessage: xdr.lookup("SignedTimeSlicedSurveyRequestMessage"),
5641
+ signedTimeSlicedSurveyResponseMessage: xdr.lookup("SignedTimeSlicedSurveyResponseMessage"),
5642
+ signedTimeSlicedSurveyStartCollectingMessage: xdr.lookup("SignedTimeSlicedSurveyStartCollectingMessage"),
5643
+ signedTimeSlicedSurveyStopCollectingMessage: xdr.lookup("SignedTimeSlicedSurveyStopCollectingMessage"),
5293
5644
  qSetHash: xdr.lookup("Uint256"),
5294
5645
  qSet: xdr.lookup("ScpQuorumSet"),
5295
5646
  envelope: xdr.lookup("ScpEnvelope"),
@@ -5841,14 +6192,16 @@ var types = xdr.config(function (xdr) {
5841
6192
  // {
5842
6193
  // HOST_FUNCTION_TYPE_INVOKE_CONTRACT = 0,
5843
6194
  // HOST_FUNCTION_TYPE_CREATE_CONTRACT = 1,
5844
- // HOST_FUNCTION_TYPE_UPLOAD_CONTRACT_WASM = 2
6195
+ // HOST_FUNCTION_TYPE_UPLOAD_CONTRACT_WASM = 2,
6196
+ // HOST_FUNCTION_TYPE_CREATE_CONTRACT_V2 = 3
5845
6197
  // };
5846
6198
  //
5847
6199
  // ===========================================================================
5848
6200
  xdr["enum"]("HostFunctionType", {
5849
6201
  hostFunctionTypeInvokeContract: 0,
5850
6202
  hostFunctionTypeCreateContract: 1,
5851
- hostFunctionTypeUploadContractWasm: 2
6203
+ hostFunctionTypeUploadContractWasm: 2,
6204
+ hostFunctionTypeCreateContractV2: 3
5852
6205
  });
5853
6206
 
5854
6207
  // === xdr source ============================================================
@@ -5912,6 +6265,19 @@ var types = xdr.config(function (xdr) {
5912
6265
  // ===========================================================================
5913
6266
  xdr.struct("CreateContractArgs", [["contractIdPreimage", xdr.lookup("ContractIdPreimage")], ["executable", xdr.lookup("ContractExecutable")]]);
5914
6267
 
6268
+ // === xdr source ============================================================
6269
+ //
6270
+ // struct CreateContractArgsV2
6271
+ // {
6272
+ // ContractIDPreimage contractIDPreimage;
6273
+ // ContractExecutable executable;
6274
+ // // Arguments of the contract's constructor.
6275
+ // SCVal constructorArgs<>;
6276
+ // };
6277
+ //
6278
+ // ===========================================================================
6279
+ xdr.struct("CreateContractArgsV2", [["contractIdPreimage", xdr.lookup("ContractIdPreimage")], ["executable", xdr.lookup("ContractExecutable")], ["constructorArgs", xdr.varArray(xdr.lookup("ScVal"), 2147483647)]]);
6280
+
5915
6281
  // === xdr source ============================================================
5916
6282
  //
5917
6283
  // struct InvokeContractArgs {
@@ -5933,17 +6299,20 @@ var types = xdr.config(function (xdr) {
5933
6299
  // CreateContractArgs createContract;
5934
6300
  // case HOST_FUNCTION_TYPE_UPLOAD_CONTRACT_WASM:
5935
6301
  // opaque wasm<>;
6302
+ // case HOST_FUNCTION_TYPE_CREATE_CONTRACT_V2:
6303
+ // CreateContractArgsV2 createContractV2;
5936
6304
  // };
5937
6305
  //
5938
6306
  // ===========================================================================
5939
6307
  xdr.union("HostFunction", {
5940
6308
  switchOn: xdr.lookup("HostFunctionType"),
5941
6309
  switchName: "type",
5942
- switches: [["hostFunctionTypeInvokeContract", "invokeContract"], ["hostFunctionTypeCreateContract", "createContract"], ["hostFunctionTypeUploadContractWasm", "wasm"]],
6310
+ switches: [["hostFunctionTypeInvokeContract", "invokeContract"], ["hostFunctionTypeCreateContract", "createContract"], ["hostFunctionTypeUploadContractWasm", "wasm"], ["hostFunctionTypeCreateContractV2", "createContractV2"]],
5943
6311
  arms: {
5944
6312
  invokeContract: xdr.lookup("InvokeContractArgs"),
5945
6313
  createContract: xdr.lookup("CreateContractArgs"),
5946
- wasm: xdr.varOpaque()
6314
+ wasm: xdr.varOpaque(),
6315
+ createContractV2: xdr.lookup("CreateContractArgsV2")
5947
6316
  }
5948
6317
  });
5949
6318
 
@@ -5952,13 +6321,15 @@ var types = xdr.config(function (xdr) {
5952
6321
  // enum SorobanAuthorizedFunctionType
5953
6322
  // {
5954
6323
  // SOROBAN_AUTHORIZED_FUNCTION_TYPE_CONTRACT_FN = 0,
5955
- // SOROBAN_AUTHORIZED_FUNCTION_TYPE_CREATE_CONTRACT_HOST_FN = 1
6324
+ // SOROBAN_AUTHORIZED_FUNCTION_TYPE_CREATE_CONTRACT_HOST_FN = 1,
6325
+ // SOROBAN_AUTHORIZED_FUNCTION_TYPE_CREATE_CONTRACT_V2_HOST_FN = 2
5956
6326
  // };
5957
6327
  //
5958
6328
  // ===========================================================================
5959
6329
  xdr["enum"]("SorobanAuthorizedFunctionType", {
5960
6330
  sorobanAuthorizedFunctionTypeContractFn: 0,
5961
- sorobanAuthorizedFunctionTypeCreateContractHostFn: 1
6331
+ sorobanAuthorizedFunctionTypeCreateContractHostFn: 1,
6332
+ sorobanAuthorizedFunctionTypeCreateContractV2HostFn: 2
5962
6333
  });
5963
6334
 
5964
6335
  // === xdr source ============================================================
@@ -5967,18 +6338,29 @@ var types = xdr.config(function (xdr) {
5967
6338
  // {
5968
6339
  // case SOROBAN_AUTHORIZED_FUNCTION_TYPE_CONTRACT_FN:
5969
6340
  // InvokeContractArgs contractFn;
6341
+ // // This variant of auth payload for creating new contract instances
6342
+ // // doesn't allow specifying the constructor arguments, creating contracts
6343
+ // // with constructors that take arguments is only possible by authorizing
6344
+ // // `SOROBAN_AUTHORIZED_FUNCTION_TYPE_CREATE_CONTRACT_V2_HOST_FN`
6345
+ // // (protocol 22+).
5970
6346
  // case SOROBAN_AUTHORIZED_FUNCTION_TYPE_CREATE_CONTRACT_HOST_FN:
5971
6347
  // CreateContractArgs createContractHostFn;
6348
+ // // This variant of auth payload for creating new contract instances
6349
+ // // is only accepted in and after protocol 22. It allows authorizing the
6350
+ // // contract constructor arguments.
6351
+ // case SOROBAN_AUTHORIZED_FUNCTION_TYPE_CREATE_CONTRACT_V2_HOST_FN:
6352
+ // CreateContractArgsV2 createContractV2HostFn;
5972
6353
  // };
5973
6354
  //
5974
6355
  // ===========================================================================
5975
6356
  xdr.union("SorobanAuthorizedFunction", {
5976
6357
  switchOn: xdr.lookup("SorobanAuthorizedFunctionType"),
5977
6358
  switchName: "type",
5978
- switches: [["sorobanAuthorizedFunctionTypeContractFn", "contractFn"], ["sorobanAuthorizedFunctionTypeCreateContractHostFn", "createContractHostFn"]],
6359
+ switches: [["sorobanAuthorizedFunctionTypeContractFn", "contractFn"], ["sorobanAuthorizedFunctionTypeCreateContractHostFn", "createContractHostFn"], ["sorobanAuthorizedFunctionTypeCreateContractV2HostFn", "createContractV2HostFn"]],
5979
6360
  arms: {
5980
6361
  contractFn: xdr.lookup("InvokeContractArgs"),
5981
- createContractHostFn: xdr.lookup("CreateContractArgs")
6362
+ createContractHostFn: xdr.lookup("CreateContractArgs"),
6363
+ createContractV2HostFn: xdr.lookup("CreateContractArgsV2")
5982
6364
  }
5983
6365
  });
5984
6366
 
@@ -6509,6 +6891,110 @@ var types = xdr.config(function (xdr) {
6509
6891
  // ===========================================================================
6510
6892
  xdr.struct("LedgerFootprint", [["readOnly", xdr.varArray(xdr.lookup("LedgerKey"), 2147483647)], ["readWrite", xdr.varArray(xdr.lookup("LedgerKey"), 2147483647)]]);
6511
6893
 
6894
+ // === xdr source ============================================================
6895
+ //
6896
+ // enum ArchivalProofType
6897
+ // {
6898
+ // EXISTENCE = 0,
6899
+ // NONEXISTENCE = 1
6900
+ // };
6901
+ //
6902
+ // ===========================================================================
6903
+ xdr["enum"]("ArchivalProofType", {
6904
+ existence: 0,
6905
+ nonexistence: 1
6906
+ });
6907
+
6908
+ // === xdr source ============================================================
6909
+ //
6910
+ // struct ArchivalProofNode
6911
+ // {
6912
+ // uint32 index;
6913
+ // Hash hash;
6914
+ // };
6915
+ //
6916
+ // ===========================================================================
6917
+ xdr.struct("ArchivalProofNode", [["index", xdr.lookup("Uint32")], ["hash", xdr.lookup("Hash")]]);
6918
+
6919
+ // === xdr source ============================================================
6920
+ //
6921
+ // typedef ArchivalProofNode ProofLevel<>;
6922
+ //
6923
+ // ===========================================================================
6924
+ xdr.typedef("ProofLevel", xdr.varArray(xdr.lookup("ArchivalProofNode"), 2147483647));
6925
+
6926
+ // === xdr source ============================================================
6927
+ //
6928
+ // struct NonexistenceProofBody
6929
+ // {
6930
+ // ColdArchiveBucketEntry entriesToProve<>;
6931
+ //
6932
+ // // Vector of vectors, where proofLevels[level]
6933
+ // // contains all HashNodes that correspond with that level
6934
+ // ProofLevel proofLevels<>;
6935
+ // };
6936
+ //
6937
+ // ===========================================================================
6938
+ xdr.struct("NonexistenceProofBody", [["entriesToProve", xdr.varArray(xdr.lookup("ColdArchiveBucketEntry"), 2147483647)], ["proofLevels", xdr.varArray(xdr.lookup("ProofLevel"), 2147483647)]]);
6939
+
6940
+ // === xdr source ============================================================
6941
+ //
6942
+ // struct ExistenceProofBody
6943
+ // {
6944
+ // LedgerKey keysToProve<>;
6945
+ //
6946
+ // // Bounds for each key being proved, where bound[n]
6947
+ // // corresponds to keysToProve[n]
6948
+ // ColdArchiveBucketEntry lowBoundEntries<>;
6949
+ // ColdArchiveBucketEntry highBoundEntries<>;
6950
+ //
6951
+ // // Vector of vectors, where proofLevels[level]
6952
+ // // contains all HashNodes that correspond with that level
6953
+ // ProofLevel proofLevels<>;
6954
+ // };
6955
+ //
6956
+ // ===========================================================================
6957
+ xdr.struct("ExistenceProofBody", [["keysToProve", xdr.varArray(xdr.lookup("LedgerKey"), 2147483647)], ["lowBoundEntries", xdr.varArray(xdr.lookup("ColdArchiveBucketEntry"), 2147483647)], ["highBoundEntries", xdr.varArray(xdr.lookup("ColdArchiveBucketEntry"), 2147483647)], ["proofLevels", xdr.varArray(xdr.lookup("ProofLevel"), 2147483647)]]);
6958
+
6959
+ // === xdr source ============================================================
6960
+ //
6961
+ // union switch (ArchivalProofType t)
6962
+ // {
6963
+ // case EXISTENCE:
6964
+ // NonexistenceProofBody nonexistenceProof;
6965
+ // case NONEXISTENCE:
6966
+ // ExistenceProofBody existenceProof;
6967
+ // }
6968
+ //
6969
+ // ===========================================================================
6970
+ xdr.union("ArchivalProofBody", {
6971
+ switchOn: xdr.lookup("ArchivalProofType"),
6972
+ switchName: "t",
6973
+ switches: [["existence", "nonexistenceProof"], ["nonexistence", "existenceProof"]],
6974
+ arms: {
6975
+ nonexistenceProof: xdr.lookup("NonexistenceProofBody"),
6976
+ existenceProof: xdr.lookup("ExistenceProofBody")
6977
+ }
6978
+ });
6979
+
6980
+ // === xdr source ============================================================
6981
+ //
6982
+ // struct ArchivalProof
6983
+ // {
6984
+ // uint32 epoch; // AST Subtree for this proof
6985
+ //
6986
+ // union switch (ArchivalProofType t)
6987
+ // {
6988
+ // case EXISTENCE:
6989
+ // NonexistenceProofBody nonexistenceProof;
6990
+ // case NONEXISTENCE:
6991
+ // ExistenceProofBody existenceProof;
6992
+ // } body;
6993
+ // };
6994
+ //
6995
+ // ===========================================================================
6996
+ xdr.struct("ArchivalProof", [["epoch", xdr.lookup("Uint32")], ["body", xdr.lookup("ArchivalProofBody")]]);
6997
+
6512
6998
  // === xdr source ============================================================
6513
6999
  //
6514
7000
  // struct SorobanResources
@@ -9082,6 +9568,56 @@ var types = xdr.config(function (xdr) {
9082
9568
  // ===========================================================================
9083
9569
  xdr.struct("HmacSha256Mac", [["mac", xdr.opaque(32)]]);
9084
9570
 
9571
+ // === xdr source ============================================================
9572
+ //
9573
+ // struct ShortHashSeed
9574
+ // {
9575
+ // opaque seed[16];
9576
+ // };
9577
+ //
9578
+ // ===========================================================================
9579
+ xdr.struct("ShortHashSeed", [["seed", xdr.opaque(16)]]);
9580
+
9581
+ // === xdr source ============================================================
9582
+ //
9583
+ // enum BinaryFuseFilterType
9584
+ // {
9585
+ // BINARY_FUSE_FILTER_8_BIT = 0,
9586
+ // BINARY_FUSE_FILTER_16_BIT = 1,
9587
+ // BINARY_FUSE_FILTER_32_BIT = 2
9588
+ // };
9589
+ //
9590
+ // ===========================================================================
9591
+ xdr["enum"]("BinaryFuseFilterType", {
9592
+ binaryFuseFilter8Bit: 0,
9593
+ binaryFuseFilter16Bit: 1,
9594
+ binaryFuseFilter32Bit: 2
9595
+ });
9596
+
9597
+ // === xdr source ============================================================
9598
+ //
9599
+ // struct SerializedBinaryFuseFilter
9600
+ // {
9601
+ // BinaryFuseFilterType type;
9602
+ //
9603
+ // // Seed used to hash input to filter
9604
+ // ShortHashSeed inputHashSeed;
9605
+ //
9606
+ // // Seed used for internal filter hash operations
9607
+ // ShortHashSeed filterSeed;
9608
+ // uint32 segmentLength;
9609
+ // uint32 segementLengthMask;
9610
+ // uint32 segmentCount;
9611
+ // uint32 segmentCountLength;
9612
+ // uint32 fingerprintLength; // Length in terms of element count, not bytes
9613
+ //
9614
+ // // Array of uint8_t, uint16_t, or uint32_t depending on filter type
9615
+ // opaque fingerprints<>;
9616
+ // };
9617
+ //
9618
+ // ===========================================================================
9619
+ xdr.struct("SerializedBinaryFuseFilter", [["type", xdr.lookup("BinaryFuseFilterType")], ["inputHashSeed", xdr.lookup("ShortHashSeed")], ["filterSeed", xdr.lookup("ShortHashSeed")], ["segmentLength", xdr.lookup("Uint32")], ["segementLengthMask", xdr.lookup("Uint32")], ["segmentCount", xdr.lookup("Uint32")], ["segmentCountLength", xdr.lookup("Uint32")], ["fingerprintLength", xdr.lookup("Uint32")], ["fingerprints", xdr.varOpaque()]]);
9620
+
9085
9621
  // === xdr source ============================================================
9086
9622
  //
9087
9623
  // enum SCValType
@@ -9544,12 +10080,25 @@ var types = xdr.config(function (xdr) {
9544
10080
  scEnvMetaKindInterfaceVersion: 0
9545
10081
  });
9546
10082
 
10083
+ // === xdr source ============================================================
10084
+ //
10085
+ // struct {
10086
+ // uint32 protocol;
10087
+ // uint32 preRelease;
10088
+ // }
10089
+ //
10090
+ // ===========================================================================
10091
+ xdr.struct("ScEnvMetaEntryInterfaceVersion", [["protocol", xdr.lookup("Uint32")], ["preRelease", xdr.lookup("Uint32")]]);
10092
+
9547
10093
  // === xdr source ============================================================
9548
10094
  //
9549
10095
  // union SCEnvMetaEntry switch (SCEnvMetaKind kind)
9550
10096
  // {
9551
10097
  // case SC_ENV_META_KIND_INTERFACE_VERSION:
9552
- // uint64 interfaceVersion;
10098
+ // struct {
10099
+ // uint32 protocol;
10100
+ // uint32 preRelease;
10101
+ // } interfaceVersion;
9553
10102
  // };
9554
10103
  //
9555
10104
  // ===========================================================================
@@ -9558,7 +10107,7 @@ var types = xdr.config(function (xdr) {
9558
10107
  switchName: "kind",
9559
10108
  switches: [["scEnvMetaKindInterfaceVersion", "interfaceVersion"]],
9560
10109
  arms: {
9561
- interfaceVersion: xdr.lookup("Uint64")
10110
+ interfaceVersion: xdr.lookup("ScEnvMetaEntryInterfaceVersion")
9562
10111
  }
9563
10112
  });
9564
10113
 
@@ -10235,7 +10784,58 @@ var types = xdr.config(function (xdr) {
10235
10784
  // // point on a 256-bit elliptic curve
10236
10785
  // Sec1DecodePointUncompressed = 43,
10237
10786
  // // Cost of verifying an ECDSA Secp256r1 signature
10238
- // VerifyEcdsaSecp256r1Sig = 44
10787
+ // VerifyEcdsaSecp256r1Sig = 44,
10788
+ //
10789
+ // // Cost of encoding a BLS12-381 Fp (base field element)
10790
+ // Bls12381EncodeFp = 45,
10791
+ // // Cost of decoding a BLS12-381 Fp (base field element)
10792
+ // Bls12381DecodeFp = 46,
10793
+ // // Cost of checking a G1 point lies on the curve
10794
+ // Bls12381G1CheckPointOnCurve = 47,
10795
+ // // Cost of checking a G1 point belongs to the correct subgroup
10796
+ // Bls12381G1CheckPointInSubgroup = 48,
10797
+ // // Cost of checking a G2 point lies on the curve
10798
+ // Bls12381G2CheckPointOnCurve = 49,
10799
+ // // Cost of checking a G2 point belongs to the correct subgroup
10800
+ // Bls12381G2CheckPointInSubgroup = 50,
10801
+ // // Cost of converting a BLS12-381 G1 point from projective to affine coordinates
10802
+ // Bls12381G1ProjectiveToAffine = 51,
10803
+ // // Cost of converting a BLS12-381 G2 point from projective to affine coordinates
10804
+ // Bls12381G2ProjectiveToAffine = 52,
10805
+ // // Cost of performing BLS12-381 G1 point addition
10806
+ // Bls12381G1Add = 53,
10807
+ // // Cost of performing BLS12-381 G1 scalar multiplication
10808
+ // Bls12381G1Mul = 54,
10809
+ // // Cost of performing BLS12-381 G1 multi-scalar multiplication (MSM)
10810
+ // Bls12381G1Msm = 55,
10811
+ // // Cost of mapping a BLS12-381 Fp field element to a G1 point
10812
+ // Bls12381MapFpToG1 = 56,
10813
+ // // Cost of hashing to a BLS12-381 G1 point
10814
+ // Bls12381HashToG1 = 57,
10815
+ // // Cost of performing BLS12-381 G2 point addition
10816
+ // Bls12381G2Add = 58,
10817
+ // // Cost of performing BLS12-381 G2 scalar multiplication
10818
+ // Bls12381G2Mul = 59,
10819
+ // // Cost of performing BLS12-381 G2 multi-scalar multiplication (MSM)
10820
+ // Bls12381G2Msm = 60,
10821
+ // // Cost of mapping a BLS12-381 Fp2 field element to a G2 point
10822
+ // Bls12381MapFp2ToG2 = 61,
10823
+ // // Cost of hashing to a BLS12-381 G2 point
10824
+ // Bls12381HashToG2 = 62,
10825
+ // // Cost of performing BLS12-381 pairing operation
10826
+ // Bls12381Pairing = 63,
10827
+ // // Cost of converting a BLS12-381 scalar element from U256
10828
+ // Bls12381FrFromU256 = 64,
10829
+ // // Cost of converting a BLS12-381 scalar element to U256
10830
+ // Bls12381FrToU256 = 65,
10831
+ // // Cost of performing BLS12-381 scalar element addition/subtraction
10832
+ // Bls12381FrAddSub = 66,
10833
+ // // Cost of performing BLS12-381 scalar element multiplication
10834
+ // Bls12381FrMul = 67,
10835
+ // // Cost of performing BLS12-381 scalar element exponentiation
10836
+ // Bls12381FrPow = 68,
10837
+ // // Cost of performing BLS12-381 scalar element inversion
10838
+ // Bls12381FrInv = 69
10239
10839
  // };
10240
10840
  //
10241
10841
  // ===========================================================================
@@ -10284,7 +10884,32 @@ var types = xdr.config(function (xdr) {
10284
10884
  instantiateWasmExports: 41,
10285
10885
  instantiateWasmDataSegmentBytes: 42,
10286
10886
  sec1DecodePointUncompressed: 43,
10287
- verifyEcdsaSecp256r1Sig: 44
10887
+ verifyEcdsaSecp256r1Sig: 44,
10888
+ bls12381EncodeFp: 45,
10889
+ bls12381DecodeFp: 46,
10890
+ bls12381G1CheckPointOnCurve: 47,
10891
+ bls12381G1CheckPointInSubgroup: 48,
10892
+ bls12381G2CheckPointOnCurve: 49,
10893
+ bls12381G2CheckPointInSubgroup: 50,
10894
+ bls12381G1ProjectiveToAffine: 51,
10895
+ bls12381G2ProjectiveToAffine: 52,
10896
+ bls12381G1Add: 53,
10897
+ bls12381G1Mul: 54,
10898
+ bls12381G1Msm: 55,
10899
+ bls12381MapFpToG1: 56,
10900
+ bls12381HashToG1: 57,
10901
+ bls12381G2Add: 58,
10902
+ bls12381G2Mul: 59,
10903
+ bls12381G2Msm: 60,
10904
+ bls12381MapFp2ToG2: 61,
10905
+ bls12381HashToG2: 62,
10906
+ bls12381Pairing: 63,
10907
+ bls12381FrFromU256: 64,
10908
+ bls12381FrToU256: 65,
10909
+ bls12381FrAddSub: 66,
10910
+ bls12381FrMul: 67,
10911
+ bls12381FrPow: 68,
10912
+ bls12381FrInv: 69
10288
10913
  });
10289
10914
 
10290
10915
  // === xdr source ============================================================
@@ -10451,10 +11076,10 @@ var types = xdr.config(function (xdr) {
10451
11076
  });
10452
11077
  });
10453
11078
  /* harmony default export */ const curr_generated = (types);
10454
- ;// CONCATENATED MODULE: ./src/xdr.js
11079
+ ;// ./src/xdr.js
10455
11080
 
10456
11081
  /* harmony default export */ const src_xdr = (curr_generated);
10457
- ;// CONCATENATED MODULE: ./src/jsxdr.js
11082
+ ;// ./src/jsxdr.js
10458
11083
 
10459
11084
  var cereal = {
10460
11085
  XdrWriter: xdr.XdrWriter,
@@ -10463,14 +11088,14 @@ var cereal = {
10463
11088
  /* harmony default export */ const jsxdr = (cereal);
10464
11089
  // EXTERNAL MODULE: ./node_modules/sha.js/index.js
10465
11090
  var sha_js = __webpack_require__(2802);
10466
- ;// CONCATENATED MODULE: ./src/hashing.js
11091
+ ;// ./src/hashing.js
10467
11092
 
10468
11093
  function hashing_hash(data) {
10469
11094
  var hasher = new sha_js.sha256();
10470
11095
  hasher.update(data, 'utf8');
10471
11096
  return hasher.digest();
10472
11097
  }
10473
- ;// CONCATENATED MODULE: ./src/signing.js
11098
+ ;// ./src/signing.js
10474
11099
  /* provided dependency */ var Buffer = __webpack_require__(3626)["A"];
10475
11100
  // This module provides the signing functionality used by the stellar network
10476
11101
  // The code below may look a little strange... this is because we try to provide
@@ -10559,7 +11184,7 @@ function checkFastSigningBrowser() {
10559
11184
  };
10560
11185
  return false;
10561
11186
  }
10562
- ;// CONCATENATED MODULE: ./src/util/util.js
11187
+ ;// ./src/util/util.js
10563
11188
  var trimEnd = function trimEnd(input, _char) {
10564
11189
  var isNumber = typeof input === 'number';
10565
11190
  var str = String(input);
@@ -10573,7 +11198,7 @@ var nacl_fast = __webpack_require__(8947);
10573
11198
  var nacl_fast_default = /*#__PURE__*/__webpack_require__.n(nacl_fast);
10574
11199
  // EXTERNAL MODULE: ./node_modules/base32.js/base32.js
10575
11200
  var base32 = __webpack_require__(5360);
10576
- ;// CONCATENATED MODULE: ./src/util/checksum.js
11201
+ ;// ./src/util/checksum.js
10577
11202
  function verifyChecksum(expected, actual) {
10578
11203
  if (expected.length !== actual.length) {
10579
11204
  return false;
@@ -10588,7 +11213,7 @@ function verifyChecksum(expected, actual) {
10588
11213
  }
10589
11214
  return true;
10590
11215
  }
10591
- ;// CONCATENATED MODULE: ./src/strkey.js
11216
+ ;// ./src/strkey.js
10592
11217
  /* provided dependency */ var strkey_Buffer = __webpack_require__(3626)["A"];
10593
11218
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
10594
11219
  function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
@@ -10983,7 +11608,7 @@ function calculateChecksum(payload) {
10983
11608
  checksum[1] = crc16 >> 8 & 0xff;
10984
11609
  return checksum;
10985
11610
  }
10986
- ;// CONCATENATED MODULE: ./src/keypair.js
11611
+ ;// ./src/keypair.js
10987
11612
  /* provided dependency */ var keypair_Buffer = __webpack_require__(3626)["A"];
10988
11613
  function keypair_typeof(o) { "@babel/helpers - typeof"; return keypair_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, keypair_typeof(o); }
10989
11614
  function keypair_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
@@ -11288,7 +11913,7 @@ var Keypair = /*#__PURE__*/function () {
11288
11913
  }
11289
11914
  }]);
11290
11915
  }();
11291
- ;// CONCATENATED MODULE: ./src/asset.js
11916
+ ;// ./src/asset.js
11292
11917
  /* provided dependency */ var asset_Buffer = __webpack_require__(3626)["A"];
11293
11918
  function asset_typeof(o) { "@babel/helpers - typeof"; return asset_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, asset_typeof(o); }
11294
11919
  function asset_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
@@ -11607,7 +12232,7 @@ var Asset = /*#__PURE__*/function () {
11607
12232
  function asciiCompare(a, b) {
11608
12233
  return asset_Buffer.compare(asset_Buffer.from(a, 'ascii'), asset_Buffer.from(b, 'ascii'));
11609
12234
  }
11610
- ;// CONCATENATED MODULE: ./src/get_liquidity_pool_id.js
12235
+ ;// ./src/get_liquidity_pool_id.js
11611
12236
  /* provided dependency */ var get_liquidity_pool_id_Buffer = __webpack_require__(3626)["A"];
11612
12237
 
11613
12238
 
@@ -11659,7 +12284,7 @@ function getLiquidityPoolId(liquidityPoolType) {
11659
12284
  var payload = get_liquidity_pool_id_Buffer.concat([lpTypeData, lpParamsData]);
11660
12285
  return hashing_hash(payload);
11661
12286
  }
11662
- ;// CONCATENATED MODULE: ./src/transaction_base.js
12287
+ ;// ./src/transaction_base.js
11663
12288
  /* provided dependency */ var transaction_base_Buffer = __webpack_require__(3626)["A"];
11664
12289
  function transaction_base_typeof(o) { "@babel/helpers - typeof"; return transaction_base_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, transaction_base_typeof(o); }
11665
12290
  function transaction_base_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
@@ -11902,7 +12527,7 @@ var TransactionBase = /*#__PURE__*/function () {
11902
12527
  }
11903
12528
  }]);
11904
12529
  }();
11905
- ;// CONCATENATED MODULE: ./node_modules/bignumber.js/bignumber.mjs
12530
+ ;// ./node_modules/bignumber.js/bignumber.mjs
11906
12531
  /*
11907
12532
  * bignumber.js v9.1.2
11908
12533
  * A JavaScript library for arbitrary-precision arithmetic.
@@ -14811,13 +15436,13 @@ var BigNumber = clone();
14811
15436
 
14812
15437
  /* harmony default export */ const bignumber = (BigNumber);
14813
15438
 
14814
- ;// CONCATENATED MODULE: ./src/util/bignumber.js
15439
+ ;// ./src/util/bignumber.js
14815
15440
 
14816
15441
  var bignumber_BigNumber = bignumber.clone();
14817
15442
  bignumber_BigNumber.DEBUG = true; // gives us exceptions on bad constructor values
14818
15443
 
14819
15444
  /* harmony default export */ const util_bignumber = (bignumber_BigNumber);
14820
- ;// CONCATENATED MODULE: ./src/util/continued_fraction.js
15445
+ ;// ./src/util/continued_fraction.js
14821
15446
  function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
14822
15447
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
14823
15448
  function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
@@ -14870,7 +15495,7 @@ function best_r(rawNumber) {
14870
15495
  }
14871
15496
  return [n.toNumber(), d.toNumber()];
14872
15497
  }
14873
- ;// CONCATENATED MODULE: ./src/liquidity_pool_asset.js
15498
+ ;// ./src/liquidity_pool_asset.js
14874
15499
  function liquidity_pool_asset_typeof(o) { "@babel/helpers - typeof"; return liquidity_pool_asset_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, liquidity_pool_asset_typeof(o); }
14875
15500
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
14876
15501
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
@@ -14990,7 +15615,7 @@ var LiquidityPoolAsset = /*#__PURE__*/function () {
14990
15615
  }
14991
15616
  }]);
14992
15617
  }();
14993
- ;// CONCATENATED MODULE: ./src/claimant.js
15618
+ ;// ./src/claimant.js
14994
15619
  function claimant_typeof(o) { "@babel/helpers - typeof"; return claimant_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, claimant_typeof(o); }
14995
15620
  function claimant_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
14996
15621
  function claimant_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, claimant_toPropertyKey(o.key), o); } }
@@ -15177,7 +15802,7 @@ var Claimant = /*#__PURE__*/function () {
15177
15802
  }
15178
15803
  }]);
15179
15804
  }();
15180
- ;// CONCATENATED MODULE: ./src/liquidity_pool_id.js
15805
+ ;// ./src/liquidity_pool_id.js
15181
15806
  function liquidity_pool_id_typeof(o) { "@babel/helpers - typeof"; return liquidity_pool_id_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, liquidity_pool_id_typeof(o); }
15182
15807
  function liquidity_pool_id_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
15183
15808
  function liquidity_pool_id_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, liquidity_pool_id_toPropertyKey(o.key), o); } }
@@ -15272,7 +15897,7 @@ var LiquidityPoolId = /*#__PURE__*/function () {
15272
15897
  }
15273
15898
  }]);
15274
15899
  }();
15275
- ;// CONCATENATED MODULE: ./src/operations/manage_sell_offer.js
15900
+ ;// ./src/operations/manage_sell_offer.js
15276
15901
 
15277
15902
 
15278
15903
  /**
@@ -15316,7 +15941,7 @@ function manageSellOffer(opts) {
15316
15941
  this.setSourceAccount(opAttributes, opts);
15317
15942
  return new src_xdr.Operation(opAttributes);
15318
15943
  }
15319
- ;// CONCATENATED MODULE: ./src/operations/create_passive_sell_offer.js
15944
+ ;// ./src/operations/create_passive_sell_offer.js
15320
15945
 
15321
15946
 
15322
15947
  /**
@@ -15355,7 +15980,7 @@ function createPassiveSellOffer(opts) {
15355
15980
  this.setSourceAccount(opAttributes, opts);
15356
15981
  return new src_xdr.Operation(opAttributes);
15357
15982
  }
15358
- ;// CONCATENATED MODULE: ./src/util/decode_encode_muxed_account.js
15983
+ ;// ./src/util/decode_encode_muxed_account.js
15359
15984
  /* provided dependency */ var decode_encode_muxed_account_Buffer = __webpack_require__(3626)["A"];
15360
15985
 
15361
15986
 
@@ -15464,7 +16089,7 @@ function _encodeMuxedAccountFullyToAddress(muxedAccount) {
15464
16089
  var muxed = muxedAccount.med25519();
15465
16090
  return StrKey.encodeMed25519PublicKey(decode_encode_muxed_account_Buffer.concat([muxed.ed25519(), muxed.id().toXDR('raw')]));
15466
16091
  }
15467
- ;// CONCATENATED MODULE: ./src/operations/account_merge.js
16092
+ ;// ./src/operations/account_merge.js
15468
16093
 
15469
16094
 
15470
16095
 
@@ -15491,7 +16116,7 @@ function accountMerge(opts) {
15491
16116
  this.setSourceAccount(opAttributes, opts);
15492
16117
  return new src_xdr.Operation(opAttributes);
15493
16118
  }
15494
- ;// CONCATENATED MODULE: ./src/operations/allow_trust.js
16119
+ ;// ./src/operations/allow_trust.js
15495
16120
 
15496
16121
 
15497
16122
 
@@ -15543,7 +16168,7 @@ function allowTrust(opts) {
15543
16168
  this.setSourceAccount(opAttributes, opts);
15544
16169
  return new src_xdr.Operation(opAttributes);
15545
16170
  }
15546
- ;// CONCATENATED MODULE: ./src/operations/bump_sequence.js
16171
+ ;// ./src/operations/bump_sequence.js
15547
16172
 
15548
16173
 
15549
16174
 
@@ -15575,7 +16200,7 @@ function bumpSequence(opts) {
15575
16200
  this.setSourceAccount(opAttributes, opts);
15576
16201
  return new src_xdr.Operation(opAttributes);
15577
16202
  }
15578
- ;// CONCATENATED MODULE: ./src/operations/change_trust.js
16203
+ ;// ./src/operations/change_trust.js
15579
16204
 
15580
16205
 
15581
16206
 
@@ -15621,7 +16246,7 @@ function changeTrust(opts) {
15621
16246
  this.setSourceAccount(opAttributes, opts);
15622
16247
  return new src_xdr.Operation(opAttributes);
15623
16248
  }
15624
- ;// CONCATENATED MODULE: ./src/operations/create_account.js
16249
+ ;// ./src/operations/create_account.js
15625
16250
 
15626
16251
 
15627
16252
 
@@ -15653,7 +16278,7 @@ function createAccount(opts) {
15653
16278
  this.setSourceAccount(opAttributes, opts);
15654
16279
  return new src_xdr.Operation(opAttributes);
15655
16280
  }
15656
- ;// CONCATENATED MODULE: ./src/operations/create_claimable_balance.js
16281
+ ;// ./src/operations/create_claimable_balance.js
15657
16282
 
15658
16283
 
15659
16284
 
@@ -15713,7 +16338,7 @@ function createClaimableBalance(opts) {
15713
16338
  this.setSourceAccount(opAttributes, opts);
15714
16339
  return new src_xdr.Operation(opAttributes);
15715
16340
  }
15716
- ;// CONCATENATED MODULE: ./src/operations/claim_claimable_balance.js
16341
+ ;// ./src/operations/claim_claimable_balance.js
15717
16342
 
15718
16343
 
15719
16344
  /**
@@ -15747,7 +16372,7 @@ function validateClaimableBalanceId(balanceId) {
15747
16372
  throw new Error('must provide a valid claimable balance id');
15748
16373
  }
15749
16374
  }
15750
- ;// CONCATENATED MODULE: ./src/operations/clawback_claimable_balance.js
16375
+ ;// ./src/operations/clawback_claimable_balance.js
15751
16376
 
15752
16377
 
15753
16378
 
@@ -15781,7 +16406,7 @@ function clawbackClaimableBalance() {
15781
16406
  this.setSourceAccount(opAttributes, opts);
15782
16407
  return new src_xdr.Operation(opAttributes);
15783
16408
  }
15784
- ;// CONCATENATED MODULE: ./src/operations/inflation.js
16409
+ ;// ./src/operations/inflation.js
15785
16410
 
15786
16411
 
15787
16412
  /**
@@ -15799,7 +16424,7 @@ function inflation() {
15799
16424
  this.setSourceAccount(opAttributes, opts);
15800
16425
  return new src_xdr.Operation(opAttributes);
15801
16426
  }
15802
- ;// CONCATENATED MODULE: ./src/operations/manage_data.js
16427
+ ;// ./src/operations/manage_data.js
15803
16428
  /* provided dependency */ var manage_data_Buffer = __webpack_require__(3626)["A"];
15804
16429
 
15805
16430
 
@@ -15836,7 +16461,7 @@ function manageData(opts) {
15836
16461
  this.setSourceAccount(opAttributes, opts);
15837
16462
  return new src_xdr.Operation(opAttributes);
15838
16463
  }
15839
- ;// CONCATENATED MODULE: ./src/operations/manage_buy_offer.js
16464
+ ;// ./src/operations/manage_buy_offer.js
15840
16465
 
15841
16466
 
15842
16467
  /**
@@ -15880,7 +16505,7 @@ function manageBuyOffer(opts) {
15880
16505
  this.setSourceAccount(opAttributes, opts);
15881
16506
  return new src_xdr.Operation(opAttributes);
15882
16507
  }
15883
- ;// CONCATENATED MODULE: ./src/operations/path_payment_strict_receive.js
16508
+ ;// ./src/operations/path_payment_strict_receive.js
15884
16509
 
15885
16510
 
15886
16511
 
@@ -15943,7 +16568,7 @@ function pathPaymentStrictReceive(opts) {
15943
16568
  this.setSourceAccount(opAttributes, opts);
15944
16569
  return new src_xdr.Operation(opAttributes);
15945
16570
  }
15946
- ;// CONCATENATED MODULE: ./src/operations/path_payment_strict_send.js
16571
+ ;// ./src/operations/path_payment_strict_send.js
15947
16572
 
15948
16573
 
15949
16574
 
@@ -16006,7 +16631,7 @@ function pathPaymentStrictSend(opts) {
16006
16631
  this.setSourceAccount(opAttributes, opts);
16007
16632
  return new src_xdr.Operation(opAttributes);
16008
16633
  }
16009
- ;// CONCATENATED MODULE: ./src/operations/payment.js
16634
+ ;// ./src/operations/payment.js
16010
16635
 
16011
16636
 
16012
16637
 
@@ -16048,7 +16673,7 @@ function payment(opts) {
16048
16673
  this.setSourceAccount(opAttributes, opts);
16049
16674
  return new src_xdr.Operation(opAttributes);
16050
16675
  }
16051
- ;// CONCATENATED MODULE: ./src/operations/set_options.js
16676
+ ;// ./src/operations/set_options.js
16052
16677
  /* provided dependency */ var set_options_Buffer = __webpack_require__(3626)["A"];
16053
16678
  /* eslint-disable no-param-reassign */
16054
16679
 
@@ -16178,7 +16803,7 @@ function setOptions(opts) {
16178
16803
  this.setSourceAccount(opAttributes, opts);
16179
16804
  return new src_xdr.Operation(opAttributes);
16180
16805
  }
16181
- ;// CONCATENATED MODULE: ./src/operations/begin_sponsoring_future_reserves.js
16806
+ ;// ./src/operations/begin_sponsoring_future_reserves.js
16182
16807
 
16183
16808
 
16184
16809
 
@@ -16211,7 +16836,7 @@ function beginSponsoringFutureReserves() {
16211
16836
  this.setSourceAccount(opAttributes, opts);
16212
16837
  return new src_xdr.Operation(opAttributes);
16213
16838
  }
16214
- ;// CONCATENATED MODULE: ./src/operations/end_sponsoring_future_reserves.js
16839
+ ;// ./src/operations/end_sponsoring_future_reserves.js
16215
16840
 
16216
16841
 
16217
16842
  /**
@@ -16233,7 +16858,7 @@ function endSponsoringFutureReserves() {
16233
16858
  this.setSourceAccount(opAttributes, opts);
16234
16859
  return new src_xdr.Operation(opAttributes);
16235
16860
  }
16236
- ;// CONCATENATED MODULE: ./src/operations/revoke_sponsorship.js
16861
+ ;// ./src/operations/revoke_sponsorship.js
16237
16862
  /* provided dependency */ var revoke_sponsorship_Buffer = __webpack_require__(3626)["A"];
16238
16863
 
16239
16864
 
@@ -16524,7 +17149,7 @@ function revokeSignerSponsorship() {
16524
17149
  this.setSourceAccount(opAttributes, opts);
16525
17150
  return new src_xdr.Operation(opAttributes);
16526
17151
  }
16527
- ;// CONCATENATED MODULE: ./src/operations/clawback.js
17152
+ ;// ./src/operations/clawback.js
16528
17153
 
16529
17154
 
16530
17155
 
@@ -16565,7 +17190,7 @@ function clawback(opts) {
16565
17190
  this.setSourceAccount(opAttributes, opts);
16566
17191
  return new src_xdr.Operation(opAttributes);
16567
17192
  }
16568
- ;// CONCATENATED MODULE: ./src/operations/set_trustline_flags.js
17193
+ ;// ./src/operations/set_trustline_flags.js
16569
17194
  function set_trustline_flags_typeof(o) { "@babel/helpers - typeof"; return set_trustline_flags_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, set_trustline_flags_typeof(o); }
16570
17195
 
16571
17196
 
@@ -16644,7 +17269,7 @@ function setTrustLineFlags() {
16644
17269
  this.setSourceAccount(opAttributes, opts);
16645
17270
  return new src_xdr.Operation(opAttributes);
16646
17271
  }
16647
- ;// CONCATENATED MODULE: ./src/operations/liquidity_pool_deposit.js
17272
+ ;// ./src/operations/liquidity_pool_deposit.js
16648
17273
 
16649
17274
 
16650
17275
  /**
@@ -16703,7 +17328,7 @@ function liquidityPoolDeposit() {
16703
17328
  this.setSourceAccount(opAttributes, opts);
16704
17329
  return new src_xdr.Operation(opAttributes);
16705
17330
  }
16706
- ;// CONCATENATED MODULE: ./src/operations/liquidity_pool_withdraw.js
17331
+ ;// ./src/operations/liquidity_pool_withdraw.js
16707
17332
 
16708
17333
 
16709
17334
  /**
@@ -16748,7 +17373,7 @@ function liquidityPoolWithdraw() {
16748
17373
  this.setSourceAccount(opAttributes, opts);
16749
17374
  return new src_xdr.Operation(opAttributes);
16750
17375
  }
16751
- ;// CONCATENATED MODULE: ./src/address.js
17376
+ ;// ./src/address.js
16752
17377
  function address_typeof(o) { "@babel/helpers - typeof"; return address_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, address_typeof(o); }
16753
17378
  function address_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
16754
17379
  function address_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, address_toPropertyKey(o.key), o); } }
@@ -16911,7 +17536,7 @@ var Address = /*#__PURE__*/function () {
16911
17536
  }
16912
17537
  }]);
16913
17538
  }();
16914
- ;// CONCATENATED MODULE: ./src/operations/invoke_host_function.js
17539
+ ;// ./src/operations/invoke_host_function.js
16915
17540
  /* provided dependency */ var invoke_host_function_Buffer = __webpack_require__(3626)["A"];
16916
17541
  function invoke_host_function_slicedToArray(r, e) { return invoke_host_function_arrayWithHoles(r) || invoke_host_function_iterableToArrayLimit(r, e) || invoke_host_function_unsupportedIterableToArray(r, e) || invoke_host_function_nonIterableRest(); }
16917
17542
  function invoke_host_function_nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
@@ -17002,7 +17627,8 @@ function invokeContractFunction(opts) {
17002
17627
  }
17003
17628
 
17004
17629
  /**
17005
- * Returns an operation that creates a custom WASM contract.
17630
+ * Returns an operation that creates a custom WASM contract and atomically
17631
+ * invokes its constructor.
17006
17632
  *
17007
17633
  * @function
17008
17634
  * @alias Operation.createCustomContract
@@ -17012,6 +17638,9 @@ function invokeContractFunction(opts) {
17012
17638
  * @param {Uint8Array|Buffer} opts.wasmHash - the SHA-256 hash of the contract
17013
17639
  * WASM you're uploading (see {@link hash} and
17014
17640
  * {@link Operation.uploadContractWasm})
17641
+ * @param {xdr.ScVal[]} [opts.constructorArgs] - the optional parameters to pass
17642
+ * to the constructor of this contract (see {@link nativeToScVal} for ways to
17643
+ * easily create these parameters from native JS values)
17015
17644
  * @param {Uint8Array|Buffer} [opts.salt] - an optional, 32-byte salt to
17016
17645
  * distinguish deployment instances of the same wasm from the same user (if
17017
17646
  * omitted, one will be generated for you)
@@ -17026,6 +17655,7 @@ function invokeContractFunction(opts) {
17026
17655
  * https://soroban.stellar.org/docs/fundamentals-and-concepts/invoking-contracts-with-transactions#function
17027
17656
  */
17028
17657
  function createCustomContract(opts) {
17658
+ var _opts$constructorArgs;
17029
17659
  var salt = invoke_host_function_Buffer.from(opts.salt || getSalty());
17030
17660
  if (!opts.wasmHash || opts.wasmHash.length !== 32) {
17031
17661
  throw new TypeError("expected hash(contract WASM) in 'opts.wasmHash', got ".concat(opts.wasmHash));
@@ -17036,12 +17666,13 @@ function createCustomContract(opts) {
17036
17666
  return this.invokeHostFunction({
17037
17667
  source: opts.source,
17038
17668
  auth: opts.auth,
17039
- func: src_xdr.HostFunction.hostFunctionTypeCreateContract(new src_xdr.CreateContractArgs({
17669
+ func: src_xdr.HostFunction.hostFunctionTypeCreateContractV2(new src_xdr.CreateContractArgsV2({
17040
17670
  executable: src_xdr.ContractExecutable.contractExecutableWasm(invoke_host_function_Buffer.from(opts.wasmHash)),
17041
17671
  contractIdPreimage: src_xdr.ContractIdPreimage.contractIdPreimageFromAddress(new src_xdr.ContractIdPreimageFromAddress({
17042
17672
  address: opts.address.toScAddress(),
17043
17673
  salt: salt
17044
- }))
17674
+ })),
17675
+ constructorArgs: (_opts$constructorArgs = opts.constructorArgs) !== null && _opts$constructorArgs !== void 0 ? _opts$constructorArgs : []
17045
17676
  }))
17046
17677
  });
17047
17678
  }
@@ -17122,7 +17753,7 @@ function uploadContractWasm(opts) {
17122
17753
  function getSalty() {
17123
17754
  return Keypair.random().xdrPublicKey().value(); // ed25519 is 256 bits, too
17124
17755
  }
17125
- ;// CONCATENATED MODULE: ./src/operations/extend_footprint_ttl.js
17756
+ ;// ./src/operations/extend_footprint_ttl.js
17126
17757
 
17127
17758
 
17128
17759
  /**
@@ -17170,7 +17801,7 @@ function extendFootprintTtl(opts) {
17170
17801
  this.setSourceAccount(opAttributes, opts);
17171
17802
  return new src_xdr.Operation(opAttributes);
17172
17803
  }
17173
- ;// CONCATENATED MODULE: ./src/operations/restore_footprint.js
17804
+ ;// ./src/operations/restore_footprint.js
17174
17805
 
17175
17806
 
17176
17807
  /**
@@ -17207,7 +17838,7 @@ function restoreFootprint() {
17207
17838
  this.setSourceAccount(opAttributes, opts !== null && opts !== void 0 ? opts : {});
17208
17839
  return new src_xdr.Operation(opAttributes);
17209
17840
  }
17210
- ;// CONCATENATED MODULE: ./src/operations/index.js
17841
+ ;// ./src/operations/index.js
17211
17842
 
17212
17843
 
17213
17844
 
@@ -17235,7 +17866,7 @@ function restoreFootprint() {
17235
17866
 
17236
17867
 
17237
17868
 
17238
- ;// CONCATENATED MODULE: ./src/operation.js
17869
+ ;// ./src/operation.js
17239
17870
  function operation_typeof(o) { "@babel/helpers - typeof"; return operation_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, operation_typeof(o); }
17240
17871
  function operation_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
17241
17872
  function operation_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, operation_toPropertyKey(o.key), o); } }
@@ -17331,7 +17962,12 @@ var AuthClawbackEnabledFlag = 1 << 3;
17331
17962
  * * `{@link Operation.setTrustLineFlags}`
17332
17963
  * * `{@link Operation.liquidityPoolDeposit}`
17333
17964
  * * `{@link Operation.liquidityPoolWithdraw}`
17334
- * * `{@link Operation.invokeHostFunction}`
17965
+ * * `{@link Operation.invokeHostFunction}`, which has the following additional
17966
+ * "pseudo-operations" that make building host functions easier:
17967
+ * - `{@link Operation.createStellarAssetContract}`
17968
+ * - `{@link Operation.invokeContractFunction}`
17969
+ * - `{@link Operation.createCustomContract}`
17970
+ * - `{@link Operation.uploadContractWasm}`
17335
17971
  * * `{@link Operation.extendFootprintTtlOp}`
17336
17972
  * * `{@link Operation.restoreFootprint}`
17337
17973
  *
@@ -17943,7 +18579,7 @@ Operation.createStellarAssetContract = createStellarAssetContract;
17943
18579
  Operation.invokeContractFunction = invokeContractFunction;
17944
18580
  Operation.createCustomContract = createCustomContract;
17945
18581
  Operation.uploadContractWasm = uploadContractWasm;
17946
- ;// CONCATENATED MODULE: ./src/memo.js
18582
+ ;// ./src/memo.js
17947
18583
  /* provided dependency */ var memo_Buffer = __webpack_require__(3626)["A"];
17948
18584
  function memo_typeof(o) { "@babel/helpers - typeof"; return memo_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, memo_typeof(o); }
17949
18585
  function memo_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
@@ -18208,7 +18844,7 @@ var Memo = /*#__PURE__*/function () {
18208
18844
  }
18209
18845
  }]);
18210
18846
  }();
18211
- ;// CONCATENATED MODULE: ./src/transaction.js
18847
+ ;// ./src/transaction.js
18212
18848
  /* provided dependency */ var transaction_Buffer = __webpack_require__(3626)["A"];
18213
18849
  function transaction_typeof(o) { "@babel/helpers - typeof"; return transaction_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, transaction_typeof(o); }
18214
18850
  function transaction_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
@@ -18571,7 +19207,7 @@ var Transaction = /*#__PURE__*/function (_TransactionBase) {
18571
19207
  }
18572
19208
  }]);
18573
19209
  }(TransactionBase);
18574
- ;// CONCATENATED MODULE: ./src/fee_bump_transaction.js
19210
+ ;// ./src/fee_bump_transaction.js
18575
19211
  /* provided dependency */ var fee_bump_transaction_Buffer = __webpack_require__(3626)["A"];
18576
19212
  function fee_bump_transaction_typeof(o) { "@babel/helpers - typeof"; return fee_bump_transaction_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, fee_bump_transaction_typeof(o); }
18577
19213
  function fee_bump_transaction_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
@@ -18699,7 +19335,7 @@ var FeeBumpTransaction = /*#__PURE__*/function (_TransactionBase) {
18699
19335
  }
18700
19336
  }]);
18701
19337
  }(TransactionBase);
18702
- ;// CONCATENATED MODULE: ./src/account.js
19338
+ ;// ./src/account.js
18703
19339
  function account_typeof(o) { "@babel/helpers - typeof"; return account_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, account_typeof(o); }
18704
19340
  function account_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
18705
19341
  function account_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, account_toPropertyKey(o.key), o); } }
@@ -18773,7 +19409,7 @@ var Account = /*#__PURE__*/function () {
18773
19409
  }
18774
19410
  }]);
18775
19411
  }();
18776
- ;// CONCATENATED MODULE: ./src/muxed_account.js
19412
+ ;// ./src/muxed_account.js
18777
19413
  function muxed_account_typeof(o) { "@babel/helpers - typeof"; return muxed_account_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, muxed_account_typeof(o); }
18778
19414
  function muxed_account_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
18779
19415
  function muxed_account_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, muxed_account_toPropertyKey(o.key), o); } }
@@ -18926,7 +19562,7 @@ var MuxedAccount = /*#__PURE__*/function () {
18926
19562
  }
18927
19563
  }]);
18928
19564
  }();
18929
- ;// CONCATENATED MODULE: ./src/sorobandata_builder.js
19565
+ ;// ./src/sorobandata_builder.js
18930
19566
  function sorobandata_builder_typeof(o) { "@babel/helpers - typeof"; return sorobandata_builder_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, sorobandata_builder_typeof(o); }
18931
19567
  function sorobandata_builder_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
18932
19568
  function sorobandata_builder_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, sorobandata_builder_toPropertyKey(o.key), o); } }
@@ -19138,7 +19774,7 @@ var SorobanDataBuilder = /*#__PURE__*/function () {
19138
19774
  }
19139
19775
  }]);
19140
19776
  }();
19141
- ;// CONCATENATED MODULE: ./src/signerkey.js
19777
+ ;// ./src/signerkey.js
19142
19778
  function signerkey_typeof(o) { "@babel/helpers - typeof"; return signerkey_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, signerkey_typeof(o); }
19143
19779
  function signerkey_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
19144
19780
  function signerkey_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, signerkey_toPropertyKey(o.key), o); } }
@@ -19235,7 +19871,7 @@ var SignerKey = /*#__PURE__*/function () {
19235
19871
  }
19236
19872
  }]);
19237
19873
  }();
19238
- ;// CONCATENATED MODULE: ./src/transaction_builder.js
19874
+ ;// ./src/transaction_builder.js
19239
19875
  function transaction_builder_typeof(o) { "@babel/helpers - typeof"; return transaction_builder_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, transaction_builder_typeof(o); }
19240
19876
  function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || transaction_builder_unsupportedIterableToArray(r) || _nonIterableSpread(); }
19241
19877
  function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
@@ -20011,7 +20647,7 @@ function isValidDate(d) {
20011
20647
  // eslint-disable-next-line no-restricted-globals
20012
20648
  return d instanceof Date && !isNaN(d);
20013
20649
  }
20014
- ;// CONCATENATED MODULE: ./src/network.js
20650
+ ;// ./src/network.js
20015
20651
  /**
20016
20652
  * Contains passphrases for common networks:
20017
20653
  * * `Networks.PUBLIC`: `Public Global Stellar Network ; September 2015`
@@ -20028,7 +20664,7 @@ var Networks = {
20028
20664
  SANDBOX: 'Local Sandbox Stellar Network ; September 2022',
20029
20665
  STANDALONE: 'Standalone Network ; February 2017'
20030
20666
  };
20031
- ;// CONCATENATED MODULE: ./src/soroban.js
20667
+ ;// ./src/soroban.js
20032
20668
  function soroban_typeof(o) { "@babel/helpers - typeof"; return soroban_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, soroban_typeof(o); }
20033
20669
  function _toArray(r) { return soroban_arrayWithHoles(r) || soroban_iterableToArray(r) || soroban_unsupportedIterableToArray(r) || soroban_nonIterableRest(); }
20034
20670
  function soroban_nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
@@ -20118,7 +20754,7 @@ var Soroban = /*#__PURE__*/function () {
20118
20754
  }
20119
20755
  }]);
20120
20756
  }();
20121
- ;// CONCATENATED MODULE: ./src/contract.js
20757
+ ;// ./src/contract.js
20122
20758
  function contract_typeof(o) { "@babel/helpers - typeof"; return contract_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, contract_typeof(o); }
20123
20759
  function contract_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
20124
20760
  function contract_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, contract_toPropertyKey(o.key), o); } }
@@ -20225,7 +20861,7 @@ var Contract = /*#__PURE__*/function () {
20225
20861
  }
20226
20862
  }]);
20227
20863
  }();
20228
- ;// CONCATENATED MODULE: ./src/numbers/uint128.js
20864
+ ;// ./src/numbers/uint128.js
20229
20865
  function uint128_typeof(o) { "@babel/helpers - typeof"; return uint128_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, uint128_typeof(o); }
20230
20866
  function uint128_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
20231
20867
  function uint128_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, uint128_toPropertyKey(o.key), o); } }
@@ -20268,7 +20904,7 @@ var Uint128 = /*#__PURE__*/function (_LargeInt) {
20268
20904
  }]);
20269
20905
  }(xdr.LargeInt);
20270
20906
  Uint128.defineIntBoundaries();
20271
- ;// CONCATENATED MODULE: ./src/numbers/uint256.js
20907
+ ;// ./src/numbers/uint256.js
20272
20908
  function uint256_typeof(o) { "@babel/helpers - typeof"; return uint256_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, uint256_typeof(o); }
20273
20909
  function uint256_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
20274
20910
  function uint256_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, uint256_toPropertyKey(o.key), o); } }
@@ -20311,7 +20947,7 @@ var Uint256 = /*#__PURE__*/function (_LargeInt) {
20311
20947
  }]);
20312
20948
  }(xdr.LargeInt);
20313
20949
  Uint256.defineIntBoundaries();
20314
- ;// CONCATENATED MODULE: ./src/numbers/int128.js
20950
+ ;// ./src/numbers/int128.js
20315
20951
  function int128_typeof(o) { "@babel/helpers - typeof"; return int128_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, int128_typeof(o); }
20316
20952
  function int128_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
20317
20953
  function int128_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, int128_toPropertyKey(o.key), o); } }
@@ -20354,7 +20990,7 @@ var Int128 = /*#__PURE__*/function (_LargeInt) {
20354
20990
  }]);
20355
20991
  }(xdr.LargeInt);
20356
20992
  Int128.defineIntBoundaries();
20357
- ;// CONCATENATED MODULE: ./src/numbers/int256.js
20993
+ ;// ./src/numbers/int256.js
20358
20994
  function int256_typeof(o) { "@babel/helpers - typeof"; return int256_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, int256_typeof(o); }
20359
20995
  function int256_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
20360
20996
  function int256_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, int256_toPropertyKey(o.key), o); } }
@@ -20397,7 +21033,7 @@ var Int256 = /*#__PURE__*/function (_LargeInt) {
20397
21033
  }]);
20398
21034
  }(xdr.LargeInt);
20399
21035
  Int256.defineIntBoundaries();
20400
- ;// CONCATENATED MODULE: ./src/numbers/xdr_large_int.js
21036
+ ;// ./src/numbers/xdr_large_int.js
20401
21037
  function xdr_large_int_typeof(o) { "@babel/helpers - typeof"; return xdr_large_int_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, xdr_large_int_typeof(o); }
20402
21038
  function xdr_large_int_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
20403
21039
  function xdr_large_int_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, xdr_large_int_toPropertyKey(o.key), o); } }
@@ -20659,7 +21295,7 @@ var XdrLargeInt = /*#__PURE__*/function () {
20659
21295
  }
20660
21296
  }]);
20661
21297
  }();
20662
- ;// CONCATENATED MODULE: ./src/numbers/sc_int.js
21298
+ ;// ./src/numbers/sc_int.js
20663
21299
  function sc_int_typeof(o) { "@babel/helpers - typeof"; return sc_int_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, sc_int_typeof(o); }
20664
21300
  function sc_int_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, sc_int_toPropertyKey(o.key), o); } }
20665
21301
  function sc_int_createClass(e, r, t) { return r && sc_int_defineProperties(e.prototype, r), t && sc_int_defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
@@ -20786,7 +21422,7 @@ function nearestBigIntSize(bigI) {
20786
21422
  return bitlen <= len;
20787
21423
  })) !== null && _find !== void 0 ? _find : bitlen;
20788
21424
  }
20789
- ;// CONCATENATED MODULE: ./src/numbers/index.js
21425
+ ;// ./src/numbers/index.js
20790
21426
 
20791
21427
 
20792
21428
 
@@ -20832,7 +21468,7 @@ function scValToBigInt(scv) {
20832
21468
  throw TypeError("expected integer type, got ".concat(scv["switch"]()));
20833
21469
  }
20834
21470
  }
20835
- ;// CONCATENATED MODULE: ./src/scval.js
21471
+ ;// ./src/scval.js
20836
21472
  /* provided dependency */ var scval_Buffer = __webpack_require__(3626)["A"];
20837
21473
  function scval_slicedToArray(r, e) { return scval_arrayWithHoles(r) || scval_iterableToArrayLimit(r, e) || scval_unsupportedIterableToArray(r, e) || scval_nonIterableRest(); }
20838
21474
  function scval_nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
@@ -21219,7 +21855,7 @@ function scValToNative(scv) {
21219
21855
  return scv.value();
21220
21856
  }
21221
21857
  }
21222
- ;// CONCATENATED MODULE: ./src/events.js
21858
+ ;// ./src/events.js
21223
21859
  function events_typeof(o) { "@babel/helpers - typeof"; return events_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, events_typeof(o); }
21224
21860
  function events_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
21225
21861
  function events_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? events_ownKeys(Object(t), !0).forEach(function (r) { events_defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : events_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
@@ -21264,7 +21900,7 @@ function extractEvent(event) {
21264
21900
  data: scValToNative(event.body().value().data())
21265
21901
  });
21266
21902
  }
21267
- ;// CONCATENATED MODULE: ./src/auth.js
21903
+ ;// ./src/auth.js
21268
21904
  /* provided dependency */ var auth_Buffer = __webpack_require__(3626)["A"];
21269
21905
  function auth_typeof(o) { "@babel/helpers - typeof"; return auth_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, auth_typeof(o); }
21270
21906
  function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == auth_typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(auth_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, "catch": function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
@@ -21524,7 +22160,7 @@ function bytesToInt64(bytes) {
21524
22160
  return accum << 8 | b;
21525
22161
  }, 0);
21526
22162
  }
21527
- ;// CONCATENATED MODULE: ./src/invocation.js
22163
+ ;// ./src/invocation.js
21528
22164
 
21529
22165
 
21530
22166
 
@@ -21715,7 +22351,7 @@ function walkHelper(node, depth, callback, parent) {
21715
22351
  return walkHelper(i, depth + 1, callback, node);
21716
22352
  });
21717
22353
  }
21718
- ;// CONCATENATED MODULE: ./src/index.js
22354
+ ;// ./src/index.js
21719
22355
  /* module decorator */ module = __webpack_require__.hmd(module);
21720
22356
  /* eslint-disable import/no-import-module-exports */
21721
22357