@obb871001/api-integration-sdk 1.0.109 → 1.0.111

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
@@ -28470,12 +28470,12 @@ const rl = /* @__PURE__ */ Mi(ml), I = {
28470
28470
  },
28471
28471
  [e, g]
28472
28472
  ) };
28473
- }, Ml = (e) => {
28474
- const { playGameApi: t } = sl();
28473
+ }, Ml = (e, t) => {
28474
+ const { playGameApi: g } = sl();
28475
28475
  return ee({
28476
28476
  queryKey: ["playGame"],
28477
- queryFn: async (g) => {
28478
- const { gameUid: u, gameCode: o, isMobile: p, gameCurrency: f, currentCurrency: _ } = g, r = await t({
28477
+ queryFn: async () => {
28478
+ const { gameUid: u, gameCode: o, isMobile: p, gameCurrency: f, currentCurrency: _ } = e || {}, r = await g({
28479
28479
  gameUid: u,
28480
28480
  gameCode: o,
28481
28481
  isMobile: p,
@@ -28490,7 +28490,8 @@ const rl = /* @__PURE__ */ Mi(ml), I = {
28490
28490
  gameUrl: l
28491
28491
  };
28492
28492
  },
28493
- ...e
28493
+ enabled: !!e?.gameCode,
28494
+ ...t
28494
28495
  });
28495
28496
  }, ul = ({ options: e } = {}) => {
28496
28497
  const { userLoginApi: t } = ce();
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.109",
4
+ "version": "1.0.111",
5
5
  "description": "集成API",
6
6
  "main": "dist/index.cjs",
7
7
  "module": "dist/index.js",