@livechat/developer-studio-api 3.4.11 → 3.4.12

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.js CHANGED
@@ -8041,7 +8041,7 @@ function getIntegrationFlowUrlForRedirection(provider, flow, state, context, con
8041
8041
  mode: "redirect" /* Redirect */,
8042
8042
  state: serializedState
8043
8043
  }));
8044
- return `${config.adapterUrl}/integrations/${provider}/flows/${flow}/flow?context=${serializedContext}`;
8044
+ return `${config.adapterUrl}/integrations/${provider}/flows/${flow}?context=${serializedContext}`;
8045
8045
  }
8046
8046
  function getIntegrationFlowUrl(name, flow, trigger, context, state, config) {
8047
8047
  return __async(this, null, function* () {
@@ -8049,7 +8049,7 @@ function getIntegrationFlowUrl(name, flow, trigger, context, state, config) {
8049
8049
  const serializedContext = serializerBase64.serialize(__spreadValues(__spreadValues({
8050
8050
  state: serializedState
8051
8051
  }, trigger), context));
8052
- const url = `${config.urls.adapterUrl}/integrations/${name}/flows/${flow}/flow?context=${serializedContext}`;
8052
+ const url = `${config.urls.adapterUrl}/integrations/${name}/flows/${flow}?context=${serializedContext}`;
8053
8053
  if (trigger.mode === "modal" /* Modal */) {
8054
8054
  const newWindow = window.open(
8055
8055
  url,
package/dist/index.mjs CHANGED
@@ -7894,7 +7894,7 @@ function getIntegrationFlowUrlForRedirection(provider, flow, state, context, con
7894
7894
  mode: "redirect" /* Redirect */,
7895
7895
  state: serializedState
7896
7896
  }));
7897
- return `${config.adapterUrl}/integrations/${provider}/flows/${flow}/flow?context=${serializedContext}`;
7897
+ return `${config.adapterUrl}/integrations/${provider}/flows/${flow}?context=${serializedContext}`;
7898
7898
  }
7899
7899
  function getIntegrationFlowUrl(name, flow, trigger, context, state, config) {
7900
7900
  return __async(this, null, function* () {
@@ -7902,7 +7902,7 @@ function getIntegrationFlowUrl(name, flow, trigger, context, state, config) {
7902
7902
  const serializedContext = serializerBase64.serialize(__spreadValues(__spreadValues({
7903
7903
  state: serializedState
7904
7904
  }, trigger), context));
7905
- const url = `${config.urls.adapterUrl}/integrations/${name}/flows/${flow}/flow?context=${serializedContext}`;
7905
+ const url = `${config.urls.adapterUrl}/integrations/${name}/flows/${flow}?context=${serializedContext}`;
7906
7906
  if (trigger.mode === "modal" /* Modal */) {
7907
7907
  const newWindow = window.open(
7908
7908
  url,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livechat/developer-studio-api",
3
- "version": "3.4.11",
3
+ "version": "3.4.12",
4
4
  "description": "This project is API for LiveChat Developer Studio.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -20,9 +20,9 @@
20
20
  "@types/node": "^17.0.12",
21
21
  "tsup": "^7.1.0",
22
22
  "typescript": "^5.1.6",
23
+ "eslint-config-custom": "0.0.10",
23
24
  "tsconfig": "0.0.1",
24
- "utils": "0.0.4",
25
- "eslint-config-custom": "0.0.10"
25
+ "utils": "0.0.4"
26
26
  },
27
27
  "scripts": {
28
28
  "build": "tsup",