nulltrace-sdk 1.0.3 → 1.0.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.
package/dist/index.cjs CHANGED
@@ -166,7 +166,9 @@ async function _signSendConfirm(connection, wallet, transactions) {
166
166
  const signed = await wallet.signAllTransactions(transactions);
167
167
  const sigs = [];
168
168
  for (const tx of signed) {
169
- const sig = await connection.sendRawTransaction(tx.serialize());
169
+ const sig = await connection.sendRawTransaction(tx.serialize(), {
170
+ skipPreflight: true
171
+ });
170
172
  await connection.confirmTransaction(sig);
171
173
  sigs.push(sig);
172
174
  }
@@ -856,7 +858,9 @@ var NullTrace = class _NullTrace {
856
858
  });
857
859
  const preSigs = [];
858
860
  for (let i = 0; i < preTransactions.length; i++) {
859
- const sig = await this.connection.sendRawTransaction(signed[i].serialize());
861
+ const sig = await this.connection.sendRawTransaction(signed[i].serialize(), {
862
+ skipPreflight: true
863
+ });
860
864
  await this.connection.confirmTransaction(sig);
861
865
  preSigs.push(sig);
862
866
  }
package/dist/index.mjs CHANGED
@@ -155,7 +155,9 @@ async function _signSendConfirm(connection, wallet, transactions) {
155
155
  const signed = await wallet.signAllTransactions(transactions);
156
156
  const sigs = [];
157
157
  for (const tx of signed) {
158
- const sig = await connection.sendRawTransaction(tx.serialize());
158
+ const sig = await connection.sendRawTransaction(tx.serialize(), {
159
+ skipPreflight: true
160
+ });
159
161
  await connection.confirmTransaction(sig);
160
162
  sigs.push(sig);
161
163
  }
@@ -845,7 +847,9 @@ var NullTrace = class _NullTrace {
845
847
  });
846
848
  const preSigs = [];
847
849
  for (let i = 0; i < preTransactions.length; i++) {
848
- const sig = await this.connection.sendRawTransaction(signed[i].serialize());
850
+ const sig = await this.connection.sendRawTransaction(signed[i].serialize(), {
851
+ skipPreflight: true
852
+ });
849
853
  await this.connection.confirmTransaction(sig);
850
854
  preSigs.push(sig);
851
855
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nulltrace-sdk",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "NullTrace SDK - Privacy-focused Solana transactions powered by ZK compression",
5
5
  "author": "NullTrace",
6
6
  "license": "MIT",