@fingerru/vue 1.0.0-next.5 → 1.1.0

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
@@ -1,25 +1,22 @@
1
1
  # @fingerru/vue
2
2
 
3
- Vue 3 SDK для идентификации посетителей сайта.
3
+ Vue 3 SDK для получения идентификатора посетителя сайта.
4
4
 
5
5
  ## Установка
6
6
 
7
7
  ```bash
8
- npm i @fingerru/vue @fingerru/agent
8
+ npm i @fingerru/vue
9
9
  # or
10
- yarn add @fingerru/vue @fingerru/agent
10
+ yarn add @fingerru/vue
11
11
  # or
12
- pnpm add @fingerru/vue @fingerru/agent
12
+ pnpm add @fingerru/vue
13
13
  # or
14
- bun add @fingerru/vue @fingerru/agent
14
+ bun add @fingerru/vue
15
15
  ```
16
16
 
17
- ## Быстрый старт
17
+ ## Подключение
18
18
 
19
- ### 1. Подключите плагин
20
-
21
- Зарегистрируйте `createFingprint()` при создании приложения. Передайте публичный
22
- ключ проекта в `apiKey`:
19
+ Зарегистрируйте плагин и передайте публичный ключ проекта:
23
20
 
24
21
  ```ts
25
22
  import { createApp } from 'vue'
@@ -27,143 +24,67 @@ import { createFingprint } from '@fingerru/vue'
27
24
  import App from './App.vue'
28
25
 
29
26
  createApp(App)
30
- .use(
31
- createFingprint({
32
- apiKey: 'pk_live_example',
33
- }),
34
- )
27
+ .use(createFingprint({ apiKey: 'pk_live_example' }))
35
28
  .mount('#app')
36
29
  ```
37
30
 
38
- При необходимости укажите `endpoint` для своего API или proxy, `runtimeUrl` для
39
- своего CDN и `loadTimeout` для времени загрузки runtime.
40
-
41
- ### 2. Используйте `useVisitorData`
31
+ Для своего proxy передайте его origin в `endpoint`:
42
32
 
43
- Composable возвращает visitor-данные и состояние запроса:
44
-
45
- ```vue
46
- <script setup lang="ts">
47
- import { useVisitorData } from '@fingerru/vue'
33
+ ```ts
34
+ createFingprint({
35
+ apiKey: 'pk_live_example',
36
+ endpoint: 'https://metrics.example.com',
37
+ })
38
+ ```
48
39
 
49
- const { data, error, isLoading } = useVisitorData({ immediate: true })
50
- </script>
40
+ `loadTimeout` задаёт максимальное время ожидания загрузки в миллисекундах; по умолчанию — `10000`. Чтобы включить кеш, передайте `cache`:
51
41
 
52
- <template>
53
- <p v-if="isLoading">Получаем данные…</p>
54
- <p v-else-if="error">Не удалось получить данные: {{ error.message }}</p>
55
- <p v-else>Visitor: {{ data?.user }}</p>
56
- </template>
42
+ ```ts
43
+ createFingprint({
44
+ apiKey: 'pk_live_example',
45
+ cache: { storage: 'sessionStorage', duration: 3600 },
46
+ })
57
47
  ```
58
48
 
59
- Передайте `{ immediate: true }`, чтобы выполнить запрос после монтирования
60
- компонента. По умолчанию запрос запускается только после вызова `getData()`.
49
+ `storage` принимает `memory`, `sessionStorage` или `localStorage`; `duration` задаётся в секундах.
61
50
 
62
- ## Запрос по действию пользователя
51
+ ## Composition API
63
52
 
64
- Используйте `getData()`, когда идентификатор нужен при конкретном действии,
65
- например при отправке формы:
53
+ `useVisitorData()` возвращает реактивные данные и состояние запроса. Передайте `immediate: true`, чтобы выполнить запрос после монтирования:
66
54
 
67
55
  ```vue
68
56
  <script setup lang="ts">
69
57
  import { useVisitorData } from '@fingerru/vue'
70
58
 
71
- const { getData, isLoading } = useVisitorData()
72
-
73
- async function handleSubmit() {
74
- const visitor = await getData()
75
- console.log(visitor.user)
76
- }
59
+ const { data, error, isLoading } = useVisitorData({ immediate: true })
77
60
  </script>
78
61
 
79
62
  <template>
80
- <button :disabled="isLoading" @click="handleSubmit">Отправить</button>
63
+ <p v-if="isLoading">Получаем данные…</p>
64
+ <p v-else-if="error">Не удалось получить данные: {{ error.message }}</p>
65
+ <p v-else>Visitor: {{ data?.user }}</p>
81
66
  </template>
82
67
  ```
83
68
 
84
- Для `useVisitorData()` можно задать `timeout` и `ignoreCache`; эти же параметры
85
- можно передать непосредственно в `getData()`.
86
-
87
- ## Кеширование
88
-
89
- Кеширование выключено по умолчанию. Чтобы включить его, добавьте `cache` в
90
- настройки плагина:
91
-
92
- ```ts
93
- createFingprint({
94
- apiKey: 'pk_live_example',
95
- cache: {
96
- storage: 'sessionStorage',
97
- duration: 3600,
98
- },
99
- })
100
- ```
69
+ Без `immediate` вызовите `getData()` при действии пользователя. Для `useVisitorData()` и `getData()` доступны параметры `timeout` и `ignoreCache`.
101
70
 
102
71
  ## Options API
103
72
 
104
- Плагин добавляет `$fingprint` в компоненты. Для получения данных вызовите
105
- `this.$fingprint.getVisitorData()`:
73
+ После регистрации плагина вызовите `this.$fingprint.getVisitorData()`:
106
74
 
107
- ```vue
108
- <script lang="ts">
109
- import { defineComponent } from 'vue'
110
-
111
- export default defineComponent({
112
- methods: {
113
- async getVisitorData() {
114
- const visitor = await this.$fingprint.getVisitorData()
115
- console.log(visitor.user)
116
- },
117
- },
118
- })
119
- </script>
75
+ ```ts
76
+ const visitor = await this.$fingprint.getVisitorData({ timeout: 5_000 })
77
+ console.log(visitor.user)
120
78
  ```
121
79
 
122
80
  ## Nuxt
123
81
 
124
- Fingerprinting работает только в браузере. Зарегистрируйте SDK в клиентском
125
- плагине `plugins/fingprint.client.ts`:
82
+ SDK работает только в браузере. Зарегистрируйте его в клиентском плагине, например `plugins/fingprint.client.ts`:
126
83
 
127
84
  ```ts
128
85
  import { createFingprint } from '@fingerru/vue'
129
86
 
130
87
  export default defineNuxtPlugin((nuxtApp) => {
131
- const config = useRuntimeConfig()
132
-
133
- nuxtApp.vueApp.use(
134
- createFingprint({
135
- apiKey: config.public.fingprintApiKey,
136
- }),
137
- )
138
- })
139
- ```
140
-
141
- Передайте публичный ключ через runtime-конфигурацию:
142
-
143
- ```ts
144
- export default defineNuxtConfig({
145
- runtimeConfig: {
146
- public: {
147
- fingprintApiKey: process.env.FINGPRINT_API_KEY,
148
- },
149
- },
88
+ nuxtApp.vueApp.use(createFingprint({ apiKey: 'pk_live_example' }))
150
89
  })
151
90
  ```
152
-
153
- Используйте `useVisitorData()` в клиентском компоненте, например в
154
- `components/VisitorData.client.vue`:
155
-
156
- ```vue
157
- <script setup lang="ts">
158
- import { useVisitorData } from '@fingerru/vue'
159
-
160
- const { data, getData, isLoading } = useVisitorData()
161
- </script>
162
-
163
- <template>
164
- <button :disabled="isLoading" @click="getData()">
165
- Получить visitor
166
- </button>
167
- <p v-if="data">Visitor: {{ data.user }}</p>
168
- </template>
169
- ```
package/dist/index.js CHANGED
@@ -1,7 +1,10 @@
1
1
  import { start as h } from "@fingerru/agent";
2
2
  import { inject as m, shallowRef as F, computed as a, onMounted as L } from "vue";
3
- const l = Symbol("fingprint"), y = (n) => {
4
- const s = h(n), o = {
3
+ const l = Symbol("fingprint"), w = (n) => {
4
+ const s = h(n, {
5
+ type: "vue",
6
+ version: "1.1.0"
7
+ }), o = {
5
8
  getVisitorData: (t) => s.get(t)
6
9
  };
7
10
  return {
@@ -14,7 +17,7 @@ const l = Symbol("fingprint"), y = (n) => {
14
17
  error: void 0,
15
18
  isFetched: !1,
16
19
  isLoading: !1
17
- }, V = {
20
+ }, y = {
18
21
  data: void 0,
19
22
  error: void 0,
20
23
  isFetched: !1,
@@ -31,7 +34,7 @@ const l = Symbol("fingprint"), y = (n) => {
31
34
  const e = F(D), u = a(() => e.value.data), g = a(() => e.value.error), f = a(() => e.value.isLoading), v = a(() => e.value.isFetched), d = (p) => {
32
35
  if (i)
33
36
  return i;
34
- e.value = V;
37
+ e.value = y;
35
38
  const r = t.getVisitorData({ timeout: s, ignoreCache: o, ...p });
36
39
  return i = r, r.then((c) => {
37
40
  e.value = {
@@ -63,7 +66,7 @@ const l = Symbol("fingprint"), y = (n) => {
63
66
  };
64
67
  };
65
68
  export {
66
- y as createFingprint,
69
+ w as createFingprint,
67
70
  x as useVisitorData
68
71
  };
69
72
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../src/config.ts","../src/plugin.ts","../src/use-visitor-data.ts"],"sourcesContent":["import type { GetOptions, VisitorResult } from '@fingerru/agent'\nimport { type InjectionKey } from 'vue'\n\nexport interface FingprintContextValue {\n getVisitorData: (config?: GetOptions) => Promise<VisitorResult>\n}\n\nexport const pluginKey: InjectionKey<FingprintContextValue> = Symbol('fingprint')\n","import { start, type GetOptions, type StartOptions } from '@fingerru/agent'\nimport type { App } from 'vue'\nimport { pluginKey, type FingprintContextValue } from './config'\n\nexport type CreateFingprintOptions = StartOptions\n\ndeclare module 'vue' {\n interface ComponentCustomProperties {\n $fingprint: FingprintContextValue\n }\n}\n\nexport const createFingprint = (options: CreateFingprintOptions) => {\n const agent = start(options)\n\n const client = {\n getVisitorData: (getOptions?: GetOptions) => agent.get(getOptions),\n }\n\n return {\n install: (app: App) => {\n app.provide(pluginKey, client)\n app.config.globalProperties.$fingprint = client\n },\n }\n}\n","import { computed, inject, onMounted, shallowRef, type ComputedRef } from 'vue'\nimport { pluginKey } from './config'\nimport type { GetOptions, VisitorResult } from '@fingerru/agent'\nimport type { QueryIdle, QueryLoading, QueryResult } from './types'\n\ninterface UseVisitorDataConfig {\n /**\n * Если `true`, автоматически запрашивает данные посетителя после монтирования\n * компонента. По умолчанию запрос выполняется только при явном вызове `getData()`.\n */\n immediate?: boolean\n}\n\nexport type QueryResultRefs<TData, TError = Error> = {\n [K in keyof QueryResult<TData, TError>]: ComputedRef<QueryResult<TData, TError>[K]>\n}\n\nexport type UseVisitorDataOptions = GetOptions & UseVisitorDataConfig\n\nexport type UseVisitorDataReturn = QueryResultRefs<VisitorResult> & {\n /**\n * Выполняет запрос на идентификацию к серверу и возвращает данные посетителя.\n */\n getData: (options?: GetOptions) => Promise<VisitorResult>\n}\n\nconst idle: QueryIdle = {\n data: undefined,\n error: undefined,\n isFetched: false,\n isLoading: false,\n}\n\nconst loading: QueryLoading = {\n data: undefined,\n error: undefined,\n isFetched: false,\n isLoading: true,\n}\n\nexport const useVisitorData = ({\n immediate,\n timeout,\n ignoreCache,\n}: UseVisitorDataOptions = {}): UseVisitorDataReturn => {\n const context = inject(pluginKey)\n\n if (!context) {\n throw new Error('useVisitorData must be used after app.use(createFingprint(...)).')\n }\n\n let pendingPromise: Promise<VisitorResult> | null = null\n const result = shallowRef<QueryResult<VisitorResult>>(idle)\n const data = computed(() => result.value.data)\n const error = computed(() => result.value.error)\n const isLoading = computed(() => result.value.isLoading)\n const isFetched = computed(() => result.value.isFetched)\n\n const getData = (overrideOptions?: GetOptions): Promise<VisitorResult> => {\n if (pendingPromise) {\n return pendingPromise\n }\n\n result.value = loading\n\n const request = context.getVisitorData({ timeout, ignoreCache, ...overrideOptions })\n\n pendingPromise = request\n\n request\n .then((visitor) => {\n result.value = {\n data: visitor,\n error: undefined,\n isFetched: true,\n isLoading: false,\n }\n })\n .catch((error) => {\n result.value = {\n data: undefined,\n error: error,\n isFetched: false,\n isLoading: false,\n }\n })\n .finally(() => {\n if (pendingPromise === request) {\n pendingPromise = null\n }\n })\n\n return request\n }\n\n onMounted(() => {\n if (immediate) {\n getData().catch(() => undefined)\n }\n })\n\n return {\n data,\n error,\n isLoading,\n isFetched,\n getData,\n }\n}\n"],"names":["pluginKey","createFingprint","options","agent","start","client","getOptions","app","idle","loading","useVisitorData","immediate","timeout","ignoreCache","context","inject","pendingPromise","result","shallowRef","data","computed","error","isLoading","isFetched","getData","overrideOptions","request","visitor","onMounted"],"mappings":";;AAOO,MAAMA,IAAiD,OAAO,WAAW,GCKnEC,IAAkB,CAACC,MAAoC;AAClE,QAAMC,IAAQC,EAAMF,CAAO,GAErBG,IAAS;AAAA,IACb,gBAAgB,CAACC,MAA4BH,EAAM,IAAIG,CAAU;AAAA,EAAA;AAGnE,SAAO;AAAA,IACL,SAAS,CAACC,MAAa;AACrB,MAAAA,EAAI,QAAQP,GAAWK,CAAM,GAC7BE,EAAI,OAAO,iBAAiB,aAAaF;AAAA,IAC3C;AAAA,EAAA;AAEJ,GCCMG,IAAkB;AAAA,EACtB,MAAM;AAAA,EACN,OAAO;AAAA,EACP,WAAW;AAAA,EACX,WAAW;AACb,G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AA,IACA,WAAAC;AAAA,IACA,WAAAC;AAAA,IACA,SAAAC;AAAA,EAAA;AAEJ;"}
1
+ {"version":3,"file":"index.js","sources":["../src/config.ts","../src/plugin.ts","../src/use-visitor-data.ts"],"sourcesContent":["import type { GetOptions, VisitorResult } from '@fingerru/agent'\nimport { type InjectionKey } from 'vue'\n\nexport interface FingprintContextValue {\n getVisitorData: (config?: GetOptions) => Promise<VisitorResult>\n}\n\nexport const pluginKey: InjectionKey<FingprintContextValue> = Symbol('fingprint')\n","import { start, type GetOptions, type StartOptions } from '@fingerru/agent'\nimport type { App } from 'vue'\nimport { pluginKey, type FingprintContextValue } from './config'\n\nexport type CreateFingprintOptions = StartOptions\n\ndeclare module 'vue' {\n interface ComponentCustomProperties {\n $fingprint: FingprintContextValue\n }\n}\n\nexport const createFingprint = (options: CreateFingprintOptions) => {\n const agent = start(options, {\n type: 'vue',\n version: __FINGPRINT_VUE_VERSION__,\n })\n\n const client = {\n getVisitorData: (getOptions?: GetOptions) => agent.get(getOptions),\n }\n\n return {\n install: (app: App) => {\n app.provide(pluginKey, client)\n app.config.globalProperties.$fingprint = client\n },\n }\n}\n","import { computed, inject, onMounted, shallowRef, type ComputedRef } from 'vue'\nimport { pluginKey } from './config'\nimport type { GetOptions, VisitorResult } from '@fingerru/agent'\nimport type { QueryIdle, QueryLoading, QueryResult } from './types'\n\ninterface UseVisitorDataConfig {\n /**\n * Если `true`, автоматически запрашивает данные посетителя после монтирования\n * компонента. По умолчанию запрос выполняется только при явном вызове `getData()`.\n */\n immediate?: boolean\n}\n\nexport type QueryResultRefs<TData, TError = Error> = {\n [K in keyof QueryResult<TData, TError>]: ComputedRef<QueryResult<TData, TError>[K]>\n}\n\nexport type UseVisitorDataOptions = GetOptions & UseVisitorDataConfig\n\nexport type UseVisitorDataReturn = QueryResultRefs<VisitorResult> & {\n /**\n * Выполняет запрос на идентификацию к серверу и возвращает данные посетителя.\n */\n getData: (options?: GetOptions) => Promise<VisitorResult>\n}\n\nconst idle: QueryIdle = {\n data: undefined,\n error: undefined,\n isFetched: false,\n isLoading: false,\n}\n\nconst loading: QueryLoading = {\n data: undefined,\n error: undefined,\n isFetched: false,\n isLoading: true,\n}\n\nexport const useVisitorData = ({\n immediate,\n timeout,\n ignoreCache,\n}: UseVisitorDataOptions = {}): UseVisitorDataReturn => {\n const context = inject(pluginKey)\n\n if (!context) {\n throw new Error('useVisitorData must be used after app.use(createFingprint(...)).')\n }\n\n let pendingPromise: Promise<VisitorResult> | null = null\n const result = shallowRef<QueryResult<VisitorResult>>(idle)\n const data = computed(() => result.value.data)\n const error = computed(() => result.value.error)\n const isLoading = computed(() => result.value.isLoading)\n const isFetched = computed(() => result.value.isFetched)\n\n const getData = (overrideOptions?: GetOptions): Promise<VisitorResult> => {\n if (pendingPromise) {\n return pendingPromise\n }\n\n result.value = loading\n\n const request = context.getVisitorData({ timeout, ignoreCache, ...overrideOptions })\n\n pendingPromise = request\n\n request\n .then((visitor) => {\n result.value = {\n data: visitor,\n error: undefined,\n isFetched: true,\n isLoading: false,\n }\n })\n .catch((error) => {\n result.value = {\n data: undefined,\n error: error,\n isFetched: false,\n isLoading: false,\n }\n })\n .finally(() => {\n if (pendingPromise === request) {\n pendingPromise = null\n }\n })\n\n return request\n }\n\n onMounted(() => {\n if (immediate) {\n getData().catch(() => undefined)\n }\n })\n\n return {\n data,\n error,\n isLoading,\n isFetched,\n getData,\n }\n}\n"],"names":["pluginKey","createFingprint","options","agent","start","client","getOptions","app","idle","loading","useVisitorData","immediate","timeout","ignoreCache","context","inject","pendingPromise","result","shallowRef","data","computed","error","isLoading","isFetched","getData","overrideOptions","request","visitor","onMounted"],"mappings":";;AAOO,MAAMA,IAAiD,OAAO,WAAW,GCKnEC,IAAkB,CAACC,MAAoC;AAClE,QAAMC,IAAQC,EAAMF,GAAS;AAAA,IAC3B,MAAM;AAAA,IACN,SAAS;AAAA,EAAA,CACV,GAEKG,IAAS;AAAA,IACb,gBAAgB,CAACC,MAA4BH,EAAM,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;AAAA,MAAA;AAAA,IAEf,CAAC,EACA,QAAQ,MAAM;AACb,MAAIL,MAAmBU,MACrBV,IAAiB;AAAA,IAErB,CAAC,GAEIU;AAAA,EACT;AAEA,SAAAE,EAAU,MAAM;AACd,IAAIjB,KACFa,EAAA,EAAU,MAAM,MAAA;AAAA,KAAe;AAAA,EAEnC,CAAC,GAEM;AAAA,IACL,MAAAL;AAAA,IACA,OAAAE;AAAA,IACA,WAAAC;AAAA,IACA,WAAAC;AAAA,IACA,SAAAC;AAAA,EAAA;AAEJ;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fingerru/vue",
3
- "version": "1.0.0-next.5",
3
+ "version": "1.1.0",
4
4
  "description": "Vue SDK for the Fingprint service.",
5
5
  "keywords": [
6
6
  "browser",
@@ -32,12 +32,12 @@
32
32
  "LICENSE"
33
33
  ],
34
34
  "dependencies": {
35
- "@fingerru/agent": "1.0.0-next.5"
35
+ "@fingerru/agent": "1.1.0"
36
36
  },
37
37
  "devDependencies": {
38
38
  "vue": "^3.0.0",
39
- "@fingerru/tsconfig": "0.1.0",
40
- "@fingerru/protocol": "0.1.0"
39
+ "@fingerru/protocol": "0.1.0",
40
+ "@fingerru/tsconfig": "0.1.0"
41
41
  },
42
42
  "peerDependencies": {
43
43
  "vue": "^3.0.0"