@release0/js 1.1.1 → 1.1.3

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
@@ -16,7 +16,7 @@ npm install @release0/js
16
16
 
17
17
  ```
18
18
  <script type="module">
19
- import Agent from 'https://cdn.jsdelivr.net/npm/@release0/js@1.1.0/dist/web.js'
19
+ import Agent from 'https://cdn.jsdelivr.net/npm/@release0/js@1.1.3/dist/web.js'
20
20
 
21
21
  Agent.initStandard({
22
22
  agent: 'my-agent-id',
@@ -34,7 +34,7 @@ There, you can change the container dimensions. Here is a code example:
34
34
 
35
35
  ```html
36
36
  <script type="module">
37
- import Agent from "https://cdn.jsdelivr.net/npm/@release0/js@1.1.0/dist/web.js";
37
+ import Agent from "https://cdn.jsdelivr.net/npm/@release0/js@1.1.3/dist/web.js";
38
38
 
39
39
  Agent.initStandard({
40
40
  agent: "my-agent-id",
@@ -54,7 +54,7 @@ Here is an example:
54
54
 
55
55
  ```html
56
56
  <script type="module">
57
- import Agent from "https://cdn.jsdelivr.net/npm/@release0/js@1.1.0/dist/web.js";
57
+ import Agent from "https://cdn.jsdelivr.net/npm/@release0/js@1.1.3/dist/web.js";
58
58
 
59
59
  Agent.initPopup({
60
60
  agent: "my-agent-id",
@@ -96,7 +96,7 @@ Here is an example:
96
96
 
97
97
  ```html
98
98
  <script type="module">
99
- import Agent from "https://cdn.jsdelivr.net/npm/@release0/js@1.1.0/dist/web.js";
99
+ import Agent from "https://cdn.jsdelivr.net/npm/@release0/js@1.1.3/dist/web.js";
100
100
 
101
101
  Agent.initBubble({
102
102
  agent: "my-agent-id",
package/dist/index.d.ts CHANGED
@@ -12,6 +12,7 @@ type BubbleTheme = {
12
12
  button?: ButtonTheme;
13
13
  previewMessage?: PreviewMessageTheme;
14
14
  placement?: "left" | "right";
15
+ position?: "fixed" | "static";
15
16
  };
16
17
  type ChatWindowTheme = {
17
18
  backgroundColor?: string;
@@ -120,6 +121,9 @@ type PopupProps = AgentProps & PopupParams & {
120
121
  };
121
122
 
122
123
  type BubbleProps = AgentProps & BubbleParams & {
124
+ inlineStyle?: {
125
+ [key: string]: string;
126
+ };
123
127
  onOpen?: () => void;
124
128
  onClose?: () => void;
125
129
  onPreviewMessageClick?: () => void;