rootly-runtime 1.2.0 → 1.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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Changelog
2
2
 
3
- All notable changes to @rootly/runtime will be documented in this file.
3
+ All notable changes to rootly-runtime will be documented in this file.
4
4
 
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
@@ -96,7 +96,7 @@ This release hardens the SDK for production use with critical bug fixes, perform
96
96
 
97
97
  ### 🎉 Initial Release
98
98
 
99
- First production release of @rootly/runtime SDK.
99
+ First production release of rootly-runtime SDK.
100
100
 
101
101
  ### Added
102
102
 
package/README.md CHANGED
@@ -1,17 +1,17 @@
1
- # @rootly/runtime
1
+ # rootly-runtime
2
2
 
3
3
  Production-grade runtime error tracking for Node.js applications.
4
4
 
5
5
  ## Installation
6
6
 
7
7
  ```bash
8
- npm install @rootly/runtime
8
+ npm install rootly-runtime
9
9
  ```
10
10
 
11
11
  ## Quick Start
12
12
 
13
13
  ```typescript
14
- import { init } from '@rootly/runtime';
14
+ import { init } from 'rootly-runtime';
15
15
 
16
16
  // Initialize at app startup
17
17
  init({
@@ -26,7 +26,7 @@ init({
26
26
  ### Basic Setup (Required)
27
27
 
28
28
  ```typescript
29
- import { init } from '@rootly/runtime';
29
+ import { init } from 'rootly-runtime';
30
30
 
31
31
  init({
32
32
  apiKey: process.env.ROOTLY_API_KEY!, // Required: Get from Rootly dashboard
@@ -46,7 +46,7 @@ init({
46
46
  ### Manual Error Capture
47
47
 
48
48
  ```typescript
49
- import { capture } from '@rootly/runtime';
49
+ import { capture } from 'rootly-runtime';
50
50
 
51
51
  try {
52
52
  // Your code...
@@ -66,7 +66,7 @@ try {
66
66
  ### Severity Levels (New in v1.2.0)
67
67
 
68
68
  ```typescript
69
- import { capture } from '@rootly/runtime';
69
+ import { capture } from 'rootly-runtime';
70
70
 
71
71
  // Error (default)
72
72
  capture(error, { user_id: '123' }, 'error');
@@ -81,7 +81,7 @@ capture(error, { event: 'migration_complete' }, 'info');
81
81
  ### Wrap Functions (Auto-Capture)
82
82
 
83
83
  ```typescript
84
- import { wrap } from '@rootly/runtime';
84
+ import { wrap } from 'rootly-runtime';
85
85
 
86
86
  // Wrap sync functions
87
87
  const processPayment = wrap((amount: number) => {
@@ -108,7 +108,7 @@ try {
108
108
 
109
109
  ```typescript
110
110
  import express from 'express';
111
- import { init, expressErrorHandler } from '@rootly/runtime';
111
+ import { init, expressErrorHandler } from 'rootly-runtime';
112
112
 
113
113
  init({ apiKey: process.env.ROOTLY_API_KEY! });
114
114
 
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @rootly/runtime - Production-grade runtime error tracking for Node.js
2
+ * rootly-runtime - Production-grade runtime error tracking for Node.js
3
3
  */
4
4
  interface InitOptions {
5
5
  apiKey: string;
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * @rootly/runtime - Production-grade runtime error tracking for Node.js
3
+ * rootly-runtime - Production-grade runtime error tracking for Node.js
4
4
  */
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.init = init;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rootly-runtime",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "Minimal runtime error tracking for Node.js production apps",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -27,4 +27,4 @@
27
27
  "type": "git",
28
28
  "url": "https://github.com/Lancerhawk/Project-Rootly"
29
29
  }
30
- }
30
+ }
package/src/index.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @rootly/runtime - Production-grade runtime error tracking for Node.js
2
+ * rootly-runtime - Production-grade runtime error tracking for Node.js
3
3
  */
4
4
 
5
5
  import { captureError, setDebugMode } from './runtime';