@opexa/portal-sdk 0.44.2 → 0.44.3
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 +5 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -8505,7 +8505,11 @@ var Sdk = class {
|
|
|
8505
8505
|
const res = NEW_GAME_PROVIDERS.includes(input.provider) ? await this.walletService.createGameSession({
|
|
8506
8506
|
input: { id, game: input.reference }
|
|
8507
8507
|
}) : await this.gameService.createGameSession({
|
|
8508
|
-
input: {
|
|
8508
|
+
input: {
|
|
8509
|
+
id,
|
|
8510
|
+
game: input.reference,
|
|
8511
|
+
homepageUrl: typeof window === "undefined" ? void 0 : window.location.origin
|
|
8512
|
+
}
|
|
8509
8513
|
});
|
|
8510
8514
|
return res.ok ? { ok: true, data: { id } } : res;
|
|
8511
8515
|
}
|