@unicitylabs/sphere-sdk 0.5.3 → 0.5.5

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.
Files changed (50) hide show
  1. package/README.md +2 -0
  2. package/dist/connect/index.cjs +145 -23
  3. package/dist/connect/index.cjs.map +1 -1
  4. package/dist/connect/index.d.cts +15 -2
  5. package/dist/connect/index.d.ts +15 -2
  6. package/dist/connect/index.js +145 -23
  7. package/dist/connect/index.js.map +1 -1
  8. package/dist/core/index.cjs +670 -473
  9. package/dist/core/index.cjs.map +1 -1
  10. package/dist/core/index.d.cts +123 -2
  11. package/dist/core/index.d.ts +123 -2
  12. package/dist/core/index.js +667 -473
  13. package/dist/core/index.js.map +1 -1
  14. package/dist/impl/browser/connect/index.cjs +119 -1
  15. package/dist/impl/browser/connect/index.cjs.map +1 -1
  16. package/dist/impl/browser/connect/index.d.cts +53 -1
  17. package/dist/impl/browser/connect/index.d.ts +53 -1
  18. package/dist/impl/browser/connect/index.js +119 -1
  19. package/dist/impl/browser/connect/index.js.map +1 -1
  20. package/dist/impl/browser/index.cjs +306 -193
  21. package/dist/impl/browser/index.cjs.map +1 -1
  22. package/dist/impl/browser/index.js +306 -193
  23. package/dist/impl/browser/index.js.map +1 -1
  24. package/dist/impl/browser/ipfs.cjs +134 -19
  25. package/dist/impl/browser/ipfs.cjs.map +1 -1
  26. package/dist/impl/browser/ipfs.js +134 -19
  27. package/dist/impl/browser/ipfs.js.map +1 -1
  28. package/dist/impl/nodejs/connect/index.cjs +101 -6
  29. package/dist/impl/nodejs/connect/index.cjs.map +1 -1
  30. package/dist/impl/nodejs/connect/index.d.cts +2 -0
  31. package/dist/impl/nodejs/connect/index.d.ts +2 -0
  32. package/dist/impl/nodejs/connect/index.js +101 -6
  33. package/dist/impl/nodejs/connect/index.js.map +1 -1
  34. package/dist/impl/nodejs/index.cjs +267 -152
  35. package/dist/impl/nodejs/index.cjs.map +1 -1
  36. package/dist/impl/nodejs/index.d.cts +2 -1
  37. package/dist/impl/nodejs/index.d.ts +2 -1
  38. package/dist/impl/nodejs/index.js +267 -152
  39. package/dist/impl/nodejs/index.js.map +1 -1
  40. package/dist/index.cjs +682 -493
  41. package/dist/index.cjs.map +1 -1
  42. package/dist/index.d.cts +124 -8
  43. package/dist/index.d.ts +124 -8
  44. package/dist/index.js +680 -493
  45. package/dist/index.js.map +1 -1
  46. package/dist/l1/index.cjs +139 -32
  47. package/dist/l1/index.cjs.map +1 -1
  48. package/dist/l1/index.js +139 -32
  49. package/dist/l1/index.js.map +1 -1
  50. package/package.json +1 -16
@@ -631,7 +631,6 @@ declare class NostrTransportProvider implements TransportProvider {
631
631
  * because NIP17.createGiftWrap hardcodes kind 14 for the inner rumor.
632
632
  */
633
633
  private createCustomKindGiftWrap;
634
- private log;
635
634
  }
636
635
 
637
636
  /**
@@ -1554,6 +1553,8 @@ interface NodeTokenSyncConfig {
1554
1553
  interface NodeProvidersConfig {
1555
1554
  /** Network preset: mainnet, testnet, or dev */
1556
1555
  network?: NetworkType;
1556
+ /** Enable debug logging globally for all providers (default: false). Per-provider debug flags override this. */
1557
+ debug?: boolean;
1557
1558
  /** Directory for wallet data storage */
1558
1559
  dataDir?: string;
1559
1560
  /** Wallet file name (default: 'wallet.json') */
@@ -631,7 +631,6 @@ declare class NostrTransportProvider implements TransportProvider {
631
631
  * because NIP17.createGiftWrap hardcodes kind 14 for the inner rumor.
632
632
  */
633
633
  private createCustomKindGiftWrap;
634
- private log;
635
634
  }
636
635
 
637
636
  /**
@@ -1554,6 +1553,8 @@ interface NodeTokenSyncConfig {
1554
1553
  interface NodeProvidersConfig {
1555
1554
  /** Network preset: mainnet, testnet, or dev */
1556
1555
  network?: NetworkType;
1556
+ /** Enable debug logging globally for all providers (default: false). Per-provider debug flags override this. */
1557
+ debug?: boolean;
1557
1558
  /** Directory for wallet data storage */
1558
1559
  dataDir?: string;
1559
1560
  /** Wallet file name (default: 'wallet.json') */