@iccandle/widget-web-trading 0.2.3 → 0.2.4

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.
@@ -10790,9 +10790,9 @@ function n0(e) {
10790
10790
  function r0(e) {
10791
10791
  try {
10792
10792
  const t = new URL(Er(e));
10793
- return t.hostname.includes("opheleo") ? "wss://symbols.opheleo.com" : (t.protocol = t.protocol === "https:" ? "wss:" : "ws:", t.origin);
10793
+ return t.hostname.includes("opheleo") ? "wss://ticks.opheleo.com" : (t.protocol = t.protocol === "https:" ? "wss:" : "ws:", t.origin);
10794
10794
  } catch {
10795
- return "wss://symbols.opheleo.com";
10795
+ return "";
10796
10796
  }
10797
10797
  }
10798
10798
  function i0(e) {
@@ -10826,7 +10826,7 @@ function gt() {
10826
10826
  function em() {
10827
10827
  return gt().tickWebSocketUrl;
10828
10828
  }
10829
- const s0 = "wss://symbols.opheleo.com";
10829
+ const s0 = "wss://ticks.opheleo.com";
10830
10830
  function Uc(e) {
10831
10831
  const [t, n] = Q(null), r = em();
10832
10832
  return ie(() => {
@@ -11056,7 +11056,7 @@ function c0({
11056
11056
  )
11057
11057
  ] });
11058
11058
  }
11059
- const l0 = "wss://symbols.opheleo.com";
11059
+ const l0 = "wss://ticks.opheleo.com";
11060
11060
  function d0(e, t) {
11061
11061
  const n = /* @__PURE__ */ new Set();
11062
11062
  for (const r of e) {
@@ -16877,7 +16877,7 @@ const Xd = to((e) => ({
16877
16877
  return n.setUTCHours(0, 0, 0, 0), n.getTime();
16878
16878
  }
16879
16879
  return e.toString().length > 11 ? e : e * 1e3;
16880
- }, Jd = "wss://symbols.opheleo.com";
16880
+ }, Jd = "wss://ticks.opheleo.com";
16881
16881
  function cT(e) {
16882
16882
  return {
16883
16883
  1: 6e4,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iccandle/widget-web-trading",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite",