@livechat/platform-workflows 0.0.22 → 0.0.23

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 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" | "publicUrl" | "isHeadless" | "workflowsAppId" | "workflowsWebhooksAppId" | "aiAgentId" | "pusherKey" | "amplitudeKey" | "accountsUrl" | "platformUrl" | "adapterUrl" | "workflowsApiUr" | "dpsApiUrl" | "billingApiUrl" | "adapterApiUrl" | "livechatApiUrl" | "textApiUrl">(key: T) => WorkflowsConfig[T];
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" | "publicUrl" | "isHeadless" | "workflowsAppId" | "workflowsWebhooksAppId" | "aiAgentId" | "pusherKey" | "amplitudeKey" | "accountsUrl" | "platformUrl" | "adapterUrl" | "workflowsApiUr" | "dpsApiUrl" | "billingApiUrl" | "adapterApiUrl" | "livechatApiUrl" | "textApiUrl">(key: T) => WorkflowsConfig[T];
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.22",
3
+ "version": "0.0.23",
4
4
  "description": "Text Platform | Workflows",
5
5
  "author": "Wojciech Dudek",
6
6
  "license": "MIT",
@@ -38,8 +38,8 @@
38
38
  "esbuild-sass-plugin": "^3.2.0",
39
39
  "tsup": "^8.0.0",
40
40
  "typescript": "^5.1.6",
41
- "eslint-config-custom": "0.0.10",
42
- "tsconfig": "0.0.1"
41
+ "tsconfig": "0.0.1",
42
+ "eslint-config-custom": "0.0.10"
43
43
  },
44
44
  "dependencies": {
45
45
  "@amplitude/analytics-browser": "^2.11.9",
@@ -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/developer-studio-ui-react": "0.0.60",
80
- "@livechat/platform-integrations": "0.0.2"
79
+ "@livechat/platform-integrations": "0.0.3",
80
+ "@livechat/developer-studio-ui-react": "0.0.61"
81
81
  },
82
82
  "peerDependencies": {
83
83
  "@tanstack/react-query": "4.36.1",