@gardenfi/core 3.1.3-beta.3 → 3.1.3-beta.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.
- package/dist/{ccip-BvKEJ2rq.cjs → ccip-7GC2QpNR.cjs} +1 -1
- package/dist/{ccip-CmI_mUs_.js → ccip-CV289Rm5.js} +1 -1
- package/dist/{index-Bwri4W_7.js → index-BfMwOQpk.js} +2039 -2027
- package/dist/{index-vTEWbzMh.cjs → index-OgROu-Vq.cjs} +31 -31
- package/dist/index.cjs +1 -1
- package/dist/index.js +12 -11
- package/dist/src/index.d.ts +1 -1
- package/dist/src/lib/bitcoin/API.d.ts +1 -0
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-OgROu-Vq.cjs");exports.API=e.API;exports.BitcoinNetwork=e.BitcoinNetwork;exports.BitcoinProvider=e.BitcoinProvider;exports.BitcoinWallet=e.BitcoinWallet;exports.DEFAULT_AFFILIATE_ASSET=e.DEFAULT_AFFILIATE_ASSET;exports.EvmRelay=e.EvmRelay;exports.Garden=e.Garden;exports.OrderCreationStatus=e.OrderCreationStatus;exports.Quote=e.Quote;exports.STARKNET_CONFIG=e.STARKNET_CONFIG;exports.SUI_CONFIG=e.SUI_CONFIG;exports.SecretManager=e.SecretManager;exports.SolanaHTLC=e.SolanaHTLC;exports.SolanaRelay=e.SolanaRelay;exports.SolanaRelayerAddress=e.SolanaRelayerAddress;exports.StarknetHTLC=e.StarknetHTLC;exports.StarknetRelay=e.StarknetRelay;exports.TRON_CONFIG=e.TRON_CONFIG;exports.XRPL_CONFIG=e.XRPL_CONFIG;exports.XrplRelay=e.XrplRelay;exports.alpenTestnet=e.alpenTestnet;exports.botanixMainnet=e.botanixMainnet;exports.checkStarknetAlloance=e.checkAllowance;exports.checkStarknetAllowanceAndApprove=e.checkAllowanceAndApprove;exports.evmToViemChainMap=e.evmToViemChainMap;exports.getChainNameFromChainId=e.getChainNameFromChainId;exports.hyperevm=e.hyperevm;exports.hyperliquidTestnet=e.hyperliquidTestnet;exports.isStarknetAllowanceSufficient=e.isAllowanceSufficient;exports.megaethMainnet=e.megaethMainnet;exports.resolveApiConfig=e.resolveApiConfig;exports.solanaProgramAddress=e.solanaProgramAddress;exports.switchOrAddNetwork=e.switchOrAddNetwork;exports.toXOnly=e.toXOnly;exports.validateBTCAddress=e.validateBTCAddress;exports.validateLTCAddress=e.validateLTCAddress;exports.validateSparkAddress=e.validateSparkAddress;
|
package/dist/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { M as s, I as t, J as n, K as r, L as i, E as o, G as l, V as d, Q as A, N as S, O as C, m as T, k as c, j as k, R as p, h, S as m, T as v, P as I, X as N, C as y, w as F, p as O, n as R, x as L, y as w, z as E, A as G, o as _, D as g, r as u, U as M, F as P, t as f, v as B, q as X, u as x } from "./index-BfMwOQpk.js";
|
|
2
2
|
export {
|
|
3
3
|
s as API,
|
|
4
4
|
t as BitcoinNetwork,
|
|
5
5
|
n as BitcoinProvider,
|
|
6
6
|
r as BitcoinWallet,
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
i as DEFAULT_AFFILIATE_ASSET,
|
|
8
|
+
o as EvmRelay,
|
|
9
9
|
l as Garden,
|
|
10
10
|
d as OrderCreationStatus,
|
|
11
11
|
A as Quote,
|
|
@@ -13,13 +13,13 @@ export {
|
|
|
13
13
|
C as SUI_CONFIG,
|
|
14
14
|
T as SecretManager,
|
|
15
15
|
c as SolanaHTLC,
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
16
|
+
k as SolanaRelay,
|
|
17
|
+
p as SolanaRelayerAddress,
|
|
18
|
+
h as StarknetHTLC,
|
|
19
|
+
m as StarknetRelay,
|
|
20
|
+
v as TRON_CONFIG,
|
|
21
|
+
I as XRPL_CONFIG,
|
|
22
|
+
N as XrplRelay,
|
|
23
23
|
y as alpenTestnet,
|
|
24
24
|
F as botanixMainnet,
|
|
25
25
|
O as checkStarknetAlloance,
|
|
@@ -35,5 +35,6 @@ export {
|
|
|
35
35
|
P as switchOrAddNetwork,
|
|
36
36
|
f as toXOnly,
|
|
37
37
|
B as validateBTCAddress,
|
|
38
|
-
X as validateLTCAddress
|
|
38
|
+
X as validateLTCAddress,
|
|
39
|
+
x as validateSparkAddress
|
|
39
40
|
};
|
package/dist/src/index.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export type { ISecretManager, Secret, SecretManagerEvents, } from './lib/secretM
|
|
|
15
15
|
export { checkAllowanceAndApprove as checkStarknetAllowanceAndApprove, isAllowanceSufficient as isStarknetAllowanceSufficient, checkAllowance as checkStarknetAlloance, } from './lib/starknet/checkAllowanceAndApprove';
|
|
16
16
|
export { Quote } from './lib/quote/quote';
|
|
17
17
|
export type { StrategiesResponse, BaseQuoteParams, IQuote, QuoteOptions, QuoteParamsForAssets, QuoteParamsForOrderPair, QuoteResponse, Strategies, } from './lib/quote/quote.types';
|
|
18
|
-
export { validateBTCAddress, toXOnly, resolveApiConfig, validateLTCAddress, } from './lib/utils';
|
|
18
|
+
export { validateBTCAddress, toXOnly, resolveApiConfig, validateLTCAddress, validateSparkAddress, } from './lib/utils';
|
|
19
19
|
export { botanixMainnet, evmToViemChainMap, getChainNameFromChainId, hyperevm, hyperliquidTestnet, alpenTestnet, megaethMainnet, switchOrAddNetwork, } from './lib/switchOrAddNetwork';
|
|
20
20
|
export { BitcoinNetwork } from './lib/bitcoin/provider/provider.interface';
|
|
21
21
|
export { BitcoinProvider } from './lib/bitcoin/provider/provider';
|
|
@@ -4,3 +4,4 @@ export declare const verifyAPIs: (APIs: string[]) => string[];
|
|
|
4
4
|
export declare const getAPIs: (network: Network) => string[];
|
|
5
5
|
export declare const RPC_URLS_TESTNET: string[];
|
|
6
6
|
export declare const RPC_URLS_MAINNET: string[];
|
|
7
|
+
export declare const RPC_URLS_LOCALNET: string[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gardenfi/core",
|
|
3
|
-
"version": "3.1.3-beta.
|
|
3
|
+
"version": "3.1.3-beta.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "vite build",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"@buildonspark/spark-sdk": "^0.6.3",
|
|
31
31
|
"@coral-xyz/anchor": "^0.31.1",
|
|
32
32
|
"@crossmarkio/sdk": "^0.4.0",
|
|
33
|
-
"@gardenfi/orderbook": "3.1.3-beta.
|
|
34
|
-
"@gardenfi/utils": "3.1.1-beta.
|
|
33
|
+
"@gardenfi/orderbook": "3.1.3-beta.5",
|
|
34
|
+
"@gardenfi/utils": "3.1.1-beta.3",
|
|
35
35
|
"@mysten/signers": "^0.3.4",
|
|
36
36
|
"@mysten/sui": "^1.37.1",
|
|
37
37
|
"@mysten/wallet-standard": "^0.16.9",
|