@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.mjs
CHANGED
|
@@ -3506,7 +3506,6 @@ var init_orderBook = __esm({
|
|
|
3506
3506
|
} = props;
|
|
3507
3507
|
const { t } = useTranslation();
|
|
3508
3508
|
const [settingsOpen, setSettingsOpen] = useState(false);
|
|
3509
|
-
const symbol = `PERP_${props.symbolInfo.base}_${props.symbolInfo.quote}`;
|
|
3510
3509
|
const [coinUnit, setCoinUnit] = useLocalStorage(
|
|
3511
3510
|
ORDERBOOK_MOBILE_COIN_TYPE_KEY,
|
|
3512
3511
|
"qty"
|
|
@@ -3536,7 +3535,7 @@ var init_orderBook = __esm({
|
|
|
3536
3535
|
itemAlign: "start",
|
|
3537
3536
|
children: [
|
|
3538
3537
|
/* @__PURE__ */ jsxs(Flex, { justify: "between", itemAlign: "center", className: "oui-w-full", children: [
|
|
3539
|
-
/* @__PURE__ */ jsx(FundingRateWidget, { symbol }),
|
|
3538
|
+
/* @__PURE__ */ jsx(FundingRateWidget, { symbol: props.symbol }),
|
|
3540
3539
|
/* @__PURE__ */ jsx(
|
|
3541
3540
|
BuySellRatioSettings,
|
|
3542
3541
|
{
|
|
@@ -3595,6 +3594,7 @@ var init_orderBook_ui = __esm({
|
|
|
3595
3594
|
lastPrice: props.lastPrice,
|
|
3596
3595
|
depths: props.depths,
|
|
3597
3596
|
activeDepth: props.selDepth,
|
|
3597
|
+
symbol: props.symbol,
|
|
3598
3598
|
base: props.base,
|
|
3599
3599
|
quote: props.quote,
|
|
3600
3600
|
isLoading: props.isLoading,
|
|
@@ -3739,6 +3739,8 @@ var init_orderBook_script = __esm({
|
|
|
3739
3739
|
lastPrice: data?.middlePrice,
|
|
3740
3740
|
depths,
|
|
3741
3741
|
selDepth,
|
|
3742
|
+
/** Canonical API / route symbol (do not reconstruct from base+quote). */
|
|
3743
|
+
symbol,
|
|
3742
3744
|
base,
|
|
3743
3745
|
quote,
|
|
3744
3746
|
isLoading,
|