@buildonspark/issuer-sdk 0.0.75 → 0.0.77

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.
@@ -1,8 +1,8 @@
1
1
  import { IssuerSparkWallet } from "../../issuer-wallet/issuer-spark-wallet.js";
2
2
  import { jest } from "@jest/globals";
3
- import { LOCAL_WALLET_CONFIG_ECDSA } from "../../../../spark-sdk/src/services/wallet-config.js";
4
3
  import { SparkWallet } from "@buildonspark/spark-sdk";
5
4
  import { filterTokenBalanceForTokenPublicKey } from "@buildonspark/spark-sdk/utils";
5
+ import { LOCAL_WALLET_CONFIG } from "@buildonspark/spark-sdk/services/wallet-config";
6
6
 
7
7
  const TEST_TIMEOUT = 600_000; // 10 minutes
8
8
  const TOKEN_AMOUNT: bigint = 1000n;
@@ -31,10 +31,10 @@ describe("Stress test for token transfers", () => {
31
31
 
32
32
  const start_time = Date.now();
33
33
  const { wallet: issuerWallet } = await IssuerSparkWallet.initialize({
34
- options: LOCAL_WALLET_CONFIG_ECDSA,
34
+ options: LOCAL_WALLET_CONFIG,
35
35
  });
36
36
  const { wallet: userWallet } = await SparkWallet.initialize({
37
- options: LOCAL_WALLET_CONFIG_ECDSA,
37
+ options: LOCAL_WALLET_CONFIG,
38
38
  });
39
39
 
40
40
  await issuerWallet.mintTokens(TOKEN_AMOUNT);
@@ -116,10 +116,10 @@ describe("Stress test for token transfers", () => {
116
116
  .fill(0)
117
117
  .map(async () => {
118
118
  const issuer = await IssuerSparkWallet.initialize({
119
- options: LOCAL_WALLET_CONFIG_ECDSA,
119
+ options: LOCAL_WALLET_CONFIG,
120
120
  });
121
121
  const user = await SparkWallet.initialize({
122
- options: LOCAL_WALLET_CONFIG_ECDSA,
122
+ options: LOCAL_WALLET_CONFIG,
123
123
  });
124
124
 
125
125
  await issuer.wallet.mintTokens(TOKEN_AMOUNT);