@buildonspark/issuer-sdk 0.0.55 → 0.0.57

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
@@ -346,6 +346,7 @@ var BURN_ADDRESS = "02".repeat(33);
346
346
  var IssuerSparkWallet = class _IssuerSparkWallet extends import_spark_sdk3.SparkWallet {
347
347
  issuerTokenTransactionService;
348
348
  tokenFreezeService;
349
+ tracerId = "issuer-sdk";
349
350
  /**
350
351
  * Initializes a new IssuerSparkWallet instance.
351
352
  * @param options - Configuration options for the wallet
@@ -358,7 +359,6 @@ var IssuerSparkWallet = class _IssuerSparkWallet extends import_spark_sdk3.Spark
358
359
  options.accountNumber
359
360
  );
360
361
  if (import_core.isNode) {
361
- await wallet.initializeTracer("issuer-sdk");
362
362
  wallet.wrapIssuerSparkWalletWithTracing();
363
363
  }
364
364
  return {
package/dist/index.d.cts CHANGED
@@ -20,6 +20,7 @@ type IssuerTokenInfo = {
20
20
  declare class IssuerSparkWallet extends SparkWallet {
21
21
  private issuerTokenTransactionService;
22
22
  private tokenFreezeService;
23
+ protected tracerId: string;
23
24
  /**
24
25
  * Initializes a new IssuerSparkWallet instance.
25
26
  * @param options - Configuration options for the wallet
package/dist/index.d.ts CHANGED
@@ -20,6 +20,7 @@ type IssuerTokenInfo = {
20
20
  declare class IssuerSparkWallet extends SparkWallet {
21
21
  private issuerTokenTransactionService;
22
22
  private tokenFreezeService;
23
+ protected tracerId: string;
23
24
  /**
24
25
  * Initializes a new IssuerSparkWallet instance.
25
26
  * @param options - Configuration options for the wallet
package/dist/index.js CHANGED
@@ -324,6 +324,7 @@ var BURN_ADDRESS = "02".repeat(33);
324
324
  var IssuerSparkWallet = class _IssuerSparkWallet extends SparkWallet {
325
325
  issuerTokenTransactionService;
326
326
  tokenFreezeService;
327
+ tracerId = "issuer-sdk";
327
328
  /**
328
329
  * Initializes a new IssuerSparkWallet instance.
329
330
  * @param options - Configuration options for the wallet
@@ -336,7 +337,6 @@ var IssuerSparkWallet = class _IssuerSparkWallet extends SparkWallet {
336
337
  options.accountNumber
337
338
  );
338
339
  if (isNode) {
339
- await wallet.initializeTracer("issuer-sdk");
340
340
  wallet.wrapIssuerSparkWalletWithTracing();
341
341
  }
342
342
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@buildonspark/issuer-sdk",
3
- "version": "0.0.55",
3
+ "version": "0.0.57",
4
4
  "description": "Spark Issuer SDK for token issuance",
5
5
  "license": "Apache-2.0",
6
6
  "module": "./dist/index.js",
@@ -45,7 +45,7 @@
45
45
  "lint": "eslint .",
46
46
  "package:checks": "yarn depcheck && yarn attw --pack . && echo \"\nPackage checks passed successfully!\"",
47
47
  "postversion": "yarn build",
48
- "test-cmd": "node --experimental-vm-modules $(yarn bin jest) --no-cache --runInBand",
48
+ "test-cmd": "node --experimental-vm-modules $(yarn bin jest) --no-cache --runInBand --detectOpenHandles --forceExit",
49
49
  "test": "echo \"Error: no tests yet\"",
50
50
  "test:integration": "yarn test-cmd src/tests/integration/*.test.ts",
51
51
  "test:stress": "yarn test-cmd src/tests/stress/*.test.ts",
@@ -56,7 +56,7 @@
56
56
  "dependencies": {
57
57
  "@bufbuild/protobuf": "^2.2.5",
58
58
  "@buildonspark/lrc20-sdk": "0.0.49",
59
- "@buildonspark/spark-sdk": "0.1.24",
59
+ "@buildonspark/spark-sdk": "0.1.26",
60
60
  "@lightsparkdev/core": "^1.4.0",
61
61
  "@noble/curves": "^1.8.0",
62
62
  "@scure/btc-signer": "^1.5.0",
@@ -46,6 +46,7 @@ export type IssuerTokenInfo = {
46
46
  export class IssuerSparkWallet extends SparkWallet {
47
47
  private issuerTokenTransactionService: IssuerTokenTransactionService;
48
48
  private tokenFreezeService: TokenFreezeService;
49
+ protected tracerId = "issuer-sdk";
49
50
 
50
51
  /**
51
52
  * Initializes a new IssuerSparkWallet instance.
@@ -61,7 +62,6 @@ export class IssuerSparkWallet extends SparkWallet {
61
62
  );
62
63
 
63
64
  if (isNode) {
64
- await wallet.initializeTracer("issuer-sdk");
65
65
  wallet.wrapIssuerSparkWalletWithTracing();
66
66
  }
67
67