@kodiak-finance/orderly-hooks 2.8.26-beta.2 → 2.8.27
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.d.mts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +10 -10
package/dist/index.d.mts
CHANGED
|
@@ -13,6 +13,8 @@ import { NetworkId, TrackerEventName, API, OrderlyOrder, ChainNamespace, WSMessa
|
|
|
13
13
|
import * as _kodiak_finance_orderly_core from '@kodiak-finance/orderly-core';
|
|
14
14
|
import { AccountState, Account, EventEmitter, ConfigStore, ConfigKey, SimpleDI, OrderlyKeyStore, WalletAdapter, IContract, DefaultConfigStore } from '@kodiak-finance/orderly-core';
|
|
15
15
|
export { SubAccount, WalletAdapter } from '@kodiak-finance/orderly-core';
|
|
16
|
+
import * as _kodiak_finance_orderly_utils from '@kodiak-finance/orderly-utils';
|
|
17
|
+
import { Decimal } from '@kodiak-finance/orderly-utils';
|
|
16
18
|
import * as lodash from 'lodash';
|
|
17
19
|
import * as amplitude from '@amplitude/analytics-browser';
|
|
18
20
|
export { default as useConstant } from 'use-constant';
|
|
@@ -20,8 +22,6 @@ import { WS } from '@kodiak-finance/orderly-net';
|
|
|
20
22
|
import { EIP1193Provider } from '@web3-onboard/common';
|
|
21
23
|
import { SolanaWalletProvider } from '@kodiak-finance/orderly-default-solana-adapter';
|
|
22
24
|
import * as swr_subscription from 'swr/subscription';
|
|
23
|
-
import * as _kodiak_finance_orderly_utils from '@kodiak-finance/orderly-utils';
|
|
24
|
-
import { Decimal } from '@kodiak-finance/orderly-utils';
|
|
25
25
|
import * as immer from 'immer';
|
|
26
26
|
import * as zustand from 'zustand';
|
|
27
27
|
import { StoreMutatorIdentifier, StateCreator } from 'zustand';
|
|
@@ -400,6 +400,7 @@ declare const useFeeState: () => {
|
|
|
400
400
|
readonly rwaMakerFee: string;
|
|
401
401
|
readonly rwaEffectiveTakerFee: string;
|
|
402
402
|
readonly rwaEffectiveMakerFee: string;
|
|
403
|
+
readonly formatFractionAsPercent: (val: Decimal) => string;
|
|
403
404
|
};
|
|
404
405
|
|
|
405
406
|
declare const useTrack: () => {
|
package/dist/index.d.ts
CHANGED
|
@@ -13,6 +13,8 @@ import { NetworkId, TrackerEventName, API, OrderlyOrder, ChainNamespace, WSMessa
|
|
|
13
13
|
import * as _kodiak_finance_orderly_core from '@kodiak-finance/orderly-core';
|
|
14
14
|
import { AccountState, Account, EventEmitter, ConfigStore, ConfigKey, SimpleDI, OrderlyKeyStore, WalletAdapter, IContract, DefaultConfigStore } from '@kodiak-finance/orderly-core';
|
|
15
15
|
export { SubAccount, WalletAdapter } from '@kodiak-finance/orderly-core';
|
|
16
|
+
import * as _kodiak_finance_orderly_utils from '@kodiak-finance/orderly-utils';
|
|
17
|
+
import { Decimal } from '@kodiak-finance/orderly-utils';
|
|
16
18
|
import * as lodash from 'lodash';
|
|
17
19
|
import * as amplitude from '@amplitude/analytics-browser';
|
|
18
20
|
export { default as useConstant } from 'use-constant';
|
|
@@ -20,8 +22,6 @@ import { WS } from '@kodiak-finance/orderly-net';
|
|
|
20
22
|
import { EIP1193Provider } from '@web3-onboard/common';
|
|
21
23
|
import { SolanaWalletProvider } from '@kodiak-finance/orderly-default-solana-adapter';
|
|
22
24
|
import * as swr_subscription from 'swr/subscription';
|
|
23
|
-
import * as _kodiak_finance_orderly_utils from '@kodiak-finance/orderly-utils';
|
|
24
|
-
import { Decimal } from '@kodiak-finance/orderly-utils';
|
|
25
25
|
import * as immer from 'immer';
|
|
26
26
|
import * as zustand from 'zustand';
|
|
27
27
|
import { StoreMutatorIdentifier, StateCreator } from 'zustand';
|
|
@@ -400,6 +400,7 @@ declare const useFeeState: () => {
|
|
|
400
400
|
readonly rwaMakerFee: string;
|
|
401
401
|
readonly rwaEffectiveTakerFee: string;
|
|
402
402
|
readonly rwaEffectiveMakerFee: string;
|
|
403
|
+
readonly formatFractionAsPercent: (val: Decimal) => string;
|
|
403
404
|
};
|
|
404
405
|
|
|
405
406
|
declare const useTrack: () => {
|