nuxt-error-tracker 0.1.3 → 0.1.4

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,4 +1,4 @@
1
- # @ray_of_goodness_/nuxt-error-tracker
1
+ # nuxt-error-tracker
2
2
 
3
3
  Lightweight frontend error tracker for **Nuxt 3 / 4**. Captures unhandled
4
4
  errors, failed requests, and a breadcrumb trail of user actions, then ships them
@@ -19,8 +19,8 @@ break the host app** — if it isn't configured, it does nothing.
19
19
  ## Install
20
20
 
21
21
  ```bash
22
- npm i @ray_of_goodness_/nuxt-error-tracker
23
- # or: bun add @ray_of_goodness_/nuxt-error-tracker
22
+ npm i nuxt-error-tracker
23
+ # or: bun add nuxt-error-tracker
24
24
  ```
25
25
 
26
26
  ## Setup
@@ -31,7 +31,7 @@ key:
31
31
  ```ts
32
32
  // nuxt.config.ts
33
33
  export default defineNuxtConfig({
34
- modules: ['@ray_of_goodness_/nuxt-error-tracker'],
34
+ modules: ['nuxt-error-tracker'],
35
35
  errorTracker: {
36
36
  endpoint: 'https://<your-observer-host>/v1/ingest',
37
37
  publicKey: 'pk_xxxxxxxxxxxxxxxxxxxxxxxx',
@@ -65,7 +65,7 @@ Wire them in `nuxt.config.ts`:
65
65
 
66
66
  ```ts
67
67
  export default defineNuxtConfig({
68
- modules: ['@ray_of_goodness_/nuxt-error-tracker'],
68
+ modules: ['nuxt-error-tracker'],
69
69
  runtimeConfig: {
70
70
  public: {
71
71
  errorTracker: {
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
- "name": "@ray_of_goodness_/nuxt-error-tracker",
2
+ "name": "nuxt-error-tracker",
3
3
  "configKey": "errorTracker",
4
- "version": "0.1.3",
4
+ "version": "0.1.4",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "0.8.4",
7
7
  "unbuild": "2.0.0"
package/dist/module.mjs CHANGED
@@ -6,7 +6,7 @@ function posInt(value, fallback) {
6
6
  }
7
7
  const module = defineNuxtModule({
8
8
  meta: {
9
- name: "@ray_of_goodness_/nuxt-error-tracker",
9
+ name: "nuxt-error-tracker",
10
10
  configKey: "errorTracker"
11
11
  },
12
12
  defaults: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-error-tracker",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {