@primuslabs/fund-js-sdk 0.1.20 → 0.1.21

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
@@ -5960,6 +5960,7 @@ async function reClaim({
5960
5960
  tx.recentBlockhash = (await provider.connection.getLatestBlockhash()).blockhash;
5961
5961
  console.log("UnSigned tx size:", tx.serialize({ requireAllSignatures: false, verifySignatures: false }).length, "bytes");
5962
5962
  const signedTx = await provider.wallet.signTransaction(tx);
5963
+ signedTx.partialSign();
5963
5964
  signatureStr = getTxSigStrFromTx(signedTx);
5964
5965
  const isOnChain = await getTxIsOnChain(signatureStr, provider.connection);
5965
5966
  if (isOnChain) {
@@ -6041,6 +6042,7 @@ async function reSenderWithdraw({
6041
6042
  tx.feePayer = userKey;
6042
6043
  tx.recentBlockhash = (await provider.connection.getLatestBlockhash()).blockhash;
6043
6044
  const signedTx = await provider.wallet.signTransaction(tx);
6045
+ signedTx.partialSign();
6044
6046
  signatureStr = getTxSigStrFromTx(signedTx);
6045
6047
  const isOnChain = await getTxIsOnChain(signatureStr, provider.connection);
6046
6048
  if (isOnChain) {
package/dist/index.mjs CHANGED
@@ -5933,6 +5933,7 @@ async function reClaim({
5933
5933
  tx.recentBlockhash = (await provider.connection.getLatestBlockhash()).blockhash;
5934
5934
  console.log("UnSigned tx size:", tx.serialize({ requireAllSignatures: false, verifySignatures: false }).length, "bytes");
5935
5935
  const signedTx = await provider.wallet.signTransaction(tx);
5936
+ signedTx.partialSign();
5936
5937
  signatureStr = getTxSigStrFromTx(signedTx);
5937
5938
  const isOnChain = await getTxIsOnChain(signatureStr, provider.connection);
5938
5939
  if (isOnChain) {
@@ -6014,6 +6015,7 @@ async function reSenderWithdraw({
6014
6015
  tx.feePayer = userKey;
6015
6016
  tx.recentBlockhash = (await provider.connection.getLatestBlockhash()).blockhash;
6016
6017
  const signedTx = await provider.wallet.signTransaction(tx);
6018
+ signedTx.partialSign();
6017
6019
  signatureStr = getTxSigStrFromTx(signedTx);
6018
6020
  const isOnChain = await getTxIsOnChain(signatureStr, provider.connection);
6019
6021
  if (isOnChain) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primuslabs/fund-js-sdk",
3
- "version": "0.1.20",
3
+ "version": "0.1.21",
4
4
  "author": "Primus Labs <dev@primuslabs.org>",
5
5
  "description": "Primus fund js sdk",
6
6
  "repository": {