@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.
Files changed (2) hide show
  1. package/README.md +2 -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.searchGames({ category: 'slots', page: 1 });
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.listContentPages();
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
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@masterunoco/casinowebengine-api",
3
- "version": "0.1.2",
3
+ "version": "0.1.5",
4
4
  "description": "Typed front-end SDK for casino web-engine API",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",