@inappstory/react-sdk 1.9.4 → 1.9.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.
@@ -154,14 +154,6 @@ export interface CloseGameEvent {
154
154
  id: string;
155
155
  }
156
156
 
157
- /** Event: mini-game finished */
158
- export interface FinishGameEvent {
159
- /** Game ID */
160
- id: string;
161
- /** Game result */
162
- result: Record<string, any>;
163
- }
164
-
165
157
  /** Generic game event */
166
158
  export interface EventGameEvent {
167
159
  /** Event name */
@@ -215,8 +207,6 @@ export interface StoryManagerEvents {
215
207
  startGame: StartGameEvent;
216
208
  /** Game closed */
217
209
  closeGame: CloseGameEvent;
218
- /** Game finished */
219
- finishGame: FinishGameEvent;
220
210
  /** Custom game event */
221
211
  eventGame: EventGameEvent;
222
212
  /** Close story reader event */
@@ -13,7 +13,6 @@ import {
13
13
  VisibleAreaUpdatedEvent,
14
14
  WidgetEvent,
15
15
  StartGameEvent,
16
- FinishGameEvent,
17
16
  CloseGameEvent,
18
17
  EventGameEvent,
19
18
  ProductCartUpdatedEvent,
@@ -125,12 +124,6 @@ export interface StoryManagerEventsProps {
125
124
  */
126
125
  onCloseGame?: (event: CloseGameEvent) => void;
127
126
 
128
- /**
129
- * Called when a game finishes
130
- * @param event - Contains game identifier and result payload
131
- */
132
- onFinishGame?: (event: FinishGameEvent) => void;
133
-
134
127
  /**
135
128
  * Called on custom in-game events
136
129
  * @param event - Contains event name and custom payload
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inappstory/react-sdk",
3
- "version": "1.9.4",
3
+ "version": "1.9.5",
4
4
  "description": "React SDK",
5
5
  "keywords": [
6
6
  "stories",
@@ -58,7 +58,7 @@
58
58
  "Samsung >= 5"
59
59
  ],
60
60
  "dependencies": {
61
- "@inappstory/slide-api": "^0.1.32",
61
+ "@inappstory/slide-api": "^0.1.34",
62
62
  "async-mutex": "^0.5.0",
63
63
  "bowser": "^2.11.0",
64
64
  "classnames": "^2.5.1",