@orderly.network/trading 3.0.2-alpha.0 → 3.0.3-alpha.0
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 +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +21 -21
package/dist/index.d.mts
CHANGED
|
@@ -272,6 +272,8 @@ declare const useOrderBookScript: (props: {
|
|
|
272
272
|
lastPrice: number[] | undefined;
|
|
273
273
|
depths: string[];
|
|
274
274
|
selDepth: string | undefined;
|
|
275
|
+
/** Canonical API / route symbol (do not reconstruct from base+quote). */
|
|
276
|
+
symbol: string;
|
|
275
277
|
base: string;
|
|
276
278
|
quote: string;
|
|
277
279
|
isLoading: boolean | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -272,6 +272,8 @@ declare const useOrderBookScript: (props: {
|
|
|
272
272
|
lastPrice: number[] | undefined;
|
|
273
273
|
depths: string[];
|
|
274
274
|
selDepth: string | undefined;
|
|
275
|
+
/** Canonical API / route symbol (do not reconstruct from base+quote). */
|
|
276
|
+
symbol: string;
|
|
275
277
|
base: string;
|
|
276
278
|
quote: string;
|
|
277
279
|
isLoading: boolean | undefined;
|
package/dist/index.js
CHANGED
|
@@ -3513,7 +3513,6 @@ var init_orderBook = __esm({
|
|
|
3513
3513
|
} = props;
|
|
3514
3514
|
const { t } = i18n.useTranslation();
|
|
3515
3515
|
const [settingsOpen, setSettingsOpen] = React12.useState(false);
|
|
3516
|
-
const symbol = `PERP_${props.symbolInfo.base}_${props.symbolInfo.quote}`;
|
|
3517
3516
|
const [coinUnit, setCoinUnit] = hooks.useLocalStorage(
|
|
3518
3517
|
ORDERBOOK_MOBILE_COIN_TYPE_KEY,
|
|
3519
3518
|
"qty"
|
|
@@ -3543,7 +3542,7 @@ var init_orderBook = __esm({
|
|
|
3543
3542
|
itemAlign: "start",
|
|
3544
3543
|
children: [
|
|
3545
3544
|
/* @__PURE__ */ jsxRuntime.jsxs(ui.Flex, { justify: "between", itemAlign: "center", className: "oui-w-full", children: [
|
|
3546
|
-
/* @__PURE__ */ jsxRuntime.jsx(exports.FundingRateWidget, { symbol }),
|
|
3545
|
+
/* @__PURE__ */ jsxRuntime.jsx(exports.FundingRateWidget, { symbol: props.symbol }),
|
|
3547
3546
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3548
3547
|
BuySellRatioSettings,
|
|
3549
3548
|
{
|
|
@@ -3602,6 +3601,7 @@ var init_orderBook_ui = __esm({
|
|
|
3602
3601
|
lastPrice: props.lastPrice,
|
|
3603
3602
|
depths: props.depths,
|
|
3604
3603
|
activeDepth: props.selDepth,
|
|
3604
|
+
symbol: props.symbol,
|
|
3605
3605
|
base: props.base,
|
|
3606
3606
|
quote: props.quote,
|
|
3607
3607
|
isLoading: props.isLoading,
|
|
@@ -3746,6 +3746,8 @@ var init_orderBook_script = __esm({
|
|
|
3746
3746
|
lastPrice: data?.middlePrice,
|
|
3747
3747
|
depths,
|
|
3748
3748
|
selDepth,
|
|
3749
|
+
/** Canonical API / route symbol (do not reconstruct from base+quote). */
|
|
3750
|
+
symbol,
|
|
3749
3751
|
base,
|
|
3750
3752
|
quote,
|
|
3751
3753
|
isLoading,
|