gleap 19.3.2 → 19.3.4
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/build/browser/index.js +1 -1
- package/build/browser/index.js.map +1 -1
- package/build/cjs/index.js +1 -1
- package/build/cjs/index.js.map +1 -1
- package/build/esm/index.mjs +1 -1
- package/build/esm/index.mjs.map +1 -1
- package/index.d.ts +7 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -118,7 +118,13 @@ export namespace Gleap {
|
|
|
118
118
|
) => string | object | Promise<string | object>
|
|
119
119
|
): void;
|
|
120
120
|
function registerCustomAction(
|
|
121
|
-
customAction: (action: {
|
|
121
|
+
customAction: (action: {
|
|
122
|
+
name: string;
|
|
123
|
+
/** The action's data (a message button's actionData), when it has some. */
|
|
124
|
+
data?: any;
|
|
125
|
+
/** The share token of the conversation the action was clicked in. */
|
|
126
|
+
shareToken?: string;
|
|
127
|
+
}) => void
|
|
122
128
|
): void;
|
|
123
129
|
function log(message: string, logLevel?: "INFO" | "WARNING" | "ERROR"): void;
|
|
124
130
|
/**
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"description": "JavaScript and TypeScript SDK for Gleap, an Intercom alternative with AI customer support, live chat, in-app bug reporting and customer feedback.",
|
|
3
3
|
"name": "gleap",
|
|
4
|
-
"version": "19.3.
|
|
4
|
+
"version": "19.3.4",
|
|
5
5
|
"main": "build/cjs/index.js",
|
|
6
6
|
"module": "build/esm/index.mjs",
|
|
7
7
|
"exports": {
|