@release0/react 1.0.0 → 1.0.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/README.md +4 -4
- package/package.json +5 -6
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@ import { Standard } from "@release0/react";
|
|
|
12
12
|
const App = () => {
|
|
13
13
|
return (
|
|
14
14
|
<Standard
|
|
15
|
-
agent="
|
|
15
|
+
agent="ag_herexisxyourxagentxid"
|
|
16
16
|
style={{ width: "100%", height: "500px" }}
|
|
17
17
|
/>
|
|
18
18
|
);
|
|
@@ -27,7 +27,7 @@ This code is creating a container with a 100% width (will match parent width) an
|
|
|
27
27
|
import { Popup } from "@release0/react";
|
|
28
28
|
|
|
29
29
|
const App = () => {
|
|
30
|
-
return <Popup agent="
|
|
30
|
+
return <Popup agent="ag_herexisxyourxagentxid" autoShowDelay={2000} />;
|
|
31
31
|
};
|
|
32
32
|
```
|
|
33
33
|
|
|
@@ -63,7 +63,7 @@ import { Bubble } from "@release0/react";
|
|
|
63
63
|
const App = () => {
|
|
64
64
|
return (
|
|
65
65
|
<Bubble
|
|
66
|
-
agent="
|
|
66
|
+
agent="ag_herexisxyourxagentxid"
|
|
67
67
|
previewMessage={{
|
|
68
68
|
message: "I have a question for you!",
|
|
69
69
|
autoShowDelay: 5000,
|
|
@@ -128,7 +128,7 @@ import { Standard } from "@release0/react";
|
|
|
128
128
|
const App = () => {
|
|
129
129
|
return (
|
|
130
130
|
<Standard
|
|
131
|
-
agent="
|
|
131
|
+
agent="ag_herexisxyourxagentxid"
|
|
132
132
|
style={{ width: "100%", height: "600px" }}
|
|
133
133
|
prefilledVariables={{
|
|
134
134
|
"Account URL": "https://my-site.com/account",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@release0/react",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Library to display Release0 agents on your React app",
|
|
5
5
|
"license": "FSL-1.1-ALv2",
|
|
6
6
|
"type": "module",
|
|
@@ -17,18 +17,17 @@
|
|
|
17
17
|
"build": "tsup"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"react": "18.2.
|
|
21
|
-
"@release0/js": "1.1.
|
|
20
|
+
"react": "18.2.0",
|
|
21
|
+
"@release0/js": "1.1.6"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@release0/tsconfig": "0.0.1",
|
|
25
25
|
"@types/react": "18.2.15",
|
|
26
|
-
"tsup": "8.3.0"
|
|
27
|
-
"react": "18.2.0"
|
|
26
|
+
"tsup": "8.3.0"
|
|
28
27
|
},
|
|
29
28
|
"peerDependencies": {
|
|
30
29
|
"react": "^16.0.0 || ^17.0.0 || ^18.0.0",
|
|
31
|
-
"@release0/js": "^1.1.
|
|
30
|
+
"@release0/js": "^1.1.6 || workspace:*"
|
|
32
31
|
},
|
|
33
32
|
"publishConfig": {
|
|
34
33
|
"access": "public"
|