@buildonspark/issuer-sdk 0.0.49 → 0.0.51

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
@@ -352,7 +352,10 @@ var IssuerSparkWallet = class _IssuerSparkWallet extends import_spark_sdk3.Spark
352
352
  */
353
353
  static async initialize(options) {
354
354
  const wallet = new _IssuerSparkWallet(options.options);
355
- const initResponse = await wallet.initWallet(options.mnemonicOrSeed);
355
+ const initResponse = await wallet.initWallet(
356
+ options.mnemonicOrSeed,
357
+ options.accountNumber
358
+ );
356
359
  return {
357
360
  wallet,
358
361
  ...initResponse
package/dist/index.js CHANGED
@@ -330,7 +330,10 @@ var IssuerSparkWallet = class _IssuerSparkWallet extends SparkWallet {
330
330
  */
331
331
  static async initialize(options) {
332
332
  const wallet = new _IssuerSparkWallet(options.options);
333
- const initResponse = await wallet.initWallet(options.mnemonicOrSeed);
333
+ const initResponse = await wallet.initWallet(
334
+ options.mnemonicOrSeed,
335
+ options.accountNumber
336
+ );
334
337
  return {
335
338
  wallet,
336
339
  ...initResponse
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@buildonspark/issuer-sdk",
3
- "version": "0.0.49",
3
+ "version": "0.0.51",
4
4
  "description": "Spark Issuer SDK for token issuance",
5
5
  "license": "Apache-2.0",
6
6
  "module": "./dist/index.js",
@@ -54,8 +54,8 @@
54
54
  },
55
55
  "dependencies": {
56
56
  "@bufbuild/protobuf": "^2.2.5",
57
- "@buildonspark/lrc20-sdk": "0.0.44",
58
- "@buildonspark/spark-sdk": "0.1.18",
57
+ "@buildonspark/lrc20-sdk": "0.0.46",
58
+ "@buildonspark/spark-sdk": "0.1.20",
59
59
  "@noble/curves": "^1.8.0",
60
60
  "@scure/btc-signer": "^1.5.0",
61
61
  "bitcoinjs-lib": "^6.1.5",
@@ -54,7 +54,10 @@ export class IssuerSparkWallet extends SparkWallet {
54
54
  public static async initialize(options: SparkWalletProps) {
55
55
  const wallet = new IssuerSparkWallet(options.options);
56
56
 
57
- const initResponse = await wallet.initWallet(options.mnemonicOrSeed);
57
+ const initResponse = await wallet.initWallet(
58
+ options.mnemonicOrSeed,
59
+ options.accountNumber,
60
+ );
58
61
  return {
59
62
  wallet,
60
63
  ...initResponse,