@livechat/platform-workflows 0.0.22 → 0.0.24
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/dist/index.d.mts +1 -2
- package/dist/index.d.ts +1 -2
- package/dist/index.js +1 -2
- package/dist/index.mjs +1 -2
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -2,7 +2,6 @@ import { ConfigBase, Config } from '@livechat/developer-studio-ui-react';
|
|
|
2
2
|
import React$1 from 'react';
|
|
3
3
|
|
|
4
4
|
interface WorkflowsConfigBase extends Omit<ConfigBase, "accountsClientId"> {
|
|
5
|
-
publicUrl: string;
|
|
6
5
|
isHeadless?: boolean;
|
|
7
6
|
}
|
|
8
7
|
type WorkflowsConfig = WorkflowsConfigBase & Config & {
|
|
@@ -15,7 +14,7 @@ type WorkflowsConfig = WorkflowsConfigBase & Config & {
|
|
|
15
14
|
};
|
|
16
15
|
declare function setWorkflowsConfig(newConfig: Partial<WorkflowsConfigBase>): void;
|
|
17
16
|
declare function getWorkflowsConfig(): WorkflowsConfig;
|
|
18
|
-
declare const getWorkflowsEnv: <T extends "accountsClientId" | "env" | "
|
|
17
|
+
declare const getWorkflowsEnv: <T extends "accountsClientId" | "env" | "basePath" | "isHeadless" | "workflowsAppId" | "workflowsWebhooksAppId" | "aiAgentId" | "pusherKey" | "amplitudeKey" | "accountsUrl" | "platformUrl" | "adapterUrl" | "workflowsApiUr" | "dpsApiUrl" | "billingApiUrl" | "adapterApiUrl" | "livechatApiUrl" | "textApiUrl">(key: T) => WorkflowsConfig[T];
|
|
19
18
|
|
|
20
19
|
interface LoginErrorPageProps {
|
|
21
20
|
errorImage: React.ReactNode;
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ import { ConfigBase, Config } from '@livechat/developer-studio-ui-react';
|
|
|
2
2
|
import React$1 from 'react';
|
|
3
3
|
|
|
4
4
|
interface WorkflowsConfigBase extends Omit<ConfigBase, "accountsClientId"> {
|
|
5
|
-
publicUrl: string;
|
|
6
5
|
isHeadless?: boolean;
|
|
7
6
|
}
|
|
8
7
|
type WorkflowsConfig = WorkflowsConfigBase & Config & {
|
|
@@ -15,7 +14,7 @@ type WorkflowsConfig = WorkflowsConfigBase & Config & {
|
|
|
15
14
|
};
|
|
16
15
|
declare function setWorkflowsConfig(newConfig: Partial<WorkflowsConfigBase>): void;
|
|
17
16
|
declare function getWorkflowsConfig(): WorkflowsConfig;
|
|
18
|
-
declare const getWorkflowsEnv: <T extends "accountsClientId" | "env" | "
|
|
17
|
+
declare const getWorkflowsEnv: <T extends "accountsClientId" | "env" | "basePath" | "isHeadless" | "workflowsAppId" | "workflowsWebhooksAppId" | "aiAgentId" | "pusherKey" | "amplitudeKey" | "accountsUrl" | "platformUrl" | "adapterUrl" | "workflowsApiUr" | "dpsApiUrl" | "billingApiUrl" | "adapterApiUrl" | "livechatApiUrl" | "textApiUrl">(key: T) => WorkflowsConfig[T];
|
|
19
18
|
|
|
20
19
|
interface LoginErrorPageProps {
|
|
21
20
|
errorImage: React.ReactNode;
|
package/dist/index.js
CHANGED
|
@@ -485,8 +485,7 @@ module.exports = __toCommonJS(src_exports);
|
|
|
485
485
|
// src/config.ts
|
|
486
486
|
var import_developer_studio_ui_react = require("@livechat/developer-studio-ui-react");
|
|
487
487
|
var config = {
|
|
488
|
-
env: "labs"
|
|
489
|
-
publicUrl: "/workflows"
|
|
488
|
+
env: "labs"
|
|
490
489
|
};
|
|
491
490
|
function setWorkflowsConfig(newConfig) {
|
|
492
491
|
config = __spreadValues(__spreadValues({}, config), newConfig);
|
package/dist/index.mjs
CHANGED
|
@@ -470,8 +470,7 @@ import {
|
|
|
470
470
|
setConfig
|
|
471
471
|
} from "@livechat/developer-studio-ui-react";
|
|
472
472
|
var config = {
|
|
473
|
-
env: "labs"
|
|
474
|
-
publicUrl: "/workflows"
|
|
473
|
+
env: "labs"
|
|
475
474
|
};
|
|
476
475
|
function setWorkflowsConfig(newConfig) {
|
|
477
476
|
config = __spreadValues(__spreadValues({}, config), newConfig);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@livechat/platform-workflows",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.24",
|
|
4
4
|
"description": "Text Platform | Workflows",
|
|
5
5
|
"author": "Wojciech Dudek",
|
|
6
6
|
"license": "MIT",
|
|
@@ -76,8 +76,8 @@
|
|
|
76
76
|
"validator": "^13.12.0",
|
|
77
77
|
"web-worker": "^1.3.0",
|
|
78
78
|
"@livechat/developer-studio-api": "3.3.8",
|
|
79
|
-
"@livechat/
|
|
80
|
-
"@livechat/
|
|
79
|
+
"@livechat/platform-integrations": "0.0.4",
|
|
80
|
+
"@livechat/developer-studio-ui-react": "0.0.61"
|
|
81
81
|
},
|
|
82
82
|
"peerDependencies": {
|
|
83
83
|
"@tanstack/react-query": "4.36.1",
|