@vleap/warps-adapter-fastset 0.1.0-alpha.37 → 0.1.0-alpha.38
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.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1659,6 +1659,7 @@ var WarpFastsetExecutor = class {
|
|
|
1659
1659
|
throw new Error(`WarpFastsetExecutor: Invalid action type (${action.type})`);
|
|
1660
1660
|
}
|
|
1661
1661
|
async createTransferTransaction(executable) {
|
|
1662
|
+
if (!executable.destination) throw new Error("WarpFastsetExecutor: createTransfer - destination not set");
|
|
1662
1663
|
const userWallet = (0, import_warps2.getWarpWalletAddressFromConfig)(this.config, executable.chain.name);
|
|
1663
1664
|
if (!userWallet) throw new Error("WarpFastsetExecutor: createTransfer - user address not set");
|
|
1664
1665
|
const senderPubKey = FastsetClient.decodeBech32Address(userWallet);
|