@vleap/warps-adapter-fastset 0.1.0-alpha.30 → 0.1.0-alpha.31

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.mjs CHANGED
@@ -1801,7 +1801,7 @@ var WarpFastsetResults = class {
1801
1801
  this.chain = chain2;
1802
1802
  this.serializer = new WarpFastsetSerializer();
1803
1803
  }
1804
- async getTransactionExecutionResults(warp, tx) {
1804
+ async getActionExecution(warp, actionIndex, tx) {
1805
1805
  const success = this.isTransactionSuccessful(tx);
1806
1806
  const transactionHash = this.extractTransactionHash(tx);
1807
1807
  const blockNumber = this.extractBlockNumber(tx);
@@ -2879,11 +2879,17 @@ var WarpFastsetWallet = class {
2879
2879
  const signature = ed25519_exports.sign(messageBytes, privateKeyBytes);
2880
2880
  return uint8ArrayToHex(signature);
2881
2881
  }
2882
+ async signTransactions(txs) {
2883
+ return Promise.all(txs.map(async (tx) => this.signTransaction(tx)));
2884
+ }
2882
2885
  async sendTransaction(tx) {
2883
2886
  const { signature, ...transactionWithoutSignature } = tx;
2884
2887
  const _cert = await this.client.submitTransaction(transactionWithoutSignature, signature);
2885
2888
  return "TODO";
2886
2889
  }
2890
+ async sendTransactions(txs) {
2891
+ return Promise.all(txs.map(async (tx) => this.sendTransaction(tx)));
2892
+ }
2887
2893
  create(mnemonic) {
2888
2894
  const seed = bip39.mnemonicToSeedSync(mnemonic);
2889
2895
  const privateKey = seed.slice(0, 32);