@gardenfi/core 3.1.3-beta.7 → 3.1.3-beta.8
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-wI3PRauT.js → ccip-BlFOttA4.js} +1 -1
- package/dist/{ccip-9wE0k7Pj.cjs → ccip-DbPF0sar.cjs} +1 -1
- package/dist/{index-kwT6gwzd.js → index-Cj-02_XM.js} +983 -960
- package/dist/{index-D9fRPVnU.cjs → index-S979upkn.cjs} +34 -34
- package/dist/index.cjs +1 -1
- package/dist/index.js +15 -14
- package/dist/src/index.d.ts +1 -1
- package/dist/src/lib/garden/garden.types.d.ts +1 -0
- package/dist/src/lib/utils.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-S979upkn.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.validateLightningAddress=e.validateLightningAddress;exports.validateSparkAddress=e.validateSparkAddress;
|
package/dist/index.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { N as s, J as t, K as n, L as r, M as i, E as l, G as o, W as d, Q as A, O as S, P as C, m as T, k as c, j as h, U as k, h as p, S as v, T as m, R as I, X as N, D as y, x as F, p as O, n as R, y as L, z as g, A as w, C as E, o as G, F as _, r as u, V as M, I as P, t as f, v as B, q as X, w as x, u as U } from "./index-Cj-02_XM.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
7
|
i as DEFAULT_AFFILIATE_ASSET,
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
l as EvmRelay,
|
|
9
|
+
o as Garden,
|
|
10
10
|
d as OrderCreationStatus,
|
|
11
11
|
A as Quote,
|
|
12
12
|
S as STARKNET_CONFIG,
|
|
13
13
|
C as SUI_CONFIG,
|
|
14
14
|
T as SecretManager,
|
|
15
15
|
c as SolanaHTLC,
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
16
|
+
h as SolanaRelay,
|
|
17
|
+
k as SolanaRelayerAddress,
|
|
18
|
+
p as StarknetHTLC,
|
|
19
|
+
v as StarknetRelay,
|
|
20
|
+
m as TRON_CONFIG,
|
|
21
21
|
I as XRPL_CONFIG,
|
|
22
22
|
N as XrplRelay,
|
|
23
23
|
y as alpenTestnet,
|
|
@@ -25,16 +25,17 @@ export {
|
|
|
25
25
|
O as checkStarknetAlloance,
|
|
26
26
|
R as checkStarknetAllowanceAndApprove,
|
|
27
27
|
L as evmToViemChainMap,
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
28
|
+
g as getChainNameFromChainId,
|
|
29
|
+
w as hyperevm,
|
|
30
|
+
E as hyperliquidTestnet,
|
|
31
|
+
G as isStarknetAllowanceSufficient,
|
|
32
|
+
_ as megaethMainnet,
|
|
33
33
|
u as resolveApiConfig,
|
|
34
34
|
M as solanaProgramAddress,
|
|
35
35
|
P as switchOrAddNetwork,
|
|
36
36
|
f as toXOnly,
|
|
37
37
|
B as validateBTCAddress,
|
|
38
38
|
X as validateLTCAddress,
|
|
39
|
-
x as
|
|
39
|
+
x as validateLightningAddress,
|
|
40
|
+
U as validateSparkAddress
|
|
40
41
|
};
|
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, validateSparkAddress, } from './lib/utils';
|
|
18
|
+
export { validateBTCAddress, toXOnly, resolveApiConfig, validateLTCAddress, validateSparkAddress, validateLightningAddress, } 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';
|
package/dist/src/lib/utils.d.ts
CHANGED
|
@@ -37,6 +37,7 @@ export declare const isValidBitcoinPubKey: (pubKey: string) => boolean;
|
|
|
37
37
|
export declare function validateBTCAddress(address: string, networkType: Environment): boolean;
|
|
38
38
|
export declare function validateSparkAddress(address: string, networkType: Environment): boolean;
|
|
39
39
|
export declare function validateLTCAddress(address: string, networkType: Environment): boolean;
|
|
40
|
+
export declare function validateLightningAddress(address: string, networkType: Environment): boolean;
|
|
40
41
|
export declare function generateOutputs(output: Buffer, count: number): Buffer[];
|
|
41
42
|
export declare const getBitcoinNetworkFromEnvironment: (network: Network) => BitcoinNetwork;
|
|
42
43
|
export declare const getBitcoinNetworkFromNetwork: (network: Network) => bitcoin.networks.Network;
|
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.8",
|
|
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.8",
|
|
34
|
+
"@gardenfi/utils": "3.1.1-beta.6",
|
|
35
35
|
"@mysten/signers": "^0.3.4",
|
|
36
36
|
"@mysten/sui": "^1.37.1",
|
|
37
37
|
"@mysten/wallet-standard": "^0.16.9",
|