@lavarage/sdk 6.8.7 → 6.8.8

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 CHANGED
@@ -1345,10 +1345,7 @@ function createOffer(lavarageProgram, params) {
1345
1345
  }).compileToV0Message();
1346
1346
  if (nodeWalletSigner) {
1347
1347
  const transaction = new import_web3.VersionedTransaction(messageV0);
1348
- transaction.addSignature(
1349
- nodeWalletSigner.publicKey,
1350
- nodeWalletSigner.secretKey
1351
- );
1348
+ transaction.sign([nodeWalletSigner]);
1352
1349
  return transaction;
1353
1350
  }
1354
1351
  return new import_web3.VersionedTransaction(messageV0);