@masterunoco/casinowebengine-api 0.1.2 → 0.1.5
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/README.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -75,7 +75,7 @@ sdk.auth.clear();
|
|
|
75
75
|
### 🎮 Games
|
|
76
76
|
```ts
|
|
77
77
|
// Search games
|
|
78
|
-
const result = await sdk.games.
|
|
78
|
+
const result = await sdk.games.search({ category: 'slots', page: 1 });
|
|
79
79
|
console.log(result.totalCount, result.results[0].name);
|
|
80
80
|
|
|
81
81
|
// Get demo link
|
|
@@ -85,7 +85,7 @@ window.open(demo.gameLink, '_blank');
|
|
|
85
85
|
|
|
86
86
|
### 📄 Content Pages
|
|
87
87
|
```ts
|
|
88
|
-
const pages = await sdk.settings.
|
|
88
|
+
const pages = await sdk.settings.getContent();
|
|
89
89
|
const about = await sdk.settings.getContentItem('about-us', 'en');
|
|
90
90
|
console.log(about.title);
|
|
91
91
|
```
|