@heypointerhq/vue 0.2.0 → 0.2.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 CHANGED
@@ -9,14 +9,14 @@ import { HeyPointerAssistant } from "@heypointerhq/vue";
9
9
 
10
10
  <template>
11
11
  <!-- your app -->
12
- <HeyPointerAssistant base-url="https://your-heypointer-server" client-id="gfc_..." />
12
+ <HeyPointerAssistant base-url="https://your-heypointer-server" client-id="hpc_..." />
13
13
  </template>
14
14
  ```
15
15
 
16
16
  | Prop | Meaning |
17
17
  |---|---|
18
18
  | `baseUrl` | HeyPointer API origin (required). Changing it remounts the guide. |
19
- | `clientId` | Client id from `heypointer init` (`gfc_` + 24 hex, public). The server refuses guide requests without a valid one. |
19
+ | `clientId` | Client id from `heypointer init` (`hpc_` + 24 hex, public). The server refuses guide requests without a valid one. |
20
20
  | `targetTimeoutMs` | How long to wait for a target that appears late (default 1500). |
21
21
  | `assist` | Start with assist mode on. The user can switch it off in the card; it is not remembered. See the [SDK README](../sdk/README.md#assist-mode). |
22
22
  | `labels` | Override any user-visible string (translations). Plain text with `{placeholders}`. See [Customizing](../../docs/CUSTOMIZING.md). |
@@ -34,7 +34,7 @@ The component exposes `player()` for the live player: `guide.value?.player()?.op
34
34
  npm install @heypointerhq/vue vue
35
35
  ```
36
36
 
37
- `@heypointerhq/sdk` comes with it. `vue` 3.3 or newer is a peer dependency. Version 0.2.0. The packages are still `private` (not on a registry); until publishing is approved, install the tarball: `npm pack -w @heypointerhq/vue`, then `npm install ./heypointer-vue-0.2.0.tgz`. See [docs/PACKAGES.md](../../docs/PACKAGES.md). Install `@heypointerhq/sdk` and `@heypointerhq/contracts` tarballs the same way.
37
+ `@heypointerhq/sdk` comes with it. `vue` 3.3 or newer is a peer dependency. Version 0.2.1. Install it with `npm install @heypointerhq/vue`; `@heypointerhq/sdk` and `@heypointerhq/contracts` come with it.
38
38
 
39
39
  ## Nuxt and server rendering
40
40
 
@@ -45,3 +45,7 @@ The element is registered in `onMounted`, so a server render emits an inert `<he
45
45
  Verified: 5 tests that mount the real player in jsdom, cover `baseUrl` changes, unmount and server rendering. Peer dependency: `vue` 3.3 or newer.
46
46
 
47
47
  `npm test -w packages/vue`
48
+
49
+ ---
50
+
51
+ [Website](https://heypointer.com/) · [Docs](https://heypointer.com/docs/) · [X](https://x.com/heypointer) · [Instagram](https://www.instagram.com/heypointer/) · Support: [Buy Me a Coffee](https://buymeacoffee.com/heypointer) · [Ko-fi](https://ko-fi.com/heypointer)
package/dist/index.d.ts CHANGED
@@ -5,14 +5,14 @@ import type { PropType } from 'vue';
5
5
  * `@heypointerhq/sdk`; this component only manages the element's lifecycle in Vue.
6
6
  * Nuxt-safe: registration happens in `onMounted`, so SSR emits an inert tag.
7
7
  *
8
- * <HeyPointerAssistant base-url="https://heypointer.example.com" client-id="gfc_..." />
8
+ * <HeyPointerAssistant base-url="https://heypointer.example.com" client-id="hpc_..." />
9
9
  */
10
10
  export declare const HeyPointerAssistant: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
11
11
  baseUrl: {
12
12
  type: StringConstructor;
13
13
  required: true;
14
14
  };
15
- /** Publishable client id from `heypointer init` (`gfc_` + 24 hex). */
15
+ /** Publishable client id from `heypointer init` (`hpc_` + 24 hex). */
16
16
  clientId: {
17
17
  type: StringConstructor;
18
18
  default: string;
@@ -64,7 +64,7 @@ export declare const HeyPointerAssistant: import("vue").DefineComponent<import("
64
64
  type: StringConstructor;
65
65
  required: true;
66
66
  };
67
- /** Publishable client id from `heypointer init` (`gfc_` + 24 hex). */
67
+ /** Publishable client id from `heypointer init` (`hpc_` + 24 hex). */
68
68
  clientId: {
69
69
  type: StringConstructor;
70
70
  default: string;
package/dist/index.js CHANGED
@@ -1,3 +1,5 @@
1
+ // SPDX-License-Identifier: Apache-2.0
2
+ // Copyright 2026 HeyPointer
1
3
  import { defineComponent, h, onMounted, ref } from 'vue';
2
4
  import { HEYPOINTER_TAG, defineHeyPointerElement } from '@heypointerhq/sdk';
3
5
  /**
@@ -5,13 +7,13 @@ import { HEYPOINTER_TAG, defineHeyPointerElement } from '@heypointerhq/sdk';
5
7
  * `@heypointerhq/sdk`; this component only manages the element's lifecycle in Vue.
6
8
  * Nuxt-safe: registration happens in `onMounted`, so SSR emits an inert tag.
7
9
  *
8
- * <HeyPointerAssistant base-url="https://heypointer.example.com" client-id="gfc_..." />
10
+ * <HeyPointerAssistant base-url="https://heypointer.example.com" client-id="hpc_..." />
9
11
  */
10
12
  export const HeyPointerAssistant = defineComponent({
11
13
  name: 'HeyPointerAssistant',
12
14
  props: {
13
15
  baseUrl: { type: String, required: true },
14
- /** Publishable client id from `heypointer init` (`gfc_` + 24 hex). */
16
+ /** Publishable client id from `heypointer init` (`hpc_` + 24 hex). */
15
17
  clientId: { type: String, default: '' },
16
18
  targetTimeoutMs: { type: Number, default: 0 },
17
19
  /** Start with assist mode on. The user can still switch it off; it is not remembered. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@heypointerhq/vue",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "type": "module",
5
5
  "description": "Vue 3 component for HeyPointer: renders the shared <heypointer-assistant> element and manages its lifecycle.",
6
6
  "keywords": [
@@ -39,7 +39,7 @@
39
39
  "NOTICE"
40
40
  ],
41
41
  "dependencies": {
42
- "@heypointerhq/sdk": "^0.2.0"
42
+ "@heypointerhq/sdk": "^0.2.1"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "vue": ">=3.3"