veilix-sdk 0.0.3 → 0.0.4

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.cts CHANGED
@@ -1,4 +1,4 @@
1
- export { B as BuildDepositTxParams, a as BuildRelayPayloadParams, D as DepositTokenSymbol, E as EncryptKeyWallet, F as FetchWalletBalanceOptions, G as GenerateDepositParamsResult, b as GenerateWithdrawProofOptions, c as GetQuoteParams, d as GetQuoteResponse, I as IndexerAsset, N as Network, P as PreparedCircuitArtifacts, Q as Quote, e as QuoteRelayer, f as QuoteSplit, g as QuoteTransaction, R as RelayPayload, h as Relayer, i as ResolvedNoteAsset, T as TokenDecimalsSymbol, j as TokenSymbol, V as VeilixSDK, k as VeilixSdkInitOptions, l as VeilixSdkRuntimeConfig, m as VeilixTransferDepositFailure, n as VeilixTransferItem, o as VeilixTransferOptions, p as VeilixTransferResult, q as VeilixTransferWithdrawFailure, W as WithdrawParams, r as WithdrawResult, s as WithdrawStatus, V as default, t as getQuote, u as prepareCircuitArtifacts } from './VeilixSDK-zBJW48DL.cjs';
1
+ export { B as BuildDepositTxParams, a as BuildRelayPayloadParams, D as DepositTokenSymbol, E as EncryptKeyWallet, F as FetchWalletBalanceOptions, G as GenerateDepositParamsResult, b as GenerateWithdrawProofOptions, c as GetQuoteParams, d as GetQuoteResponse, I as IndexerAsset, N as Network, P as PreparedCircuitArtifacts, Q as Quote, e as QuoteRelayer, f as QuoteSplit, g as QuoteTransaction, R as RelayPayload, h as Relayer, i as ResolvedNoteAsset, T as TokenDecimalsSymbol, j as TokenSymbol, V as VeilixSDK, k as VeilixSdkInitOptions, l as VeilixSdkRuntimeConfig, m as VeilixTransferDepositFailure, n as VeilixTransferItem, o as VeilixTransferOptions, p as VeilixTransferResult, q as VeilixTransferWithdrawFailure, W as WithdrawParams, r as WithdrawResult, s as WithdrawStatus, V as default, t as getQuote, u as prepareCircuitArtifacts } from './VeilixSDK-CAMQrwDf.cjs';
2
2
  export { C as CircuitPaths, a as WITHDRAW_CIRCUIT_WASM, b as WITHDRAW_CIRCUIT_ZKEY, c as resolveCircuitPathsFromBase, d as resolveNpmCdnCircuitBase } from './constants-9OPXLj27.cjs';
3
3
  export { Wallet } from '@coral-xyz/anchor/dist/cjs/provider';
4
4
  import '@solana/web3.js';
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { B as BuildDepositTxParams, a as BuildRelayPayloadParams, D as DepositTokenSymbol, E as EncryptKeyWallet, F as FetchWalletBalanceOptions, G as GenerateDepositParamsResult, b as GenerateWithdrawProofOptions, c as GetQuoteParams, d as GetQuoteResponse, I as IndexerAsset, N as Network, P as PreparedCircuitArtifacts, Q as Quote, e as QuoteRelayer, f as QuoteSplit, g as QuoteTransaction, R as RelayPayload, h as Relayer, i as ResolvedNoteAsset, T as TokenDecimalsSymbol, j as TokenSymbol, V as VeilixSDK, k as VeilixSdkInitOptions, l as VeilixSdkRuntimeConfig, m as VeilixTransferDepositFailure, n as VeilixTransferItem, o as VeilixTransferOptions, p as VeilixTransferResult, q as VeilixTransferWithdrawFailure, W as WithdrawParams, r as WithdrawResult, s as WithdrawStatus, V as default, t as getQuote, u as prepareCircuitArtifacts } from './VeilixSDK-gVJF57i3.js';
1
+ export { B as BuildDepositTxParams, a as BuildRelayPayloadParams, D as DepositTokenSymbol, E as EncryptKeyWallet, F as FetchWalletBalanceOptions, G as GenerateDepositParamsResult, b as GenerateWithdrawProofOptions, c as GetQuoteParams, d as GetQuoteResponse, I as IndexerAsset, N as Network, P as PreparedCircuitArtifacts, Q as Quote, e as QuoteRelayer, f as QuoteSplit, g as QuoteTransaction, R as RelayPayload, h as Relayer, i as ResolvedNoteAsset, T as TokenDecimalsSymbol, j as TokenSymbol, V as VeilixSDK, k as VeilixSdkInitOptions, l as VeilixSdkRuntimeConfig, m as VeilixTransferDepositFailure, n as VeilixTransferItem, o as VeilixTransferOptions, p as VeilixTransferResult, q as VeilixTransferWithdrawFailure, W as WithdrawParams, r as WithdrawResult, s as WithdrawStatus, V as default, t as getQuote, u as prepareCircuitArtifacts } from './VeilixSDK-CCru3r_B.js';
2
2
  export { C as CircuitPaths, a as WITHDRAW_CIRCUIT_WASM, b as WITHDRAW_CIRCUIT_ZKEY, c as resolveCircuitPathsFromBase, d as resolveNpmCdnCircuitBase } from './constants-9OPXLj27.js';
3
3
  export { Wallet } from '@coral-xyz/anchor/dist/cjs/provider';
4
4
  import '@solana/web3.js';
package/dist/index.js CHANGED
@@ -3559,8 +3559,8 @@ function getProgramIdForNetwork(network) {
3559
3559
  function getIdlForNetwork(network) {
3560
3560
  return network === "devnet" ? veilix_devnet_default : veilix_default;
3561
3561
  }
3562
- var MAINNET_INDEXER_URL = "https://idx.veilixprivacy.com";
3563
- var DEVNET_INDEXER_URL = "https://indexer.veilixprivacy.com";
3562
+ var MAINNET_INDEXER_URL = "https://idx.veilixprotocol.com";
3563
+ var DEVNET_INDEXER_URL = "https://api.veilixprotocol.com";
3564
3564
  var INDEXER_URLS_BY_NETWORK = {
3565
3565
  mainnet: MAINNET_INDEXER_URL,
3566
3566
  devnet: DEVNET_INDEXER_URL
@@ -3579,7 +3579,7 @@ function getRiskApiUrlForNetwork(network) {
3579
3579
  return RISK_API_URLS_BY_NETWORK[network];
3580
3580
  }
3581
3581
  var MAINNET_TOKEN_MINTS = {
3582
- Veilix: "3jSL5nnnYcRLmTqFmwvY1Mikh42fQsT7p7NvXPYzanon",
3582
+ Veilix: "GAFN64LvtCBoc5BHncVn3JEJGpq42rUzQjPmvMK2UhZH",
3583
3583
  Bitcoin: "3NZ9JMVBmGAqocybic2c7LQCJScmgsAZ6vQqTDzcqmJh",
3584
3584
  Ethereum: "7vfCXTUXx5WJV5JADk17DUJ4ksgau7utNKj4b963voxs",
3585
3585
  USDC: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
@@ -3658,7 +3658,7 @@ var WITHDRAW_CIRCUIT_SHA256 = {
3658
3658
  zkey: "64a4d915099f6fe6bfa06e151c254843be8773c7991c742260019dc5184e5d82"
3659
3659
  };
3660
3660
  var CIRCUIT_CDN_PACKAGE = "veilix-sdk";
3661
- var CIRCUIT_CDN_VERSION = "0.0.2";
3661
+ var CIRCUIT_CDN_VERSION = "0.0.3";
3662
3662
  function resolveCircuitPathsFromBase(base) {
3663
3663
  const root = base.endsWith("/") ? base : `${base}/`;
3664
3664
  return {