@buildonspark/issuer-sdk 0.0.60 → 0.0.62

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
@@ -33,7 +33,7 @@ if (typeof global === "undefined") {
33
33
  window.global = window.globalThis;
34
34
  }
35
35
 
36
- // src/issuer-spark-wallet.ts
36
+ // src/issuer-wallet/issuer-spark-wallet.ts
37
37
  var import_lrc20_sdk = require("@buildonspark/lrc20-sdk");
38
38
  var import_spark_sdk3 = require("@buildonspark/spark-sdk");
39
39
  var import_core = require("@lightsparkdev/core");
@@ -278,7 +278,7 @@ function getEnumName(enumObj, value) {
278
278
  return enumObj[value];
279
279
  }
280
280
 
281
- // src/issuer-spark-wallet.ts
281
+ // src/issuer-wallet/issuer-spark-wallet.ts
282
282
  var import_spark_sdk4 = require("@buildonspark/spark-sdk");
283
283
  var import_lrc203 = require("@buildonspark/spark-sdk/proto/lrc20");
284
284
  var BURN_ADDRESS = "02".repeat(33);
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import "./chunk-77FPZDAE.js";
2
2
 
3
- // src/issuer-spark-wallet.ts
3
+ // src/issuer-wallet/issuer-spark-wallet.ts
4
4
  import { TokenPubkey, TokenPubkeyAnnouncement } from "@buildonspark/lrc20-sdk";
5
5
  import {
6
6
  NetworkError as NetworkError2,
@@ -261,7 +261,7 @@ function getEnumName(enumObj, value) {
261
261
  return enumObj[value];
262
262
  }
263
263
 
264
- // src/issuer-spark-wallet.ts
264
+ // src/issuer-wallet/issuer-spark-wallet.ts
265
265
  import { NotImplementedError } from "@buildonspark/spark-sdk";
266
266
  import {
267
267
  OperationType as OperationType2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@buildonspark/issuer-sdk",
3
- "version": "0.0.60",
3
+ "version": "0.0.62",
4
4
  "description": "Spark Issuer SDK for token issuance",
5
5
  "license": "Apache-2.0",
6
6
  "module": "./dist/index.js",
@@ -58,12 +58,11 @@
58
58
  "test:integration": "yarn test-cmd src/tests/integration/*.test.ts",
59
59
  "test:stress": "yarn test-cmd src/tests/stress/*.test.ts",
60
60
  "types:watch": "tsc-absolute --watch",
61
- "types": "tsc",
62
- "generate:proto": "PATH=\"$PATH:./node_modules/.bin\" protoc --ts_proto_out=./src/proto --ts_proto_opt=outputServices=nice-grpc,useExactTypes=false,outputServices=generic-definitions,oneof=unions,importSuffix=.js --proto_path=../../../../protos spark.proto mock.proto spark_authn.proto && yarn format:fix"
61
+ "types": "tsc"
63
62
  },
64
63
  "dependencies": {
65
- "@buildonspark/lrc20-sdk": "0.0.52",
66
- "@buildonspark/spark-sdk": "0.1.29",
64
+ "@buildonspark/lrc20-sdk": "0.0.54",
65
+ "@buildonspark/spark-sdk": "0.1.31",
67
66
  "@lightsparkdev/core": "^1.4.0",
68
67
  "@noble/curves": "^1.8.0",
69
68
  "@scure/btc-signer": "^1.5.0",
package/src/index.ts CHANGED
@@ -1 +1 @@
1
- export * from "./issuer-spark-wallet.js";
1
+ export * from "./issuer-wallet/issuer-spark-wallet.js";
@@ -18,10 +18,10 @@ import {
18
18
  bytesToNumberBE,
19
19
  hexToBytes,
20
20
  } from "@noble/curves/abstract/utils";
21
- import { TokenFreezeService } from "./services/freeze.js";
22
- import { IssuerTokenTransactionService } from "./services/token-transactions.js";
23
- import { TokenActivityResponse, TokenDistribution } from "./types.js";
24
- import { convertToTokenActivity } from "./utils/type-mappers.js";
21
+ import { TokenFreezeService } from "../services/freeze.js";
22
+ import { IssuerTokenTransactionService } from "../services/token-transactions.js";
23
+ import { TokenActivityResponse, TokenDistribution } from "../types.js";
24
+ import { convertToTokenActivity } from "../utils/type-mappers.js";
25
25
  import { NotImplementedError } from "@buildonspark/spark-sdk";
26
26
  import {
27
27
  ListAllTokenTransactionsCursor,
@@ -1,4 +1,4 @@
1
- import { IssuerSparkWallet } from "../../issuer-spark-wallet.js";
1
+ import { IssuerSparkWallet } from "../../issuer-wallet/issuer-spark-wallet.js";
2
2
  import { jest } from "@jest/globals";
3
3
  import { LOCAL_WALLET_CONFIG_ECDSA } from "../../../../spark-sdk/src/services/wallet-config.js";
4
4
  import { SparkWallet } from "@buildonspark/spark-sdk";
@@ -1,5 +1,5 @@
1
1
  import { SparkWalletProps } from "@buildonspark/spark-sdk";
2
- import { IssuerSparkWallet } from "../../issuer-spark-wallet.js";
2
+ import { IssuerSparkWallet } from "../../issuer-wallet/issuer-spark-wallet.js";
3
3
 
4
4
  export class IssuerSparkWalletTesting extends IssuerSparkWallet {
5
5
  private disableEvents: boolean;