@gardenfi/core 2.0.1 → 2.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.
- package/dist/index.cjs +9 -9
- package/dist/index.js +8 -3
- package/dist/src/index.d.ts +1 -0
- package/dist/src/lib/constants.d.ts +7 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6423,15 +6423,19 @@ class jh {
|
|
|
6423
6423
|
const Ao = {
|
|
6424
6424
|
mainnet: {
|
|
6425
6425
|
orderbook: "https://orderbookv2.garden.finance",
|
|
6426
|
-
quote: "https://
|
|
6426
|
+
quote: "https://pricev2.garden.finance",
|
|
6427
6427
|
info: "https://infov2.garden.finance"
|
|
6428
6428
|
},
|
|
6429
6429
|
testnet: {
|
|
6430
6430
|
orderbook: "https://orderbook.garden.finance",
|
|
6431
|
-
quote: "https://
|
|
6431
|
+
quote: "https://price.garden.finance",
|
|
6432
6432
|
info: "https://info.garden.finance"
|
|
6433
6433
|
},
|
|
6434
|
-
localnet: {
|
|
6434
|
+
localnet: {
|
|
6435
|
+
orderbook: "",
|
|
6436
|
+
quote: "",
|
|
6437
|
+
info: ""
|
|
6438
|
+
}
|
|
6435
6439
|
};
|
|
6436
6440
|
class Gh {
|
|
6437
6441
|
constructor(t) {
|
|
@@ -11822,6 +11826,7 @@ const ni = {
|
|
|
11822
11826
|
return j("Chain not supported");
|
|
11823
11827
|
}, hy = (e) => typeof e == "object" && e !== null && "code" in e && e.code === 4902;
|
|
11824
11828
|
export {
|
|
11829
|
+
Ao as API,
|
|
11825
11830
|
jh as BlockNumberFetcher,
|
|
11826
11831
|
Eu as EvmRelay,
|
|
11827
11832
|
Ay as Garden,
|
package/dist/src/index.d.ts
CHANGED
|
@@ -13,3 +13,4 @@ export { Quote } from './lib/quote/quote';
|
|
|
13
13
|
export type { IQuote, QuoteResponse, Strategies, } from './lib/quote/quote.types';
|
|
14
14
|
export { constructOrderPair, validateBTCAddress } from './lib/utils';
|
|
15
15
|
export { citreaTestnet, evmToViemChainMap, switchOrAddNetwork, } from './lib/switchOrAddNetwork';
|
|
16
|
+
export { API } from './lib/constants';
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
export declare const API: {
|
|
2
2
|
readonly mainnet: {
|
|
3
3
|
readonly orderbook: "https://orderbookv2.garden.finance";
|
|
4
|
-
readonly quote: "https://
|
|
4
|
+
readonly quote: "https://pricev2.garden.finance";
|
|
5
5
|
readonly info: "https://infov2.garden.finance";
|
|
6
6
|
};
|
|
7
7
|
readonly testnet: {
|
|
8
8
|
readonly orderbook: "https://orderbook.garden.finance";
|
|
9
|
-
readonly quote: "https://
|
|
9
|
+
readonly quote: "https://price.garden.finance";
|
|
10
10
|
readonly info: "https://info.garden.finance";
|
|
11
11
|
};
|
|
12
|
-
readonly localnet: {
|
|
12
|
+
readonly localnet: {
|
|
13
|
+
readonly orderbook: "";
|
|
14
|
+
readonly quote: "";
|
|
15
|
+
readonly info: "";
|
|
16
|
+
};
|
|
13
17
|
};
|