@gardenfi/core 2.5.3-beta.1 → 2.5.3-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-Blujdoyx.js → ccip-BE4ehdw2.js} +1 -1
- package/dist/{ccip-Dz1z3fd5.cjs → ccip-CWyEeg1d.cjs} +1 -1
- package/dist/{index-DZ7PA04Y.js → index-3Y2kQfE0.js} +11754 -11073
- package/dist/index-Cnz5kiIK.cjs +106 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/src/lib/utils.d.ts +1 -1
- package/package.json +4 -4
- package/dist/index-BVbDrfLG.cjs +0 -106
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-Cnz5kiIK.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.Quote=e.Quote;exports.RouteValidator=e.RouteValidator;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.botanixMainnet=e.botanixMainnet;exports.buildRouteMatrix=e.buildRouteMatrix;exports.checkStarknetAlloance=e.checkAllowance;exports.checkStarknetAllowanceAndApprove=e.checkAllowanceAndApprove;exports.constructOrderPair=e.constructOrderPair;exports.evmToViemChainMap=e.evmToViemChainMap;exports.getChainNameFromChainId=e.getChainNameFromChainId;exports.hyperliquid=e.hyperliquid;exports.hyperliquidTestnet=e.hyperliquidTestnet;exports.isStarknetAllowanceSufficient=e.isAllowanceSufficient;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 { J as s, C as t, D as r, F as n, I as o, E as i, G as l, Q as d, R as A, K as c, L as S, m as k, k as C, j as T, M as h, h as u, S as m, u as p, O as y, p as I, n as R, q as v, w as F, x as N, y as w, z as E, o as O, r as L, N as M, A as f, t as g, v as x } from "./index-
|
|
1
|
+
import { J as s, C as t, D as r, F as n, I as o, E as i, G as l, Q as d, R as A, K as c, L as S, m as k, k as C, j as T, M as h, h as u, S as m, u as p, O as y, p as I, n as R, q as v, w as F, x as N, y as w, z as E, o as O, r as L, N as M, A as f, t as g, v as x } from "./index-3Y2kQfE0.js";
|
|
2
2
|
export {
|
|
3
3
|
s as API,
|
|
4
4
|
t as BitcoinNetwork,
|
package/dist/src/lib/utils.d.ts
CHANGED
|
@@ -55,7 +55,7 @@ export declare const withDefaultAffiliateFees: (list: AffiliateFee[] | undefined
|
|
|
55
55
|
* @param addresses
|
|
56
56
|
* @returns
|
|
57
57
|
*/
|
|
58
|
-
export declare const getAddresses: (blockchainType: BlockchainType, htlcs: GardenHTLCModules) => Promise<Err<string> | Ok<string>>;
|
|
58
|
+
export declare const getAddresses: (blockchainType: BlockchainType, htlcs: GardenHTLCModules, addresses?: Partial<Record<BlockchainType, string>>) => Promise<Err<string> | Ok<string>>;
|
|
59
59
|
/**
|
|
60
60
|
* Validates that HTLCs are available for the required blockchain types for swap initiation
|
|
61
61
|
* @param blockchainType The blockchain type to check
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gardenfi/core",
|
|
3
|
-
"version": "2.5.3-beta.
|
|
3
|
+
"version": "2.5.3-beta.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "vite build",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@coral-xyz/anchor": "^0.31.1",
|
|
31
|
-
"@gardenfi/orderbook": "
|
|
32
|
-
"@gardenfi/utils": "
|
|
31
|
+
"@gardenfi/orderbook": "2.5.3-beta.3",
|
|
32
|
+
"@gardenfi/utils": "2.5.3-beta.2",
|
|
33
33
|
"@mysten/signers": "^0.3.4",
|
|
34
34
|
"@mysten/sui": "^1.37.1",
|
|
35
35
|
"@mysten/wallet-standard": "^0.16.9",
|
|
@@ -53,4 +53,4 @@
|
|
|
53
53
|
"vitest": "^1.6.0"
|
|
54
54
|
},
|
|
55
55
|
"sideEffects": false
|
|
56
|
-
}
|
|
56
|
+
}
|