@sats-connect/core 0.6.10 → 0.6.11-c6ef41a

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.d.mts CHANGED
@@ -1829,18 +1829,21 @@ declare const addNetworkParamsSchema: v.VariantSchema<"chain", [v.ObjectSchema<{
1829
1829
  readonly rpcFallbackUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1830
1830
  readonly indexerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1831
1831
  readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1832
+ readonly switch: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1832
1833
  }, undefined>, v.ObjectSchema<{
1833
1834
  readonly chain: v.LiteralSchema<"stacks", undefined>;
1834
1835
  readonly name: v.StringSchema<undefined>;
1835
1836
  readonly type: v.EnumSchema<typeof StacksNetworkType, undefined>;
1836
1837
  readonly rpcUrl: v.StringSchema<undefined>;
1837
1838
  readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1839
+ readonly switch: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1838
1840
  }, undefined>, v.ObjectSchema<{
1839
1841
  readonly chain: v.LiteralSchema<"starknet", undefined>;
1840
1842
  readonly name: v.StringSchema<undefined>;
1841
1843
  readonly type: v.EnumSchema<typeof StarknetNetworkType, undefined>;
1842
1844
  readonly rpcUrl: v.StringSchema<undefined>;
1843
1845
  readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1846
+ readonly switch: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1844
1847
  }, undefined>], undefined>;
1845
1848
  type AddNetworkParams = v.InferOutput<typeof addNetworkParamsSchema>;
1846
1849
  declare const addNetworkRequestMessageSchema: v.ObjectSchema<{
@@ -1853,18 +1856,21 @@ declare const addNetworkRequestMessageSchema: v.ObjectSchema<{
1853
1856
  readonly rpcFallbackUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1854
1857
  readonly indexerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1855
1858
  readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1859
+ readonly switch: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1856
1860
  }, undefined>, v.ObjectSchema<{
1857
1861
  readonly chain: v.LiteralSchema<"stacks", undefined>;
1858
1862
  readonly name: v.StringSchema<undefined>;
1859
1863
  readonly type: v.EnumSchema<typeof StacksNetworkType, undefined>;
1860
1864
  readonly rpcUrl: v.StringSchema<undefined>;
1861
1865
  readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1866
+ readonly switch: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1862
1867
  }, undefined>, v.ObjectSchema<{
1863
1868
  readonly chain: v.LiteralSchema<"starknet", undefined>;
1864
1869
  readonly name: v.StringSchema<undefined>;
1865
1870
  readonly type: v.EnumSchema<typeof StarknetNetworkType, undefined>;
1866
1871
  readonly rpcUrl: v.StringSchema<undefined>;
1867
1872
  readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1873
+ readonly switch: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1868
1874
  }, undefined>], undefined>;
1869
1875
  readonly id: v.StringSchema<undefined>;
1870
1876
  readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
package/dist/index.d.ts CHANGED
@@ -1829,18 +1829,21 @@ declare const addNetworkParamsSchema: v.VariantSchema<"chain", [v.ObjectSchema<{
1829
1829
  readonly rpcFallbackUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1830
1830
  readonly indexerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1831
1831
  readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1832
+ readonly switch: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1832
1833
  }, undefined>, v.ObjectSchema<{
1833
1834
  readonly chain: v.LiteralSchema<"stacks", undefined>;
1834
1835
  readonly name: v.StringSchema<undefined>;
1835
1836
  readonly type: v.EnumSchema<typeof StacksNetworkType, undefined>;
1836
1837
  readonly rpcUrl: v.StringSchema<undefined>;
1837
1838
  readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1839
+ readonly switch: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1838
1840
  }, undefined>, v.ObjectSchema<{
1839
1841
  readonly chain: v.LiteralSchema<"starknet", undefined>;
1840
1842
  readonly name: v.StringSchema<undefined>;
1841
1843
  readonly type: v.EnumSchema<typeof StarknetNetworkType, undefined>;
1842
1844
  readonly rpcUrl: v.StringSchema<undefined>;
1843
1845
  readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1846
+ readonly switch: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1844
1847
  }, undefined>], undefined>;
1845
1848
  type AddNetworkParams = v.InferOutput<typeof addNetworkParamsSchema>;
1846
1849
  declare const addNetworkRequestMessageSchema: v.ObjectSchema<{
@@ -1853,18 +1856,21 @@ declare const addNetworkRequestMessageSchema: v.ObjectSchema<{
1853
1856
  readonly rpcFallbackUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1854
1857
  readonly indexerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1855
1858
  readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1859
+ readonly switch: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1856
1860
  }, undefined>, v.ObjectSchema<{
1857
1861
  readonly chain: v.LiteralSchema<"stacks", undefined>;
1858
1862
  readonly name: v.StringSchema<undefined>;
1859
1863
  readonly type: v.EnumSchema<typeof StacksNetworkType, undefined>;
1860
1864
  readonly rpcUrl: v.StringSchema<undefined>;
1861
1865
  readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1866
+ readonly switch: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1862
1867
  }, undefined>, v.ObjectSchema<{
1863
1868
  readonly chain: v.LiteralSchema<"starknet", undefined>;
1864
1869
  readonly name: v.StringSchema<undefined>;
1865
1870
  readonly type: v.EnumSchema<typeof StarknetNetworkType, undefined>;
1866
1871
  readonly rpcUrl: v.StringSchema<undefined>;
1867
1872
  readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1873
+ readonly switch: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1868
1874
  }, undefined>], undefined>;
1869
1875
  readonly id: v.StringSchema<undefined>;
1870
1876
  readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
package/dist/index.js CHANGED
@@ -674,21 +674,24 @@ var addNetworkParamsSchema = v7.variant("chain", [
674
674
  rpcUrl: v7.string(),
675
675
  rpcFallbackUrl: v7.optional(v7.string()),
676
676
  indexerUrl: v7.optional(v7.string()),
677
- blockExplorerUrl: v7.optional(v7.string())
677
+ blockExplorerUrl: v7.optional(v7.string()),
678
+ switch: v7.optional(v7.boolean())
678
679
  }),
679
680
  v7.object({
680
681
  chain: v7.literal("stacks"),
681
682
  name: v7.string(),
682
683
  type: v7.enum(StacksNetworkType),
683
684
  rpcUrl: v7.string(),
684
- blockExplorerUrl: v7.optional(v7.string())
685
+ blockExplorerUrl: v7.optional(v7.string()),
686
+ switch: v7.optional(v7.boolean())
685
687
  }),
686
688
  v7.object({
687
689
  chain: v7.literal("starknet"),
688
690
  name: v7.string(),
689
691
  type: v7.enum(StarknetNetworkType),
690
692
  rpcUrl: v7.string(),
691
- blockExplorerUrl: v7.optional(v7.string())
693
+ blockExplorerUrl: v7.optional(v7.string()),
694
+ switch: v7.optional(v7.boolean())
692
695
  })
693
696
  ]);
694
697
  var addNetworkRequestMessageSchema = v7.object({
package/dist/index.mjs CHANGED
@@ -461,21 +461,24 @@ var addNetworkParamsSchema = v7.variant("chain", [
461
461
  rpcUrl: v7.string(),
462
462
  rpcFallbackUrl: v7.optional(v7.string()),
463
463
  indexerUrl: v7.optional(v7.string()),
464
- blockExplorerUrl: v7.optional(v7.string())
464
+ blockExplorerUrl: v7.optional(v7.string()),
465
+ switch: v7.optional(v7.boolean())
465
466
  }),
466
467
  v7.object({
467
468
  chain: v7.literal("stacks"),
468
469
  name: v7.string(),
469
470
  type: v7.enum(StacksNetworkType),
470
471
  rpcUrl: v7.string(),
471
- blockExplorerUrl: v7.optional(v7.string())
472
+ blockExplorerUrl: v7.optional(v7.string()),
473
+ switch: v7.optional(v7.boolean())
472
474
  }),
473
475
  v7.object({
474
476
  chain: v7.literal("starknet"),
475
477
  name: v7.string(),
476
478
  type: v7.enum(StarknetNetworkType),
477
479
  rpcUrl: v7.string(),
478
- blockExplorerUrl: v7.optional(v7.string())
480
+ blockExplorerUrl: v7.optional(v7.string()),
481
+ switch: v7.optional(v7.boolean())
479
482
  })
480
483
  ]);
481
484
  var addNetworkRequestMessageSchema = v7.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sats-connect/core",
3
- "version": "0.6.10",
3
+ "version": "0.6.11-c6ef41a",
4
4
  "main": "dist/index.mjs",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.mts",