@gardenfi/core 3.1.1 → 3.1.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/{ccip-BbdJQGO7.cjs → ccip-CcqqBKRt.cjs} +1 -1
- package/dist/{ccip-B0_vR103.js → ccip-CmDSvv5g.js} +1 -1
- package/dist/{index-TNTIdP13.js → index-CXBmeQii.js} +480 -458
- package/dist/{index-DniPFdOW.cjs → index-DO-nU4_X.cjs} +37 -37
- package/dist/index.cjs +1 -1
- package/dist/index.js +12 -11
- package/dist/src/index.d.ts +1 -1
- package/dist/src/lib/switchOrAddNetwork.d.ts +1 -0
- package/package.json +2 -2
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-DO-nU4_X.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;
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { L as s, F as t, I as n, J as r, K as o, E as i, G as l, U as d, Q as A, M as S, N as C, m as T, k as c, j as h, P as k, h as m, S as p, T as I, O as N, X as v, A as y, u as F, p as O, n as R, w as L, x as w, y as E, z as G, o as _, C as g, r as u, R as M, D as P, t as f, v as B, q as X } from "./index-CXBmeQii.js";
|
|
2
2
|
export {
|
|
3
3
|
s as API,
|
|
4
4
|
t as BitcoinNetwork,
|
|
@@ -13,12 +13,12 @@ export {
|
|
|
13
13
|
C as SUI_CONFIG,
|
|
14
14
|
T as SecretManager,
|
|
15
15
|
c as SolanaHTLC,
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
16
|
+
h as SolanaRelay,
|
|
17
|
+
k as SolanaRelayerAddress,
|
|
18
|
+
m as StarknetHTLC,
|
|
19
|
+
p as StarknetRelay,
|
|
20
|
+
I as TRON_CONFIG,
|
|
21
|
+
N as XRPL_CONFIG,
|
|
22
22
|
v as XrplRelay,
|
|
23
23
|
y as alpenTestnet,
|
|
24
24
|
F as botanixMainnet,
|
|
@@ -29,10 +29,11 @@ export {
|
|
|
29
29
|
E as hyperevm,
|
|
30
30
|
G as hyperliquidTestnet,
|
|
31
31
|
_ as isStarknetAllowanceSufficient,
|
|
32
|
+
g as megaethMainnet,
|
|
32
33
|
u as resolveApiConfig,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
M as solanaProgramAddress,
|
|
35
|
+
P as switchOrAddNetwork,
|
|
36
|
+
f as toXOnly,
|
|
36
37
|
B as validateBTCAddress,
|
|
37
|
-
|
|
38
|
+
X as validateLTCAddress
|
|
38
39
|
};
|
package/dist/src/index.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export { checkAllowanceAndApprove as checkStarknetAllowanceAndApprove, isAllowan
|
|
|
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
18
|
export { validateBTCAddress, toXOnly, resolveApiConfig, validateLTCAddress, } from './lib/utils';
|
|
19
|
-
export { botanixMainnet, evmToViemChainMap, getChainNameFromChainId, hyperevm, hyperliquidTestnet, alpenTestnet, switchOrAddNetwork, } from './lib/switchOrAddNetwork';
|
|
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';
|
|
22
22
|
export { BitcoinWallet } from './lib/bitcoin/wallet/wallet';
|
|
@@ -9,6 +9,7 @@ export declare const hyperevm: viemChain;
|
|
|
9
9
|
export declare const alpenTestnet: viemChain;
|
|
10
10
|
export declare const monadMainnet: viemChain;
|
|
11
11
|
export declare const citreaMainnet: viemChain;
|
|
12
|
+
export declare const megaethMainnet: viemChain;
|
|
12
13
|
export declare const evmToViemChainMap: Record<EVMChains, viemChain>;
|
|
13
14
|
export declare const getChainNameFromChainId: (chainId: number) => EVMChains | null;
|
|
14
15
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gardenfi/core",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "vite build",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@coral-xyz/anchor": "^0.31.1",
|
|
31
31
|
"@crossmarkio/sdk": "^0.4.0",
|
|
32
|
-
"@gardenfi/orderbook": "3.1.
|
|
32
|
+
"@gardenfi/orderbook": "3.1.3",
|
|
33
33
|
"@gardenfi/utils": "3.1.1",
|
|
34
34
|
"@mysten/signers": "^0.3.4",
|
|
35
35
|
"@mysten/sui": "^1.37.1",
|