@obb871001/api-integration-sdk 1.0.179 → 1.0.180

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.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import Ca, { createContext as fn, useContext as _n, useCallback as q, useMemo as Fa, useEffect as Ua, useRef as Xi } from "react";
2
2
  import { useQuery as ie, QueryClient as qn, QueryClientProvider as jn, useQueries as Un, useMutation as Ce } from "@tanstack/react-query";
3
3
  import $n from "axios";
4
- import { find as Ye, isEmpty as oe, isObject as vi, flatMap as Ti, isArray as Ne, map as ke, entries as yn, values as Qn, keys as et, get as ya, toLower as at, replace as it, includes as Yn } from "lodash";
4
+ import { find as Xe, isEmpty as oe, isObject as vi, flatMap as Ti, isArray as Ne, map as ke, entries as yn, values as Qn, keys as et, get as ya, toLower as at, replace as it, includes as Yn } from "lodash";
5
5
  import Xn from "react-dom";
6
6
  var Pi = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
7
7
  function zi(e) {
@@ -288,7 +288,7 @@ function il() {
288
288
  } finally {
289
289
  te = !1, K.current = ee, I(), Error.prepareStackTrace = X;
290
290
  }
291
- var na = T ? T.displayName || T.name : "", Ke = na ? Z(na) : "";
291
+ var la = T ? T.displayName || T.name : "", Ke = la ? Z(la) : "";
292
292
  return typeof T == "function" && ae.set(T, Ke), Ke;
293
293
  }
294
294
  function re(T, B, V) {
@@ -364,7 +364,7 @@ function il() {
364
364
  return V;
365
365
  }
366
366
  }
367
- function aa(T) {
367
+ function ia(T) {
368
368
  try {
369
369
  return ma(T), !1;
370
370
  } catch {
@@ -375,7 +375,7 @@ function il() {
375
375
  return "" + T;
376
376
  }
377
377
  function Me(T) {
378
- if (aa(T))
378
+ if (ia(T))
379
379
  return s("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Se(T)), ma(T);
380
380
  }
381
381
  var Be = y.ReactCurrentOwner, Si = {
@@ -472,7 +472,7 @@ function il() {
472
472
  return Ei(T, j, fe, X, J, Be.current, Q);
473
473
  }
474
474
  }
475
- var ia = y.ReactCurrentOwner, ka = y.ReactDebugCurrentFrame;
475
+ var ta = y.ReactCurrentOwner, ka = y.ReactDebugCurrentFrame;
476
476
  function Re(T) {
477
477
  if (T) {
478
478
  var B = T._owner, V = Ge(T.type, T._source, B ? B.type : null);
@@ -482,13 +482,13 @@ function il() {
482
482
  }
483
483
  var pa;
484
484
  pa = !1;
485
- function ta(T) {
485
+ function na(T) {
486
486
  return typeof T == "object" && T !== null && T.$$typeof === g;
487
487
  }
488
488
  function xa() {
489
489
  {
490
- if (ia.current) {
491
- var T = G(ia.current.type);
490
+ if (ta.current) {
491
+ var T = G(ta.current.type);
492
492
  if (T)
493
493
  return `
494
494
 
@@ -523,7 +523,7 @@ Check the top-level render call using <` + V + ">.");
523
523
  return;
524
524
  Sa[V] = !0;
525
525
  var J = "";
526
- T && T._owner && T._owner !== ia.current && (J = " It was passed a child from " + G(T._owner.type) + "."), Re(T), s('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', V, J), Re(null);
526
+ T && T._owner && T._owner !== ta.current && (J = " It was passed a child from " + G(T._owner.type) + "."), Re(T), s('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', V, J), Re(null);
527
527
  }
528
528
  }
529
529
  function Na(T, B) {
@@ -533,15 +533,15 @@ Check the top-level render call using <` + V + ">.");
533
533
  if (pe(T))
534
534
  for (var V = 0; V < T.length; V++) {
535
535
  var J = T[V];
536
- ta(J) && Ea(J, B);
536
+ na(J) && Ea(J, B);
537
537
  }
538
- else if (ta(T))
538
+ else if (na(T))
539
539
  T._store && (T._store.validated = !0);
540
540
  else if (T) {
541
541
  var X = _(T);
542
542
  if (typeof X == "function" && X !== T.entries)
543
543
  for (var ee = X.call(T), Q; !(Q = ee.next()).done; )
544
- ta(Q.value) && Ea(Q.value, B);
544
+ na(Q.value) && Ea(Q.value, B);
545
545
  }
546
546
  }
547
547
  }
@@ -602,8 +602,8 @@ Check the top-level render call using <` + V + ">.");
602
602
  if (he !== void 0)
603
603
  if (J)
604
604
  if (pe(he)) {
605
- for (var na = 0; na < he.length; na++)
606
- Na(he[na], T);
605
+ for (var la = 0; la < he.length; la++)
606
+ Na(he[la], T);
607
607
  Object.freeze && Object.freeze(he);
608
608
  } else
609
609
  s("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
@@ -729,7 +729,7 @@ const Cn = fn(null), Wo = () => {
729
729
  minimumFractionDigits: 2,
730
730
  maximumFractionDigits: 2
731
731
  }).format(g);
732
- }, vn = (e = [], g) => Ye(e, { gameTypeName: g })?.gameTypeUid, Tn = (e = [], g) => Ye(e, { platform: g })?.platformUid, hn = (e = [], g) => Ye(e, { SubPlatformEnum: g }), kn = (e = [], g, l) => oe(e) ? [] : e.filter((i) => l ? String(i?.SubPlatformEnumUid) === String(l?.SubPlatformEnumUid) : String(i.platformUid) === String(g)), nl = (e = []) => oe(e) ? {} : e.reduce((g, l) => {
732
+ }, vn = (e = [], g) => Xe(e, { gameTypeName: g })?.gameTypeUid, Tn = (e = [], g) => Xe(e, { platform: g })?.platformUid, hn = (e = [], g) => Xe(e, { SubPlatformEnum: g }), kn = (e = [], g, l) => oe(e) ? [] : e.filter((i) => l ? String(i?.SubPlatformEnumUid) === String(l?.SubPlatformEnumUid) : String(i.platformUid) === String(g)), nl = (e = []) => oe(e) ? {} : e.reduce((g, l) => {
733
733
  const i = l?.game_subtype || "UNKNOWN";
734
734
  return g[i] || (g[i] = []), g[i].push(l), g;
735
735
  }, {}), ll = ({
@@ -2015,7 +2015,7 @@ function El() {
2015
2015
  })(za)), za.exports;
2016
2016
  }
2017
2017
  var Va = { exports: {} }, Nl = Va.exports, dt;
2018
- function Xe() {
2018
+ function ea() {
2019
2019
  return dt || (dt = 1, (function(e, g) {
2020
2020
  (function(l, i) {
2021
2021
  e.exports = i($());
@@ -2172,7 +2172,7 @@ function Gl() {
2172
2172
  })(Za)), Za.exports;
2173
2173
  }
2174
2174
  var Ja = { exports: {} }, Ml = Ja.exports, ft;
2175
- function ea() {
2175
+ function aa() {
2176
2176
  return ft || (ft = 1, (function(e, g) {
2177
2177
  (function(l, i) {
2178
2178
  e.exports = i($());
@@ -2475,14 +2475,14 @@ function Sn() {
2475
2475
  },
2476
2476
  _doProcessBlock: function(o, f) {
2477
2477
  for (var _ = this._hash.words, y = _[0], s = _[1], U = _[2], b = _[3], v = _[4], h = _[5], x = _[6], E = _[7], O = y.high, k = y.low, S = s.high, P = s.low, G = U.high, w = U.low, L = b.high, M = b.low, W = v.high, A = v.low, H = h.high, z = h.low, D = x.high, R = x.low, F = E.high, N = E.low, I = O, K = k, Y = S, Z = P, te = G, ae = w, Ue = L, ye = M, re = W, ce = A, Ge = H, xe = z, Ze = D, Oe = R, Ae = F, Je = N, ve = 0; ve < 80; ve++) {
2478
- var pe, Se, aa = n[ve];
2478
+ var pe, Se, ia = n[ve];
2479
2479
  if (ve < 16)
2480
- Se = aa.high = o[f + ve * 2] | 0, pe = aa.low = o[f + ve * 2 + 1] | 0;
2480
+ Se = ia.high = o[f + ve * 2] | 0, pe = ia.low = o[f + ve * 2 + 1] | 0;
2481
2481
  else {
2482
- var ma = n[ve - 15], Me = ma.high, Be = ma.low, Si = (Me >>> 1 | Be << 31) ^ (Me >>> 8 | Be << 24) ^ Me >>> 7, sa = (Be >>> 1 | Me << 31) ^ (Be >>> 8 | Me << 24) ^ (Be >>> 7 | Me << 25), ua = n[ve - 2], He = ua.high, Ie = ua.low, Di = (He >>> 19 | Ie << 13) ^ (He << 3 | Ie >>> 29) ^ He >>> 6, Ta = (Ie >>> 19 | He << 13) ^ (Ie << 3 | He >>> 29) ^ (Ie >>> 6 | He << 26), ha = n[ve - 7], Ei = ha.high, Ni = ha.low, ia = n[ve - 16], ka = ia.high, Re = ia.low;
2483
- pe = sa + Ni, Se = Si + Ei + (pe >>> 0 < sa >>> 0 ? 1 : 0), pe = pe + Ta, Se = Se + Di + (pe >>> 0 < Ta >>> 0 ? 1 : 0), pe = pe + Re, Se = Se + ka + (pe >>> 0 < Re >>> 0 ? 1 : 0), aa.high = Se, aa.low = pe;
2482
+ var ma = n[ve - 15], Me = ma.high, Be = ma.low, Si = (Me >>> 1 | Be << 31) ^ (Me >>> 8 | Be << 24) ^ Me >>> 7, sa = (Be >>> 1 | Me << 31) ^ (Be >>> 8 | Me << 24) ^ (Be >>> 7 | Me << 25), ua = n[ve - 2], He = ua.high, Ie = ua.low, Di = (He >>> 19 | Ie << 13) ^ (He << 3 | Ie >>> 29) ^ He >>> 6, Ta = (Ie >>> 19 | He << 13) ^ (Ie << 3 | He >>> 29) ^ (Ie >>> 6 | He << 26), ha = n[ve - 7], Ei = ha.high, Ni = ha.low, ta = n[ve - 16], ka = ta.high, Re = ta.low;
2483
+ pe = sa + Ni, Se = Si + Ei + (pe >>> 0 < sa >>> 0 ? 1 : 0), pe = pe + Ta, Se = Se + Di + (pe >>> 0 < Ta >>> 0 ? 1 : 0), pe = pe + Re, Se = Se + ka + (pe >>> 0 < Re >>> 0 ? 1 : 0), ia.high = Se, ia.low = pe;
2484
2484
  }
2485
- var pa = re & Ge ^ ~re & Ze, ta = ce & xe ^ ~ce & Oe, xa = I & Y ^ I & te ^ Y & te, Li = K & Z ^ K & ae ^ Z & ae, Sa = (I >>> 28 | K << 4) ^ (I << 30 | K >>> 2) ^ (I << 25 | K >>> 7), Da = (K >>> 28 | I << 4) ^ (K << 30 | I >>> 2) ^ (K << 25 | I >>> 7), Ea = (re >>> 14 | ce << 18) ^ (re >>> 18 | ce << 14) ^ (re << 23 | ce >>> 9), Na = (ce >>> 14 | re << 18) ^ (ce >>> 18 | re << 14) ^ (ce << 23 | re >>> 9), La = m[ve], Gi = La.high, ga = La.low, ge = Je + Na, De = Ae + Ea + (ge >>> 0 < Je >>> 0 ? 1 : 0), ge = ge + ta, De = De + pa + (ge >>> 0 < ta >>> 0 ? 1 : 0), ge = ge + ga, De = De + Gi + (ge >>> 0 < ga >>> 0 ? 1 : 0), ge = ge + pe, De = De + Se + (ge >>> 0 < pe >>> 0 ? 1 : 0), Ga = Da + Li, Mi = Sa + xa + (Ga >>> 0 < Da >>> 0 ? 1 : 0);
2485
+ var pa = re & Ge ^ ~re & Ze, na = ce & xe ^ ~ce & Oe, xa = I & Y ^ I & te ^ Y & te, Li = K & Z ^ K & ae ^ Z & ae, Sa = (I >>> 28 | K << 4) ^ (I << 30 | K >>> 2) ^ (I << 25 | K >>> 7), Da = (K >>> 28 | I << 4) ^ (K << 30 | I >>> 2) ^ (K << 25 | I >>> 7), Ea = (re >>> 14 | ce << 18) ^ (re >>> 18 | ce << 14) ^ (re << 23 | ce >>> 9), Na = (ce >>> 14 | re << 18) ^ (ce >>> 18 | re << 14) ^ (ce << 23 | re >>> 9), La = m[ve], Gi = La.high, ga = La.low, ge = Je + Na, De = Ae + Ea + (ge >>> 0 < Je >>> 0 ? 1 : 0), ge = ge + na, De = De + pa + (ge >>> 0 < na >>> 0 ? 1 : 0), ge = ge + ga, De = De + Gi + (ge >>> 0 < ga >>> 0 ? 1 : 0), ge = ge + pe, De = De + Se + (ge >>> 0 < pe >>> 0 ? 1 : 0), Ga = Da + Li, Mi = Sa + xa + (Ga >>> 0 < Da >>> 0 ? 1 : 0);
2486
2486
  Ae = Ze, Je = Oe, Ze = Ge, Oe = xe, Ge = re, xe = ce, ce = ye + ge | 0, re = Ue + De + (ce >>> 0 < ye >>> 0 ? 1 : 0) | 0, Ue = te, ye = ae, te = Y, ae = Z, Y = I, Z = K, K = ge + Ga | 0, I = De + Mi + (K >>> 0 < ge >>> 0 ? 1 : 0) | 0;
2487
2487
  }
2488
2488
  k = y.low = k + K, y.high = O + I + (k >>> 0 < K >>> 0 ? 1 : 0), P = s.low = P + Z, s.high = S + Y + (P >>> 0 < Z >>> 0 ? 1 : 0), w = U.low = w + ae, U.high = G + te + (w >>> 0 < ae >>> 0 ? 1 : 0), M = b.low = M + ye, b.high = L + Ue + (M >>> 0 < ye >>> 0 ? 1 : 0), A = v.low = A + ce, v.high = W + re + (A >>> 0 < ce >>> 0 ? 1 : 0), z = h.low = z + xe, h.high = H + Ge + (z >>> 0 < xe >>> 0 ? 1 : 0), R = x.low = R + Oe, x.high = D + Ze + (R >>> 0 < Oe >>> 0 ? 1 : 0), N = E.low = N + Je, E.high = F + Ae + (N >>> 0 < Je >>> 0 ? 1 : 0);
@@ -4043,7 +4043,7 @@ var ci = { exports: {} }, Ur = ci.exports, At;
4043
4043
  function yr() {
4044
4044
  return At || (At = 1, (function(e, g) {
4045
4045
  (function(l, i, p) {
4046
- e.exports = i($(), Xe(), ea(), ze(), me());
4046
+ e.exports = i($(), ea(), aa(), ze(), me());
4047
4047
  })(Ur, function(l) {
4048
4048
  return (function() {
4049
4049
  var i = l, p = i.lib, d = p.BlockCipher, C = i.algo, c = [], u = [], a = [], t = [], m = [], n = [], r = [], o = [], f = [], _ = [];
@@ -4103,7 +4103,7 @@ var fi = { exports: {} }, br = fi.exports, Bt;
4103
4103
  function Cr() {
4104
4104
  return Bt || (Bt = 1, (function(e, g) {
4105
4105
  (function(l, i, p) {
4106
- e.exports = i($(), Xe(), ea(), ze(), me());
4106
+ e.exports = i($(), ea(), aa(), ze(), me());
4107
4107
  })(br, function(l) {
4108
4108
  return (function() {
4109
4109
  var i = l, p = i.lib, d = p.WordArray, C = p.BlockCipher, c = i.algo, u = [
@@ -4823,7 +4823,7 @@ var _i = { exports: {} }, vr = _i.exports, Ht;
4823
4823
  function Tr() {
4824
4824
  return Ht || (Ht = 1, (function(e, g) {
4825
4825
  (function(l, i, p) {
4826
- e.exports = i($(), Xe(), ea(), ze(), me());
4826
+ e.exports = i($(), ea(), aa(), ze(), me());
4827
4827
  })(vr, function(l) {
4828
4828
  return (function() {
4829
4829
  var i = l, p = i.lib, d = p.StreamCipher, C = i.algo, c = C.RC4 = d.extend({
@@ -4877,7 +4877,7 @@ var Ui = { exports: {} }, hr = Ui.exports, Wt;
4877
4877
  function kr() {
4878
4878
  return Wt || (Wt = 1, (function(e, g) {
4879
4879
  (function(l, i, p) {
4880
- e.exports = i($(), Xe(), ea(), ze(), me());
4880
+ e.exports = i($(), ea(), aa(), ze(), me());
4881
4881
  })(hr, function(l) {
4882
4882
  return (function() {
4883
4883
  var i = l, p = i.lib, d = p.StreamCipher, C = i.algo, c = [], u = [], a = [], t = C.Rabbit = d.extend({
@@ -4943,7 +4943,7 @@ var yi = { exports: {} }, xr = yi.exports, zt;
4943
4943
  function Sr() {
4944
4944
  return zt || (zt = 1, (function(e, g) {
4945
4945
  (function(l, i, p) {
4946
- e.exports = i($(), Xe(), ea(), ze(), me());
4946
+ e.exports = i($(), ea(), aa(), ze(), me());
4947
4947
  })(xr, function(l) {
4948
4948
  return (function() {
4949
4949
  var i = l, p = i.lib, d = p.StreamCipher, C = i.algo, c = [], u = [], a = [], t = C.RabbitLegacy = d.extend({
@@ -5007,7 +5007,7 @@ var bi = { exports: {} }, Dr = bi.exports, Vt;
5007
5007
  function Er() {
5008
5008
  return Vt || (Vt = 1, (function(e, g) {
5009
5009
  (function(l, i, p) {
5010
- e.exports = i($(), Xe(), ea(), ze(), me());
5010
+ e.exports = i($(), ea(), aa(), ze(), me());
5011
5011
  })(Dr, function(l) {
5012
5012
  return (function() {
5013
5013
  var i = l, p = i.lib, d = p.BlockCipher, C = i.algo;
@@ -6129,22 +6129,22 @@ var Nr = Aa.exports, Zt;
6129
6129
  function Lr() {
6130
6130
  return Zt || (Zt = 1, (function(e, g) {
6131
6131
  (function(l, i, p) {
6132
- e.exports = i($(), ki(), Sl(), El(), Xe(), Gl(), ea(), xn(), Vi(), wl(), Sn(), Bl(), Wl(), Vl(), Zi(), Il(), ze(), me(), $l(), Yl(), er(), ir(), nr(), rr(), mr(), ur(), gr(), cr(), _r(), yr(), Cr(), Tr(), kr(), Sr(), Er());
6132
+ e.exports = i($(), ki(), Sl(), El(), ea(), Gl(), aa(), xn(), Vi(), wl(), Sn(), Bl(), Wl(), Vl(), Zi(), Il(), ze(), me(), $l(), Yl(), er(), ir(), nr(), rr(), mr(), ur(), gr(), cr(), _r(), yr(), Cr(), Tr(), kr(), Sr(), Er());
6133
6133
  })(Nr, function(l) {
6134
6134
  return l;
6135
6135
  });
6136
6136
  })(Aa)), Aa.exports;
6137
6137
  }
6138
6138
  var Dn = Lr();
6139
- const la = /* @__PURE__ */ zi(Dn), qe = (e) => {
6140
- const g = "mySecretPassphrase", l = la.lib.WordArray.random(16), i = la.PBKDF2(g, l, {
6139
+ const qe = /* @__PURE__ */ zi(Dn), je = (e) => {
6140
+ const g = "mySecretPassphrase", l = qe.lib.WordArray.random(16), i = qe.PBKDF2(g, l, {
6141
6141
  keySize: 128 / 32,
6142
6142
  iterations: 1e3
6143
- }), p = la.AES.encrypt(e, i, {
6143
+ }), p = qe.AES.encrypt(e, i, {
6144
6144
  iv: l,
6145
- mode: la.mode.CBC,
6146
- padding: la.pad.Pkcs7
6147
- }), d = l.toString(la.enc.Base64), C = p.toString();
6145
+ mode: qe.mode.CBC,
6146
+ padding: qe.pad.Pkcs7
6147
+ }), d = l.toString(qe.enc.Base64), C = qe.enc.Base64.stringify(p.ciphertext);
6148
6148
  return d + ":" + C;
6149
6149
  }, _e = () => {
6150
6150
  const { client: e, formDataClient: g } = ue(), l = q(
@@ -6187,7 +6187,7 @@ const la = /* @__PURE__ */ zi(Dn), qe = (e) => {
6187
6187
  }) => {
6188
6188
  const O = {
6189
6189
  memId: s,
6190
- passwd: qe(U),
6190
+ passwd: je(U),
6191
6191
  email: v,
6192
6192
  currency_code: x,
6193
6193
  code: E
@@ -6214,8 +6214,8 @@ const la = /* @__PURE__ */ zi(Dn), qe = (e) => {
6214
6214
  async (s) => {
6215
6215
  const { oldPwd: U, newPwd: b } = s;
6216
6216
  return await e.post("/passwordReset", {
6217
- old_pwd: qe(U),
6218
- new_pwd: qe(b)
6217
+ old_pwd: je(U),
6218
+ new_pwd: je(b)
6219
6219
  });
6220
6220
  },
6221
6221
  [e]
@@ -6223,8 +6223,8 @@ const la = /* @__PURE__ */ zi(Dn), qe = (e) => {
6223
6223
  async (s) => {
6224
6224
  const { newPwd: U, confirmNewPwd: b } = s;
6225
6225
  return await e.post("/setWithdrawPassword", {
6226
- newPassword: qe(U),
6227
- confirmPassword: qe(b)
6226
+ newPassword: je(U),
6227
+ confirmPassword: je(b)
6228
6228
  });
6229
6229
  },
6230
6230
  [e]
@@ -6232,8 +6232,8 @@ const la = /* @__PURE__ */ zi(Dn), qe = (e) => {
6232
6232
  async (s) => {
6233
6233
  const { oldPwd: U, newPwd: b } = s;
6234
6234
  return await e.post("/withdrawPasswordReset", {
6235
- old_pwd: qe(U),
6236
- new_pwd: qe(b)
6235
+ old_pwd: je(U),
6236
+ new_pwd: je(b)
6237
6237
  });
6238
6238
  },
6239
6239
  [e]
@@ -33099,7 +33099,7 @@ function Ii() {
33099
33099
  e.resetWebSockets = g;
33100
33100
  })(Oi)), Oi;
33101
33101
  }
33102
- var je = {}, Pe = {}, Kt;
33102
+ var $e = {}, Pe = {}, Kt;
33103
33103
  function Ki() {
33104
33104
  if (Kt) return Pe;
33105
33105
  Kt = 1, Object.defineProperty(Pe, "__esModule", { value: !0 }), Pe.setUpSocketIOPing = Pe.appendQueryParams = Pe.parseSocketIOUrl = void 0;
@@ -33208,9 +33208,9 @@ function ji() {
33208
33208
  }
33209
33209
  var Qt;
33210
33210
  function Or() {
33211
- if (Qt) return je;
33211
+ if (Qt) return $e;
33212
33212
  Qt = 1;
33213
- var e = je && je.__assign || function() {
33213
+ var e = $e && $e.__assign || function() {
33214
33214
  return e = Object.assign || function(t) {
33215
33215
  for (var m, n = 1, r = arguments.length; n < r; n++) {
33216
33216
  m = arguments[n];
@@ -33219,7 +33219,7 @@ function Or() {
33219
33219
  return t;
33220
33220
  }, e.apply(this, arguments);
33221
33221
  };
33222
- Object.defineProperty(je, "__esModule", { value: !0 }), je.attachListeners = void 0;
33222
+ Object.defineProperty($e, "__esModule", { value: !0 }), $e.attachListeners = void 0;
33223
33223
  var g = Ki(), l = En(), i = Le(), p = ji(), d = function(t, m, n, r) {
33224
33224
  t.onmessage = function(o) {
33225
33225
  var f;
@@ -33274,13 +33274,13 @@ function Or() {
33274
33274
  s(i.ReadyState.CLOSING), b(), v(), t.close(), U && clearInterval(U);
33275
33275
  };
33276
33276
  };
33277
- return je.attachListeners = a, je;
33277
+ return $e.attachListeners = a, $e;
33278
33278
  }
33279
- var $e = {}, Yt;
33279
+ var Qe = {}, Yt;
33280
33280
  function Ar() {
33281
- if (Yt) return $e;
33281
+ if (Yt) return Qe;
33282
33282
  Yt = 1;
33283
- var e = $e && $e.__assign || function() {
33283
+ var e = Qe && Qe.__assign || function() {
33284
33284
  return e = Object.assign || function(m) {
33285
33285
  for (var n, r = 1, o = arguments.length; r < o; r++) {
33286
33286
  n = arguments[r];
@@ -33289,7 +33289,7 @@ function Ar() {
33289
33289
  return m;
33290
33290
  }, e.apply(this, arguments);
33291
33291
  };
33292
- Object.defineProperty($e, "__esModule", { value: !0 }), $e.attachSharedListeners = void 0;
33292
+ Object.defineProperty(Qe, "__esModule", { value: !0 }), Qe.attachSharedListeners = void 0;
33293
33293
  var g = Ii(), l = Le(), i = qi(), p = Ki(), d = En(), C = function(m, n, r) {
33294
33294
  m.onmessage = function(o) {
33295
33295
  (0, i.getSubscribers)(n).forEach(function(f) {
@@ -33336,7 +33336,7 @@ function Ar() {
33336
33336
  f && clearInterval(f);
33337
33337
  };
33338
33338
  };
33339
- return $e.attachSharedListeners = t, $e;
33339
+ return Qe.attachSharedListeners = t, Qe;
33340
33340
  }
33341
33341
  var Xt;
33342
33342
  function Br() {
@@ -33723,11 +33723,11 @@ function $i() {
33723
33723
  };
33724
33724
  return Te.useWebSocket = m, Te;
33725
33725
  }
33726
- var Qe = {}, nn;
33726
+ var Ye = {}, nn;
33727
33727
  function zr() {
33728
- if (nn) return Qe;
33728
+ if (nn) return Ye;
33729
33729
  nn = 1;
33730
- var e = Qe && Qe.__assign || function() {
33730
+ var e = Ye && Ye.__assign || function() {
33731
33731
  return e = Object.assign || function(c) {
33732
33732
  for (var u, a = 1, t = arguments.length; a < t; a++) {
33733
33733
  u = arguments[a];
@@ -33736,7 +33736,7 @@ function zr() {
33736
33736
  return c;
33737
33737
  }, e.apply(this, arguments);
33738
33738
  };
33739
- Object.defineProperty(Qe, "__esModule", { value: !0 }), Qe.useSocketIO = void 0;
33739
+ Object.defineProperty(Ye, "__esModule", { value: !0 }), Ye.useSocketIO = void 0;
33740
33740
  var g = Ca, l = $i(), i = Le(), p = {
33741
33741
  type: "empty",
33742
33742
  payload: null
@@ -33767,7 +33767,7 @@ function zr() {
33767
33767
  getWebSocket: _
33768
33768
  };
33769
33769
  };
33770
- return Qe.useSocketIO = C, Qe;
33770
+ return Ye.useSocketIO = C, Ye;
33771
33771
  }
33772
33772
  var we = {}, ln;
33773
33773
  function Vr() {
@@ -33961,7 +33961,7 @@ const Ir = /* @__PURE__ */ zi(Jr), Ee = {
33961
33961
  select: (d) => {
33962
33962
  const { data: C } = d;
33963
33963
  return ke(C, (u) => {
33964
- const { events_attributes: a } = u, t = Ye(a, (W) => W.currency_code === p) || a[0], {
33964
+ const { events_attributes: a } = u, t = Xe(a, (W) => W.currency_code === p) || a[0], {
33965
33965
  event_uid: m,
33966
33966
  attribute_currency: n,
33967
33967
  attribute_is_rebate: r,
@@ -34122,7 +34122,7 @@ const Ir = /* @__PURE__ */ zi(Jr), Ee = {
34122
34122
  const { internal_notifications_language: t } = a;
34123
34123
  return {
34124
34124
  ...a,
34125
- notificationLng: Ye(
34125
+ notificationLng: Xe(
34126
34126
  t,
34127
34127
  (m) => m.language === d
34128
34128
  ) || t[0]
@@ -34733,7 +34733,7 @@ const Ir = /* @__PURE__ */ zi(Jr), Ee = {
34733
34733
  vip_payment_tags: a,
34734
34734
  vip_withdrawal_rate: t,
34735
34735
  rebate_range: m
34736
- } = c, n = Ye(u, { currency_code: l }) || {}, r = Ye(a, { currency_code: l }) || {}, o = t, f = ke(m, (_) => ({
34736
+ } = c, n = Xe(u, { currency_code: l }) || {}, r = Xe(a, { currency_code: l }) || {}, o = t, f = ke(m, (_) => ({
34737
34737
  ..._,
34738
34738
  rebateRange: JSON.parse(_.rebate_range)
34739
34739
  }));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@obb871001/api-integration-sdk",
3
3
  "private": false,
4
- "version": "1.0.179",
4
+ "version": "1.0.180",
5
5
  "description": "集成API",
6
6
  "main": "dist/index.cjs",
7
7
  "module": "dist/index.js",