@obb871001/api-integration-sdk 1.0.217 → 1.0.219

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
@@ -7168,14 +7168,13 @@ const Hr = /* @__PURE__ */ zi(Br), xe = {
7168
7168
  reconnectInterval: 1e3,
7169
7169
  ...n
7170
7170
  }), _ = wa(() => {
7171
- console.log(o);
7172
7171
  try {
7173
7172
  return JSON.parse(o?.data);
7174
7173
  } catch {
7175
7174
  return null;
7176
7175
  }
7177
7176
  }, [o]);
7178
- ba(() => {
7177
+ console.log(_), ba(() => {
7179
7178
  const u = setInterval(
7180
7179
  () => l("ping"),
7181
7180
  Wr
@@ -7204,7 +7203,7 @@ const Hr = /* @__PURE__ */ zi(Br), xe = {
7204
7203
  amount: De(_, "amount", null),
7205
7204
  limitAmount: De(_, "limit_amount", null)
7206
7205
  }, L = Number(x.memberInfoUid) === m, N = x.data, w = x.amount, G = x.limitAmount;
7207
- switch (k) {
7206
+ switch (console.log("Received socket type:", k), k) {
7208
7207
  case xe.DEPOSIT:
7209
7208
  L && u?.(x);
7210
7209
  break;
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.217",
4
+ "version": "1.0.219",
5
5
  "description": "集成API",
6
6
  "main": "dist/index.cjs",
7
7
  "module": "dist/index.js",