@gardenfi/core 2.3.0 → 2.3.1-beta.2
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-Nj9FMoDj.js → ccip-BJvawIoJ.js} +1 -1
- package/dist/{ccip-Bf6sMWsl.cjs → ccip-hhlZ0ik8.cjs} +1 -1
- package/dist/{index-DVTNtaWz.cjs → index-94YZ_zvS.cjs} +7 -7
- package/dist/{index-rQk9wiZU.js → index-BdKFxH7-.js} +962 -961
- package/dist/index.cjs +1 -1
- package/dist/index.js +18 -17
- package/dist/src/index.d.ts +1 -1
- package/dist/src/lib/garden/garden.d.ts +1 -1
- 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-94YZ_zvS.cjs");exports.API=e.API;exports.BitcoinNetwork=e.BitcoinNetwork;exports.BitcoinProvider=e.BitcoinProvider;exports.BitcoinWallet=e.BitcoinWallet;exports.BlockNumberFetcher=e.BlockNumberFetcher;exports.EvmRelay=e.EvmRelay;exports.Garden=e.Garden;exports.OrderActions=e.OrderActions;exports.OrderStatus=e.OrderStatus;exports.ParseOrderStatus=e.ParseOrderStatus;exports.ParseSwapStatus=e.ParseSwapStatus;exports.Quote=e.Quote;exports.STARKNET_CONFIG=e.STARKNET_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.SwapStatus=e.SwapStatus;exports.botanix=e.botanixMainnet;exports.checkStarknetAlloance=e.checkAllowance;exports.checkStarknetAllowanceAndApprove=e.checkAllowanceAndApprove;exports.constructOrderPair=e.constructOrderPair;exports.evmToViemChainMap=e.evmToViemChainMap;exports.filterDeadlineExpiredOrders=e.filterDeadlineExpiredOrders;exports.hyperliquid=e.hyperliquid;exports.hyperliquidTestnet=e.hyperliquidTestnet;exports.isExpired=e.isExpired;exports.isOrderExpired=e.isOrderExpired;exports.isStarknetAllowanceSufficient=e.isAllowanceSufficient;exports.parseAction=e.parseAction;exports.parseActionFromStatus=e.parseActionFromStatus;exports.resolveApiConfig=e.resolveApiConfig;exports.solanaProgramAddress=e.solanaProgramAddress;exports.switchOrAddNetwork=e.switchOrAddNetwork;exports.toXOnly=e.toXOnly;exports.validateBTCAddress=e.validateBTCAddress;
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { U as e, N as r, R as t, T as i, m as n, E as o, G as d, O as l, n as c, P as S, q as A, Q as p, V as u, w as k, k as O, j as h, W as m, h as w, S as y, o as T, M as v, z as C, x as P, A as x, I as E, u as N, L as R, K as f, r as B, t as F, y as g, p as q, v as G, F as I, X as L, J as M, D as b, C as D } from "./index-BdKFxH7-.js";
|
|
2
2
|
export {
|
|
3
3
|
e as API,
|
|
4
4
|
r as BitcoinNetwork,
|
|
@@ -6,8 +6,8 @@ export {
|
|
|
6
6
|
i as BitcoinWallet,
|
|
7
7
|
n as BlockNumberFetcher,
|
|
8
8
|
o as EvmRelay,
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
d as Garden,
|
|
10
|
+
l as OrderActions,
|
|
11
11
|
c as OrderStatus,
|
|
12
12
|
S as ParseOrderStatus,
|
|
13
13
|
A as ParseSwapStatus,
|
|
@@ -23,18 +23,19 @@ export {
|
|
|
23
23
|
v as botanix,
|
|
24
24
|
C as checkStarknetAlloance,
|
|
25
25
|
P as checkStarknetAllowanceAndApprove,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
F as
|
|
33
|
-
g as
|
|
34
|
-
q as
|
|
35
|
-
G as
|
|
36
|
-
I as
|
|
37
|
-
L as
|
|
38
|
-
M as
|
|
39
|
-
b as
|
|
26
|
+
x as constructOrderPair,
|
|
27
|
+
E as evmToViemChainMap,
|
|
28
|
+
N as filterDeadlineExpiredOrders,
|
|
29
|
+
R as hyperliquid,
|
|
30
|
+
f as hyperliquidTestnet,
|
|
31
|
+
B as isExpired,
|
|
32
|
+
F as isOrderExpired,
|
|
33
|
+
g as isStarknetAllowanceSufficient,
|
|
34
|
+
q as parseAction,
|
|
35
|
+
G as parseActionFromStatus,
|
|
36
|
+
I as resolveApiConfig,
|
|
37
|
+
L as solanaProgramAddress,
|
|
38
|
+
M as switchOrAddNetwork,
|
|
39
|
+
b as toXOnly,
|
|
40
|
+
D as validateBTCAddress
|
|
40
41
|
};
|
package/dist/src/index.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export { SolanaHTLC } from './lib/solana/htlc/solanaHTLC';
|
|
|
13
13
|
export { BlockNumberFetcher } from './lib/blockNumberFetcher/blockNumber';
|
|
14
14
|
export type { IBlockNumberFetcher } from './lib/blockNumberFetcher/blockNumber';
|
|
15
15
|
export { OrderStatus, SwapStatus } from './lib/orderStatus/status';
|
|
16
|
-
export { parseAction, ParseOrderStatus, ParseSwapStatus, isExpired, filterDeadlineExpiredOrders, parseActionFromStatus, } from './lib/orderStatus/orderStatusParser';
|
|
16
|
+
export { parseAction, ParseOrderStatus, ParseSwapStatus, isExpired, isOrderExpired, filterDeadlineExpiredOrders, parseActionFromStatus, } from './lib/orderStatus/orderStatusParser';
|
|
17
17
|
export { SecretManager } from './lib/secretManager/secretManager';
|
|
18
18
|
export type { ISecretManager, Secret, } from './lib/secretManager/secretManager.types';
|
|
19
19
|
export { checkAllowanceAndApprove as checkStarknetAllowanceAndApprove, isAllowanceSufficient as isStarknetAllowanceSufficient, checkAllowance as checkStarknetAlloance, } from './lib/starknet/checkAllowanceAndApprove';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gardenfi/core",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.1-beta.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "vite build",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@coral-xyz/anchor": "^0.30.1",
|
|
30
|
-
"@gardenfi/orderbook": "2.3.
|
|
31
|
-
"@gardenfi/utils": "2.3.
|
|
30
|
+
"@gardenfi/orderbook": "2.3.1",
|
|
31
|
+
"@gardenfi/utils": "2.3.1",
|
|
32
32
|
"bignumber.js": "^9.1.2",
|
|
33
33
|
"bip32": "^4.0.0",
|
|
34
34
|
"bip39": "^3.1.0",
|