@goliapkg/sentori-vue 0.3.0 → 1.0.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.
Files changed (2) hide show
  1. package/README.md +43 -0
  2. package/package.json +5 -4
package/README.md ADDED
@@ -0,0 +1,43 @@
1
+ # @goliapkg/sentori-vue
2
+
3
+ Vue 3 SDK for [Sentori](https://sentori.golia.jp). Installs as a
4
+ plugin; the global error handler captures component-tree errors
5
+ automatically.
6
+
7
+ ## Install
8
+
9
+ ```sh
10
+ bun add @goliapkg/sentori-vue @goliapkg/sentori-javascript
11
+ ```
12
+
13
+ ## Use
14
+
15
+ ```ts
16
+ // main.ts
17
+ import { createApp } from 'vue'
18
+ import { sentoriVue } from '@goliapkg/sentori-vue'
19
+ import App from './App.vue'
20
+
21
+ createApp(App)
22
+ .use(sentoriVue, {
23
+ token: 'st_pk_…',
24
+ release: 'my-app@1.2.3',
25
+ environment: 'prod',
26
+ })
27
+ .mount('#app')
28
+ ```
29
+
30
+ For manual capture:
31
+
32
+ ```ts
33
+ import { sentori } from '@goliapkg/sentori-javascript'
34
+ sentori.captureException(err)
35
+ ```
36
+
37
+ → Full guide: [sentori.golia.jp/docs/sdk-vue](https://sentori.golia.jp/docs/sdk-vue)
38
+ → Sentry drop-in: [sentori.golia.jp/docs/sentry-compat](https://sentori.golia.jp/docs/sentry-compat)
39
+
40
+ ## License
41
+
42
+ Dual-licensed under [Apache-2.0](../../LICENSE-APACHE) OR
43
+ [MIT](../../LICENSE-MIT).
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "@goliapkg/sentori-vue",
3
- "version": "0.3.0",
3
+ "version": "1.0.0",
4
4
  "description": "Vue 3 adapter for Sentori — plugin, errorHandler hook, Vue Router auto-trace navigation, <SentoriErrorBoundary>.",
5
- "license": "MIT",
5
+ "license": "Apache-2.0 OR MIT",
6
+ "author": "GOLIA K.K. <takagi@golia.jp> (https://golia.jp)",
6
7
  "homepage": "https://sentori.golia.jp",
7
8
  "repository": {
8
9
  "type": "git",
@@ -53,8 +54,8 @@
53
54
  }
54
55
  },
55
56
  "dependencies": {
56
- "@goliapkg/sentori-core": "^0.10.0",
57
- "@goliapkg/sentori-javascript": "^0.6.0"
57
+ "@goliapkg/sentori-core": "^1.0.0",
58
+ "@goliapkg/sentori-javascript": "^1.0.0"
58
59
  },
59
60
  "devDependencies": {
60
61
  "@types/bun": "latest",