@inappstory/react-sdk 1.11.1 → 1.11.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.
|
@@ -62,6 +62,10 @@ export type IamEvents = {
|
|
|
62
62
|
* Triggered when a message is closed
|
|
63
63
|
*/
|
|
64
64
|
close: {
|
|
65
|
+
/**
|
|
66
|
+
* Payload from the current slide
|
|
67
|
+
*/
|
|
68
|
+
payload: string | null;
|
|
65
69
|
/**
|
|
66
70
|
* The message that was closed
|
|
67
71
|
*/
|
|
@@ -72,6 +76,10 @@ export type IamEvents = {
|
|
|
72
76
|
* Triggered when a widget within a message fires an event
|
|
73
77
|
*/
|
|
74
78
|
widgetEvent: {
|
|
79
|
+
/**
|
|
80
|
+
* Payload from the current slide
|
|
81
|
+
*/
|
|
82
|
+
payload: string | null;
|
|
75
83
|
/**
|
|
76
84
|
* The message containing the widget
|
|
77
85
|
*/
|
|
@@ -92,6 +100,10 @@ export type IamEvents = {
|
|
|
92
100
|
* Triggered when a button is clicked within a message
|
|
93
101
|
*/
|
|
94
102
|
clickOnButton: {
|
|
103
|
+
/**
|
|
104
|
+
* Payload from the current slide
|
|
105
|
+
*/
|
|
106
|
+
payload: string | null;
|
|
95
107
|
/**
|
|
96
108
|
* Unique identifier of the clicked button
|
|
97
109
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inappstory/react-sdk",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.3",
|
|
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.
|
|
61
|
+
"@inappstory/slide-api": "^0.1.40",
|
|
62
62
|
"async-mutex": "^0.5.0",
|
|
63
63
|
"bowser": "^2.11.0",
|
|
64
64
|
"classnames": "^2.5.1",
|