@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.cjs +1 -1
- package/dist/index.js +6 -5
- package/package.json +1 -1
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:
|
|
28473
|
+
}, Ml = (e, t) => {
|
|
28474
|
+
const { playGameApi: g } = sl();
|
|
28475
28475
|
return ee({
|
|
28476
28476
|
queryKey: ["playGame"],
|
|
28477
|
-
queryFn: async (
|
|
28478
|
-
const { gameUid: u, gameCode: o, isMobile: p, gameCurrency: f, currentCurrency: _ } =
|
|
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
|
-
|
|
28493
|
+
enabled: !!e?.gameCode,
|
|
28494
|
+
...t
|
|
28494
28495
|
});
|
|
28495
28496
|
}, ul = ({ options: e } = {}) => {
|
|
28496
28497
|
const { userLoginApi: t } = ce();
|