@bigbinary/neeto-commons-frontend 2.0.14 → 2.0.15

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/README.md CHANGED
@@ -7,7 +7,7 @@ The commons frontend library for Neeto Applications.
7
7
  Install from npm:
8
8
 
9
9
  ```bash
10
- yarn add "@bigbinary/neeto-commons-frontend@2.0.14"
10
+ yarn add "@bigbinary/neeto-commons-frontend@2.0.15"
11
11
  ```
12
12
 
13
13
  This package relies on the host project's tailwind configuration. So add
@@ -436,11 +436,13 @@ var neetoCommons = {
436
436
  snippet: {
437
437
  copied: "Copied to clipboard!",
438
438
  copy: "Copy",
439
- sendViaEmail: "Send code via email",
439
+ sendViaEmail: "Send via email",
440
440
  disabledError: "Please enable atleast 1 widget."
441
441
  },
442
442
  instructions: {
443
- placement: "Place the embed code in your HTML file. This will embed <fontBold>{{selectedWidgets}}</fontBold> in your website."
443
+ placement: "Place the embed code in your HTML file. This will embed <fontBold>{{selectedWidgets}}</fontBold> in your website.",
444
+ userIdentity: "Specify user identity information. This information is used to classify neetoChat conversations and neetoReplay sessions.",
445
+ sessionContext: "Save contextual data for the neetoReplay sessions. Sessions can be filtered by this data."
444
446
  }
445
447
  },
446
448
  email: {
@@ -453,10 +455,20 @@ var neetoCommons = {
453
455
  },
454
456
  subject: {
455
457
  label: "Subject",
456
- "default": "neetoWidget script for installing {{selectedWidgets}}"
458
+ values: {
459
+ embedCode: "neetoWidget script for installing {{selectedWidgets}}",
460
+ userIdentity: "neetoWidget user identity object to specify user details",
461
+ sessionContext: "neetoReplay session context object to save contextual information"
462
+ }
463
+ }
464
+ },
465
+ body: {
466
+ values: {
467
+ embedCode: "Hey there. We're going to use {{selectedWidgets}} on our website and I was hoping you could help us with the installation steps. Please find the code snippet for widget installation attached below. You can find the documentation at - {{neetoKbUrl}}.",
468
+ userIdentity: "Hey there. This is the object structure that you can use to specify the user identity for neetoWidget. You can find the documentation at - {{userIdentityKbUrl}}.",
469
+ sessionContext: "Hey there. This is the object structure that you can use to specify the contextual values for neetoReplay sessions. You can find the documentation at - {{sessionContextKbUrl}}."
457
470
  }
458
471
  },
459
- body: "Hey there, We're going to use {{selectedWidgets}} on our website and I was hoping you could help us with the installation steps. Please find the code snippet for widget installation attached below.",
460
472
  actions: {
461
473
  send: "Send",
462
474
  cancel: "Cancel"
package/initializers.js CHANGED
@@ -425,11 +425,13 @@ var neetoCommons = {
425
425
  snippet: {
426
426
  copied: "Copied to clipboard!",
427
427
  copy: "Copy",
428
- sendViaEmail: "Send code via email",
428
+ sendViaEmail: "Send via email",
429
429
  disabledError: "Please enable atleast 1 widget."
430
430
  },
431
431
  instructions: {
432
- placement: "Place the embed code in your HTML file. This will embed <fontBold>{{selectedWidgets}}</fontBold> in your website."
432
+ placement: "Place the embed code in your HTML file. This will embed <fontBold>{{selectedWidgets}}</fontBold> in your website.",
433
+ userIdentity: "Specify user identity information. This information is used to classify neetoChat conversations and neetoReplay sessions.",
434
+ sessionContext: "Save contextual data for the neetoReplay sessions. Sessions can be filtered by this data."
433
435
  }
434
436
  },
435
437
  email: {
@@ -442,10 +444,20 @@ var neetoCommons = {
442
444
  },
443
445
  subject: {
444
446
  label: "Subject",
445
- "default": "neetoWidget script for installing {{selectedWidgets}}"
447
+ values: {
448
+ embedCode: "neetoWidget script for installing {{selectedWidgets}}",
449
+ userIdentity: "neetoWidget user identity object to specify user details",
450
+ sessionContext: "neetoReplay session context object to save contextual information"
451
+ }
452
+ }
453
+ },
454
+ body: {
455
+ values: {
456
+ embedCode: "Hey there. We're going to use {{selectedWidgets}} on our website and I was hoping you could help us with the installation steps. Please find the code snippet for widget installation attached below. You can find the documentation at - {{neetoKbUrl}}.",
457
+ userIdentity: "Hey there. This is the object structure that you can use to specify the user identity for neetoWidget. You can find the documentation at - {{userIdentityKbUrl}}.",
458
+ sessionContext: "Hey there. This is the object structure that you can use to specify the contextual values for neetoReplay sessions. You can find the documentation at - {{sessionContextKbUrl}}."
446
459
  }
447
460
  },
448
- body: "Hey there, We're going to use {{selectedWidgets}} on our website and I was hoping you could help us with the installation steps. Please find the code snippet for widget installation attached below.",
449
461
  actions: {
450
462
  send: "Send",
451
463
  cancel: "Cancel"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-commons-frontend",
3
- "version": "2.0.14",
3
+ "version": "2.0.15",
4
4
  "description": "A package encapsulating common code across neeto projects including initializers, utility functions, common components and hooks and so on.",
5
5
  "repository": "git@github.com:bigbinary/neeto-commons-frontend.git",
6
6
  "author": "Amaljith K <amaljith.k@bigbinary.com>",