@queuezero/vue 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.d.mts CHANGED
@@ -287,8 +287,8 @@ declare const WaitlistForm: vue.DefineComponent<vue.ExtractPropTypes<{
287
287
  default: undefined;
288
288
  };
289
289
  }>> & Readonly<{
290
- onSuccess?: ((response: SubmitResponse) => any) | undefined;
291
290
  onError?: ((error: Error) => any) | undefined;
291
+ onSuccess?: ((response: SubmitResponse) => any) | undefined;
292
292
  }>, {
293
293
  placeholder: string;
294
294
  referrerCode: string;
package/dist/index.d.ts CHANGED
@@ -287,8 +287,8 @@ declare const WaitlistForm: vue.DefineComponent<vue.ExtractPropTypes<{
287
287
  default: undefined;
288
288
  };
289
289
  }>> & Readonly<{
290
- onSuccess?: ((response: SubmitResponse) => any) | undefined;
291
290
  onError?: ((error: Error) => any) | undefined;
291
+ onSuccess?: ((response: SubmitResponse) => any) | undefined;
292
292
  }>, {
293
293
  placeholder: string;
294
294
  referrerCode: string;
package/dist/index.js CHANGED
@@ -62,6 +62,8 @@ function useWaitlist(campaign, config) {
62
62
  });
63
63
  (0, import_vue.onMounted)(async () => {
64
64
  await stateManager.fetchPublicConfig();
65
+ client.recordView().catch(() => {
66
+ });
65
67
  if (stateManager.getState().isJoined) {
66
68
  stateManager.refresh();
67
69
  }
package/dist/index.mjs CHANGED
@@ -26,6 +26,8 @@ function useWaitlist(campaign, config) {
26
26
  });
27
27
  onMounted(async () => {
28
28
  await stateManager.fetchPublicConfig();
29
+ client.recordView().catch(() => {
30
+ });
29
31
  if (stateManager.getState().isJoined) {
30
32
  stateManager.refresh();
31
33
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@queuezero/vue",
3
- "version": "0.1.11",
3
+ "version": "0.1.12",
4
4
  "description": "Vue components and composables for QueueZero viral waitlists",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -34,7 +34,7 @@
34
34
  "vue": ">=3.3.0"
35
35
  },
36
36
  "dependencies": {
37
- "queuezero": "^0.1.6"
37
+ "queuezero": "*"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@types/node": "^22.13.11",