veilix-sdk 0.0.1 → 0.0.3

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.
@@ -1,4 +1,4 @@
1
- import { N as Network, V as VeilixSDK } from '../VeilixSDK-BNEMLchN.cjs';
1
+ import { N as Network, V as VeilixSDK } from '../VeilixSDK-zBJW48DL.cjs';
2
2
  import '@solana/web3.js';
3
3
  import '@switchboard-xyz/common';
4
4
  import '@coral-xyz/anchor';
@@ -6,7 +6,6 @@ import '@coral-xyz/anchor/dist/cjs/provider';
6
6
  import '../constants-9OPXLj27.cjs';
7
7
 
8
8
  type UseVeilixSdkOptions = {
9
- rangeApiKey: string;
10
9
  /** Target Solana cluster. */
11
10
  network: Network;
12
11
  /** Override circuit artifact base path/URL (see {@link VeilixSdkInitOptions.circuitPathsBase}). */
@@ -22,7 +21,7 @@ type UseVeilixSdkOptions = {
22
21
  * import { useVeilixSdk } from "veilix-sdk/react";
23
22
  *
24
23
  * function MyComponent() {
25
- * const sdk = useVeilixSdk({ rangeApiKey: import.meta.env.VITE_RANGE_API_KEY, network: "mainnet" });
24
+ * const sdk = useVeilixSdk({ network: "mainnet" });
26
25
  * if (!sdk) return null;
27
26
  * // ...
28
27
  * }
@@ -1,4 +1,4 @@
1
- import { N as Network, V as VeilixSDK } from '../VeilixSDK-COH9bKmD.js';
1
+ import { N as Network, V as VeilixSDK } from '../VeilixSDK-gVJF57i3.js';
2
2
  import '@solana/web3.js';
3
3
  import '@switchboard-xyz/common';
4
4
  import '@coral-xyz/anchor';
@@ -6,7 +6,6 @@ import '@coral-xyz/anchor/dist/cjs/provider';
6
6
  import '../constants-9OPXLj27.js';
7
7
 
8
8
  type UseVeilixSdkOptions = {
9
- rangeApiKey: string;
10
9
  /** Target Solana cluster. */
11
10
  network: Network;
12
11
  /** Override circuit artifact base path/URL (see {@link VeilixSdkInitOptions.circuitPathsBase}). */
@@ -22,7 +21,7 @@ type UseVeilixSdkOptions = {
22
21
  * import { useVeilixSdk } from "veilix-sdk/react";
23
22
  *
24
23
  * function MyComponent() {
25
- * const sdk = useVeilixSdk({ rangeApiKey: import.meta.env.VITE_RANGE_API_KEY, network: "mainnet" });
24
+ * const sdk = useVeilixSdk({ network: "mainnet" });
26
25
  * if (!sdk) return null;
27
26
  * // ...
28
27
  * }