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/{VeilixSDK-zBJW48DL.d.cts → VeilixSDK-CAMQrwDf.d.cts} +2 -2
- package/dist/{VeilixSDK-gVJF57i3.d.ts → VeilixSDK-CCru3r_B.d.ts} +2 -2
- package/dist/circuits/paths.cjs +1 -1
- package/dist/circuits/paths.cjs.map +1 -1
- package/dist/circuits/paths.js +1 -1
- package/dist/circuits/paths.js.map +1 -1
- package/dist/circuits/withdraw.wasm +0 -0
- package/dist/circuits/withdraw.zkey +0 -0
- package/dist/index.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/react/index.cjs +4 -4
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.d.cts +1 -1
- package/dist/react/index.d.ts +1 -1
- package/dist/react/index.js +4 -4
- package/dist/react/index.js.map +1 -1
- package/dist/vite/index.cjs.map +1 -1
- package/dist/vite/index.js.map +1 -1
- package/package.json +1 -1
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-
|
|
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-
|
|
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.
|
|
3563
|
-
var DEVNET_INDEXER_URL = "https://
|
|
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: "
|
|
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.
|
|
3661
|
+
var CIRCUIT_CDN_VERSION = "0.0.3";
|
|
3662
3662
|
function resolveCircuitPathsFromBase(base) {
|
|
3663
3663
|
const root = base.endsWith("/") ? base : `${base}/`;
|
|
3664
3664
|
return {
|