@gardenfi/orderbook 2.0.7 → 2.0.9
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 +15 -14
- package/dist/src/index.d.ts +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index2.cjs"),e=require("./index3.cjs"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index2.cjs"),e=require("./index3.cjs"),s=require("./index4.cjs"),t=require("./index5.cjs");exports.Orderbook=r.Orderbook;exports.BlockchainType=e.BlockchainType;exports.Chains=e.Chains;exports.NetworkType=e.NetworkType;exports.TimeLocks=e.TimeLocks;exports.getBlockchainType=e.getBlockchainType;exports.getTimeLock=e.getTimeLock;exports.isBitcoin=e.isBitcoin;exports.isEVM=e.isEVM;exports.isMainnet=e.isMainnet;exports.isStarknet=e.isStarknet;exports.OrdersProvider=s.OrdersProvider;exports.ArbitrumLocalnet=t.ArbitrumLocalnet;exports.EthereumLocalnet=t.EthereumLocalnet;exports.SupportedAssets=t.SupportedAssets;exports.WBTCArbitrumLocalnetAsset=t.WBTCArbitrumLocalnetAsset;exports.WBTCEthereumLocalnetAsset=t.WBTCEthereumLocalnetAsset;exports.bitcoinRegtestAsset=t.bitcoinRegtestAsset;
|
package/dist/index.js
CHANGED
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
import { Orderbook as o } from "./index2.js";
|
|
2
|
-
import { BlockchainType as i, Chains as s, NetworkType as c, TimeLocks as n, getBlockchainType as m, getTimeLock as
|
|
3
|
-
import { OrdersProvider as
|
|
4
|
-
import { ArbitrumLocalnet as
|
|
2
|
+
import { BlockchainType as i, Chains as s, NetworkType as c, TimeLocks as n, getBlockchainType as m, getTimeLock as a, isBitcoin as p, isEVM as k, isMainnet as T, isStarknet as l } from "./index3.js";
|
|
3
|
+
import { OrdersProvider as L } from "./index4.js";
|
|
4
|
+
import { ArbitrumLocalnet as u, EthereumLocalnet as B, SupportedAssets as b, WBTCArbitrumLocalnetAsset as d, WBTCEthereumLocalnetAsset as f, bitcoinRegtestAsset as x } from "./index5.js";
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
u as ArbitrumLocalnet,
|
|
7
7
|
i as BlockchainType,
|
|
8
8
|
s as Chains,
|
|
9
|
-
|
|
9
|
+
B as EthereumLocalnet,
|
|
10
10
|
c as NetworkType,
|
|
11
11
|
o as Orderbook,
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
L as OrdersProvider,
|
|
13
|
+
b as SupportedAssets,
|
|
14
14
|
n as TimeLocks,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
d as WBTCArbitrumLocalnetAsset,
|
|
16
|
+
f as WBTCEthereumLocalnetAsset,
|
|
17
|
+
x as bitcoinRegtestAsset,
|
|
18
18
|
m as getBlockchainType,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
a as getTimeLock,
|
|
20
|
+
p as isBitcoin,
|
|
21
|
+
k as isEVM,
|
|
22
|
+
T as isMainnet,
|
|
23
|
+
l as isStarknet
|
|
23
24
|
};
|
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, NetworkType, TimeLocks, getTimeLock, } from './lib/asset';
|
|
4
|
+
export { Chains, BlockchainType, isMainnet, isBitcoin, isEVM, isStarknet, getBlockchainType, NetworkType, TimeLocks, getTimeLock, } from './lib/asset';
|
|
5
5
|
export { OrdersProvider } from './lib/orders/ordersProvider';
|
|
6
6
|
export type { IOrderProvider } from './lib/orders/orders.types';
|
|
7
7
|
export { WBTCArbitrumLocalnetAsset, WBTCEthereumLocalnetAsset, ArbitrumLocalnet, EthereumLocalnet, bitcoinRegtestAsset, SupportedAssets, } from './lib/constants';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gardenfi/orderbook",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.9",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"registry": "https://registry.npmjs.org/"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@gardenfi/utils": "^2.0.
|
|
29
|
+
"@gardenfi/utils": "^2.0.6",
|
|
30
30
|
"bufferutil": "^4.0.8",
|
|
31
31
|
"siwe": "^2.1.4",
|
|
32
32
|
"utf-8-validate": "^6.0.3",
|