@shop-prompter/react 1.1.0 → 1.1.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # shop-prompter-react
2
2
 
3
+ ## 1.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 1f25792: [FIX] AgentExperience greeting message
8
+
3
9
  ## 1.1.0
4
10
 
5
11
  ### Minor Changes
package/dist/index.js CHANGED
@@ -2025,7 +2025,7 @@ function ShopPrompter(props) {
2025
2025
  ...styles2.welcomeDescription,
2026
2026
  fontFamily: themeObj().fontFamily || styles2.welcomeDescription.fontFamily
2027
2027
  },
2028
- children: ((_c = agentExperience == null ? void 0 : agentExperience.greeting) == null ? void 0 : _c.description) || TRANSLATIONS.welcomeDescription
2028
+ children: ((_c = agentExperience == null ? void 0 : agentExperience.greeting) == null ? void 0 : _c.message) || TRANSLATIONS.welcomeDescription
2029
2029
  }
2030
2030
  ),
2031
2031
  /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { style: styles2.buttonContainer, children: (_d = prompts()) == null ? void 0 : _d.map((item) => /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
package/dist/index.mjs CHANGED
@@ -1989,7 +1989,7 @@ function ShopPrompter(props) {
1989
1989
  ...styles2.welcomeDescription,
1990
1990
  fontFamily: themeObj().fontFamily || styles2.welcomeDescription.fontFamily
1991
1991
  },
1992
- children: ((_c = agentExperience == null ? void 0 : agentExperience.greeting) == null ? void 0 : _c.description) || TRANSLATIONS.welcomeDescription
1992
+ children: ((_c = agentExperience == null ? void 0 : agentExperience.greeting) == null ? void 0 : _c.message) || TRANSLATIONS.welcomeDescription
1993
1993
  }
1994
1994
  ),
1995
1995
  /* @__PURE__ */ jsx4("div", { style: styles2.buttonContainer, children: (_d = prompts()) == null ? void 0 : _d.map((item) => /* @__PURE__ */ jsx4(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shop-prompter/react",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",
@@ -1152,7 +1152,7 @@ function ShopPrompter(props) {
1152
1152
  styles.welcomeDescription.fontFamily,
1153
1153
  }}
1154
1154
  >
1155
- {agentExperience?.greeting?.description ||
1155
+ {agentExperience?.greeting?.message ||
1156
1156
  TRANSLATIONS.welcomeDescription}
1157
1157
  </p>
1158
1158
  <div style={styles.buttonContainer}>