@atomiqlabs/chain-solana 13.2.3 → 13.2.4

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.
@@ -244,7 +244,7 @@ class SwapInit extends SolanaSwapModule_1.SolanaSwapModule {
244
244
  txToSign.feePayer = swapData.isPayIn() ? swapData.offerer : swapData.claimer;
245
245
  txToSign.recentBlockhash = latestBlock.blockhash;
246
246
  txToSign.sign(signer.keypair);
247
- this.logger.debug("signSwapInitialization(): Signed tx: ", txToSign);
247
+ // this.logger.debug("signSwapInitialization(): Signed tx: ",txToSign);
248
248
  const sig = txToSign.signatures.find(e => e.publicKey.equals(signer.getPublicKey()));
249
249
  if (sig == null || sig.signature == null)
250
250
  throw new Error(`Unable to extract transaction signature! Signer: ${signer.getAddress()}`);
@@ -299,7 +299,7 @@ class SwapInit extends SolanaSwapModule_1.SolanaSwapModule {
299
299
  txToSign.feePayer = new web3_js_1.PublicKey(sender);
300
300
  txToSign.recentBlockhash = blockhash;
301
301
  txToSign.addSignature(signer, buffer_1.Buffer.from(signatureString, "hex"));
302
- this.logger.debug("isSignatureValid(): Signed tx: ", txToSign);
302
+ // this.logger.debug("isSignatureValid(): Signed tx: ",txToSign);
303
303
  const valid = txToSign.verifySignatures(false);
304
304
  if (!valid)
305
305
  throw new base_1.SignatureVerificationError("Invalid signature!");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atomiqlabs/chain-solana",
3
- "version": "13.2.3",
3
+ "version": "13.2.4",
4
4
  "description": "Solana specific base implementation",
5
5
  "main": "./dist/index.js",
6
6
  "types:": "./dist/index.d.ts",
@@ -326,7 +326,7 @@ export class SwapInit extends SolanaSwapModule {
326
326
  txToSign.feePayer = swapData.isPayIn() ? swapData.offerer : swapData.claimer;
327
327
  txToSign.recentBlockhash = latestBlock.blockhash;
328
328
  txToSign.sign(signer.keypair);
329
- this.logger.debug("signSwapInitialization(): Signed tx: ",txToSign);
329
+ // this.logger.debug("signSwapInitialization(): Signed tx: ",txToSign);
330
330
 
331
331
  const sig = txToSign.signatures.find(e => e.publicKey.equals(signer.getPublicKey()));
332
332
  if(sig==null || sig.signature==null) throw new Error(`Unable to extract transaction signature! Signer: ${signer.getAddress()}`);
@@ -393,7 +393,7 @@ export class SwapInit extends SolanaSwapModule {
393
393
  txToSign.feePayer = new PublicKey(sender);
394
394
  txToSign.recentBlockhash = blockhash;
395
395
  txToSign.addSignature(signer, Buffer.from(signatureString, "hex"));
396
- this.logger.debug("isSignatureValid(): Signed tx: ",txToSign);
396
+ // this.logger.debug("isSignatureValid(): Signed tx: ",txToSign);
397
397
 
398
398
  const valid = txToSign.verifySignatures(false);
399
399