@queuezero/react 0.1.11 → 0.1.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 +2 -0
- package/dist/index.mjs +2 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -56,6 +56,8 @@ function WaitlistProvider({ campaign, config, children }) {
|
|
|
56
56
|
try {
|
|
57
57
|
const cfg = await stateManager.fetchPublicConfig();
|
|
58
58
|
if (mounted) setPublicConfig(cfg);
|
|
59
|
+
stateManager.getClient().recordView().catch(() => {
|
|
60
|
+
});
|
|
59
61
|
} catch (e) {
|
|
60
62
|
console.error("Failed to fetch config", e);
|
|
61
63
|
} finally {
|
package/dist/index.mjs
CHANGED
|
@@ -22,6 +22,8 @@ function WaitlistProvider({ campaign, config, children }) {
|
|
|
22
22
|
try {
|
|
23
23
|
const cfg = await stateManager.fetchPublicConfig();
|
|
24
24
|
if (mounted) setPublicConfig(cfg);
|
|
25
|
+
stateManager.getClient().recordView().catch(() => {
|
|
26
|
+
});
|
|
25
27
|
} catch (e) {
|
|
26
28
|
console.error("Failed to fetch config", e);
|
|
27
29
|
} finally {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@queuezero/react",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.12",
|
|
4
4
|
"description": "React components and hooks for QueueZero viral waitlists",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"react": ">=17.0.0"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"queuezero": "
|
|
38
|
+
"queuezero": "*"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@types/node": "^22.13.11",
|