@moonbeam-network/mrl 1.0.0-dev.159 → 1.0.0-dev.160
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/build/index.d.ts +1 -1
- package/build/index.mjs +4 -1
- package/build/index.mjs.map +1 -1
- package/package.json +6 -6
package/build/index.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ interface TransferData {
|
|
|
19
19
|
min: AssetAmount;
|
|
20
20
|
moonChain: MoonChainTransferData;
|
|
21
21
|
source: SourceTransferData;
|
|
22
|
-
transfer(amount: bigint | number | string, isAutomatic: boolean, signers: Signers, statusCallback?: (params: ISubmittableResult) => void): Promise<string[]>;
|
|
22
|
+
transfer(amount: bigint | number | string, isAutomatic: boolean, signers: Signers, statusCallback?: (params: ISubmittableResult) => void, sendOnlyRemoteExecution?: boolean): Promise<string[]>;
|
|
23
23
|
}
|
|
24
24
|
interface SourceTransferData extends SourceChainTransferData {
|
|
25
25
|
destinationFeeBalance: AssetAmount;
|
package/build/index.mjs
CHANGED
|
@@ -11251,6 +11251,7 @@ async function getMrlBuilderParams({
|
|
|
11251
11251
|
feeAsset,
|
|
11252
11252
|
isAutomatic,
|
|
11253
11253
|
route,
|
|
11254
|
+
sendOnlyRemoteExecution,
|
|
11254
11255
|
sourceAddress
|
|
11255
11256
|
}) {
|
|
11256
11257
|
if (!route.mrl) {
|
|
@@ -11276,6 +11277,7 @@ async function getMrlBuilderParams({
|
|
|
11276
11277
|
moonApi,
|
|
11277
11278
|
moonAsset: moonChain.nativeAsset,
|
|
11278
11279
|
moonChain,
|
|
11280
|
+
sendOnlyRemoteExecution,
|
|
11279
11281
|
source,
|
|
11280
11282
|
sourceAddress,
|
|
11281
11283
|
sourceApi
|
|
@@ -11608,7 +11610,7 @@ async function getTransferData({
|
|
|
11608
11610
|
}),
|
|
11609
11611
|
moonChain: moonChainData,
|
|
11610
11612
|
source: sourceData,
|
|
11611
|
-
async transfer(amount, isAutomatic2, { evmSigner, polkadotSigner }, statusCallback) {
|
|
11613
|
+
async transfer(amount, isAutomatic2, { evmSigner, polkadotSigner }, statusCallback, sendOnlyRemoteExecution) {
|
|
11612
11614
|
const source = route.source.chain;
|
|
11613
11615
|
const bigintAmount = toBigInt3(amount, sourceData.balance.decimals);
|
|
11614
11616
|
const asset = AssetAmount3.fromChainAsset(
|
|
@@ -11627,6 +11629,7 @@ async function getTransferData({
|
|
|
11627
11629
|
feeAsset,
|
|
11628
11630
|
isAutomatic: isAutomatic2,
|
|
11629
11631
|
route,
|
|
11632
|
+
sendOnlyRemoteExecution,
|
|
11630
11633
|
sourceAddress
|
|
11631
11634
|
});
|
|
11632
11635
|
if (ContractConfig2.is(transfer) && (EvmChain.is(source) || EvmParachain2.is(source))) {
|