@gardenfi/orderbook 0.2.0-beta.13 → 0.2.0-beta.15
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 +1 -1
- package/dist/index.js +8 -7
- package/dist/index22.cjs +1 -1
- package/dist/index22.js +1 -1
- package/dist/index23.cjs +1 -1
- package/dist/index23.js +2 -2
- package/dist/index25.cjs +1 -1
- package/dist/index25.js +1 -1
- package/dist/index26.cjs +1 -1
- package/dist/index26.js +2 -2
- package/dist/index27.cjs +1 -1
- package/dist/index27.js +10 -10
- package/dist/index28.cjs +1 -1
- package/dist/index28.js +1 -1
- package/dist/index29.cjs +1 -1
- package/dist/index29.js +1 -1
- package/dist/index3.cjs +1 -1
- package/dist/index3.js +5 -5
- package/dist/index32.cjs +1 -2
- package/dist/index32.js +33 -58
- package/dist/index33.cjs +1 -1
- package/dist/index33.js +54 -20
- package/dist/index34.cjs +2 -1
- package/dist/index34.js +59 -13
- package/dist/index35.cjs +1 -1
- package/dist/index35.js +3 -34
- package/dist/index36.cjs +1 -1
- package/dist/index36.js +1 -1
- package/dist/index37.cjs +2 -1
- package/dist/index37.js +38 -51
- package/dist/index38.cjs +1 -2
- package/dist/index38.js +8 -42
- package/dist/index39.cjs +1 -1
- package/dist/index39.js +10 -8
- package/dist/index40.cjs +1 -1
- package/dist/index40.js +11 -10
- package/dist/index41.cjs +1 -1
- package/dist/index41.js +13 -11
- package/dist/index42.cjs +1 -1
- package/dist/index42.js +6 -13
- package/dist/index43.cjs +1 -1
- package/dist/index43.js +17 -6
- package/dist/index44.cjs +1 -1
- package/dist/index44.js +77 -16
- package/dist/index45.cjs +1 -1
- package/dist/index45.js +14 -78
- package/dist/index46.cjs +1 -1
- package/dist/index46.js +18 -14
- package/dist/index47.cjs +1 -1
- package/dist/index47.js +5 -17
- package/dist/index48.cjs +1 -1
- package/dist/index48.js +21 -3
- package/dist/index49.cjs +1 -1
- package/dist/index49.js +14 -2
- package/dist/index5.cjs +1 -1
- package/dist/index5.js +9 -1
- package/dist/index50.cjs +1 -1
- package/dist/index50.js +2 -2
- package/dist/index51.cjs +1 -1
- package/dist/index51.js +2 -7
- package/dist/index52.cjs +1 -1
- package/dist/index52.js +1 -1
- package/dist/index54.cjs +1 -1
- package/dist/index54.js +12 -6
- package/dist/index55.cjs +1 -1
- package/dist/index55.js +6 -12
- package/dist/index56.cjs +1 -1
- package/dist/index56.js +112 -6
- package/dist/index57.cjs +1 -1
- package/dist/index57.js +18 -30
- package/dist/index58.cjs +1 -1
- package/dist/index58.js +7 -2
- package/dist/index59.cjs +1 -1
- package/dist/index59.js +30 -35
- package/dist/index60.cjs +1 -1
- package/dist/index60.js +2 -29
- package/dist/index61.cjs +1 -1
- package/dist/index61.js +31 -14
- package/dist/index62.cjs +1 -1
- package/dist/index62.js +28 -6
- package/dist/index63.cjs +1 -1
- package/dist/index63.js +6 -112
- package/dist/index66.cjs +1 -1
- package/dist/index66.js +50 -93
- package/dist/index67.cjs +1 -1
- package/dist/index67.js +35 -5
- package/dist/index68.cjs +1 -1
- package/dist/index68.js +5 -62
- package/dist/index69.cjs +1 -1
- package/dist/index69.js +101 -31
- package/dist/src/index.d.ts +2 -2
- package/dist/src/lib/asset.d.ts +1 -1
- package/dist/src/lib/constants.d.ts +1 -0
- package/package.json +1 -1
package/dist/src/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { Orderbook } from './lib/orderbook/orderbook';
|
|
2
2
|
export type * from './lib/orderbook/orderbook.types';
|
|
3
3
|
export type { Chain, EvmChain, Asset } from './lib/asset';
|
|
4
|
-
export { Chains, BlockchainType, isMainnet, isBitcoin, isEVM, getBlockchainType,
|
|
4
|
+
export { Chains, BlockchainType, isMainnet, isBitcoin, isEVM, getBlockchainType, evmToViemChainMap, } from './lib/asset';
|
|
5
5
|
export { OrdersProvider } from './lib/orders/ordersProvider';
|
|
6
6
|
export type { IOrderProvider } from './lib/orders/orders.types';
|
|
7
|
-
export { WBTCArbitrumLocalnetAsset, WBTCEthereumLocalnetAsset, ArbitrumLocalnet, EthereumLocalnet, SupportedAssets, } from './lib/constants';
|
|
7
|
+
export { WBTCArbitrumLocalnetAsset, WBTCEthereumLocalnetAsset, ArbitrumLocalnet, EthereumLocalnet, bitcoinRegtestAsset, SupportedAssets, } from './lib/constants';
|
package/dist/src/lib/asset.d.ts
CHANGED
|
@@ -48,5 +48,5 @@ export type EvmChain = keyof Omit<typeof Chains, 'bitcoin' | 'bitcoin_testnet' |
|
|
|
48
48
|
export declare const isMainnet: (chain: Chain) => chain is "bitcoin" | "ethereum" | "ethereum_arbitrum";
|
|
49
49
|
export declare const isBitcoin: (chain: Chain) => chain is "bitcoin" | "bitcoin_testnet" | "bitcoin_regtest";
|
|
50
50
|
export declare const isEVM: (chain: Chain) => chain is "ethereum" | "ethereum_arbitrum" | "ethereum_sepolia" | "arbitrum_localnet" | "arbitrum_sepolia" | "ethereum_localnet" | "base_sepolia";
|
|
51
|
-
export declare const
|
|
51
|
+
export declare const evmToViemChainMap: Record<EvmChain, viemChain>;
|
|
52
52
|
export declare const getBlockchainType: (chain: Chain) => BlockchainType;
|
|
@@ -3,6 +3,7 @@ import { Asset } from './asset';
|
|
|
3
3
|
|
|
4
4
|
export declare const ArbitrumLocalnet: Chain;
|
|
5
5
|
export declare const EthereumLocalnet: Chain;
|
|
6
|
+
export declare const bitcoinRegtestAsset: Asset;
|
|
6
7
|
export declare const WBTCArbitrumLocalnetAsset: Asset;
|
|
7
8
|
export declare const WBTCEthereumLocalnetAsset: Asset;
|
|
8
9
|
type SupportedAssets = {
|