@paraspell/sdk 2.0.3 → 2.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +507 -24
- package/dist/index.d.ts +8 -8
- package/dist/index.mjs +507 -24
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -111,20 +111,26 @@ declare namespace index$3 {
|
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
declare function openChannel(api: ApiPromise, origin: TNode, destination: TNode, maxSize: number, maxMessageSize: number): Extrinsic;
|
|
114
|
+
declare function openChannelSerializedApiCall(api: ApiPromise, origin: TNode, destination: TNode, maxSize: number, maxMessageSize: number): TSerializedApiCall;
|
|
114
115
|
|
|
115
116
|
declare const index$2_openChannel: typeof openChannel;
|
|
117
|
+
declare const index$2_openChannelSerializedApiCall: typeof openChannelSerializedApiCall;
|
|
116
118
|
declare namespace index$2 {
|
|
117
119
|
export {
|
|
118
120
|
index$2_openChannel as openChannel,
|
|
121
|
+
index$2_openChannelSerializedApiCall as openChannelSerializedApiCall,
|
|
119
122
|
};
|
|
120
123
|
}
|
|
121
124
|
|
|
122
125
|
declare function closeChannel(api: ApiPromise, origin: TNode, inbound: number, outbound: number): Extrinsic;
|
|
126
|
+
declare function closeChannelSerializedApiCall(api: ApiPromise, origin: TNode, inbound: number, outbound: number): TSerializedApiCall;
|
|
123
127
|
|
|
124
128
|
declare const index$1_closeChannel: typeof closeChannel;
|
|
129
|
+
declare const index$1_closeChannelSerializedApiCall: typeof closeChannelSerializedApiCall;
|
|
125
130
|
declare namespace index$1 {
|
|
126
131
|
export {
|
|
127
132
|
index$1_closeChannel as closeChannel,
|
|
133
|
+
index$1_closeChannelSerializedApiCall as closeChannelSerializedApiCall,
|
|
128
134
|
};
|
|
129
135
|
}
|
|
130
136
|
|
|
@@ -247,21 +253,15 @@ interface AssetAAddLiquidityBuilder {
|
|
|
247
253
|
assetA(assetA: number): AssetBAddLiquidityBuilder;
|
|
248
254
|
}
|
|
249
255
|
|
|
250
|
-
interface FinalCloseChannelBuilder {
|
|
251
|
-
build(): Extrinsic;
|
|
252
|
-
}
|
|
253
256
|
interface OutboundCloseChannelBuilder {
|
|
254
|
-
outbound(inbound: number):
|
|
257
|
+
outbound(inbound: number): FinalBuilder;
|
|
255
258
|
}
|
|
256
259
|
interface InboundCloseChannelBuilder {
|
|
257
260
|
inbound(inbound: number): OutboundCloseChannelBuilder;
|
|
258
261
|
}
|
|
259
262
|
|
|
260
|
-
interface FinalOpenChannelBuilder {
|
|
261
|
-
build(): Extrinsic;
|
|
262
|
-
}
|
|
263
263
|
interface MaxMessageSizeOpenChannelBuilder {
|
|
264
|
-
maxMessageSize(size: number):
|
|
264
|
+
maxMessageSize(size: number): FinalBuilder;
|
|
265
265
|
}
|
|
266
266
|
interface MaxSizeOpenChannelBuilder {
|
|
267
267
|
maxSize(size: number): MaxMessageSizeOpenChannelBuilder;
|