sdk-sapi-promarketing 0.0.21 → 0.0.23
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.d.mts +57 -15
- package/dist/index.d.ts +57 -15
- package/dist/index.js +15 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +15 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -399,6 +399,21 @@ var GameService = class extends RequestBase {
|
|
|
399
399
|
true
|
|
400
400
|
);
|
|
401
401
|
};
|
|
402
|
+
/**
|
|
403
|
+
* Get games lobby by code.
|
|
404
|
+
*
|
|
405
|
+
* @param codeLobby Lobby code.
|
|
406
|
+
* @returns Promise with games.
|
|
407
|
+
*/
|
|
408
|
+
getGamesLobbyByCode = async (codeLobby) => this.getBase(
|
|
409
|
+
`/skin/${this.context.skin}/lobby/dynamic/${codeLobby}`
|
|
410
|
+
);
|
|
411
|
+
/**
|
|
412
|
+
* Get games lobby latest.
|
|
413
|
+
*
|
|
414
|
+
* @returns Promise with games.
|
|
415
|
+
*/
|
|
416
|
+
getGamesLobbyLatest = async (options = {}) => this.getBase("/latest", options, true);
|
|
402
417
|
};
|
|
403
418
|
|
|
404
419
|
// services/skin.service.ts
|