nulltrace-sdk 1.0.2 → 1.0.3

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
@@ -434,14 +434,6 @@ var NullTrace = class _NullTrace {
434
434
  }
435
435
  })
436
436
  );
437
- const operatorAta = await (0, import_spl_token.getAssociatedTokenAddress)(mintPk, OPERATOR_PUBLIC_KEY, false, tokenProgram);
438
- const operatorInfo = await this.connection.getAccountInfo(operatorAta);
439
- if (!operatorInfo) {
440
- ixs.push((0, import_spl_token.createAssociatedTokenAccountInstruction)(owner, operatorAta, OPERATOR_PUBLIC_KEY, mintPk, tokenProgram));
441
- }
442
- ixs.push(
443
- (0, import_spl_token.createTransferCheckedInstruction)(sourceAta, mintPk, operatorAta, owner, feeLamports, decimals, [], tokenProgram)
444
- );
445
437
  }
446
438
  const adl = await this._getAlt();
447
439
  const txs = await _packTransactions(this.connection, owner, ixs, adl);
package/dist/index.mjs CHANGED
@@ -423,14 +423,6 @@ var NullTrace = class _NullTrace {
423
423
  }
424
424
  })
425
425
  );
426
- const operatorAta = await getAssociatedTokenAddress(mintPk, OPERATOR_PUBLIC_KEY, false, tokenProgram);
427
- const operatorInfo = await this.connection.getAccountInfo(operatorAta);
428
- if (!operatorInfo) {
429
- ixs.push(createAssociatedTokenAccountInstruction(owner, operatorAta, OPERATOR_PUBLIC_KEY, mintPk, tokenProgram));
430
- }
431
- ixs.push(
432
- createTransferCheckedInstruction(sourceAta, mintPk, operatorAta, owner, feeLamports, decimals, [], tokenProgram)
433
- );
434
426
  }
435
427
  const adl = await this._getAlt();
436
428
  const txs = await _packTransactions(this.connection, owner, ixs, adl);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nulltrace-sdk",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "NullTrace SDK - Privacy-focused Solana transactions powered by ZK compression",
5
5
  "author": "NullTrace",
6
6
  "license": "MIT",
@@ -50,7 +50,7 @@
50
50
  ],
51
51
  "repository": {
52
52
  "type": "git",
53
- "url": "https://github.com/NullTraceBot/null-trace-local/tree/main/sdk",
53
+ "url": "https://github.com/NullTraceBot/null-trace-local",
54
54
  "directory": "sdk"
55
55
  },
56
56
  "homepage": "https://nulltrace.app"