@xcodleox/devinspector 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.
@@ -0,0 +1 @@
1
+ "use strict";var c=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var u=Object.prototype.hasOwnProperty;var h=(t,e)=>{for(var r in e)c(t,r,{get:e[r],enumerable:!0})},m=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of f(e))!u.call(t,o)&&o!==r&&c(t,o,{get:()=>e[o],enumerable:!(n=l(e,o))||n.enumerable});return t};var g=t=>m(c({},"__esModule",{value:!0}),t);var b={};h(b,{AuditAngularErrorHandler:()=>a});module.exports=g(b);var p=class{constructor(){this.apiKey="PENDING_API_KEY";this.endpoint="https://api.devinspector.com.br/api/ingest/track";this.environment="production";this.initialized=!1}init(e){if(!e.apiKey){console.warn("[AuditSDK] API Key n\xE3o fornecida no init().");return}this.apiKey=e.apiKey,e.endpoint&&(this.endpoint=e.endpoint),e.environment&&(this.environment=e.environment),this.initialized=!0,this.listenGlobalErrors()}listenGlobalErrors(){let e=typeof window<"u"?window:globalThis;e&&(e.addEventListener("error",r=>{this.captureError(r.error||new Error(r.message||"Erro global desconhecido"),{filename:r.filename,lineno:r.lineno,colno:r.colno})}),e.addEventListener("unhandledrejection",r=>{let n=r.reason instanceof Error?r.reason:new Error(String(r.reason));this.captureError(n,{type:"unhandled_rejection"})}))}truncate(e,r=5e3){if(typeof e=="string")return e.length>r?e.substring(0,r)+"... [truncated]":e;if(e&&typeof e=="object"&&e!==null){let n={};for(let[o,s]of Object.entries(e))n[o]=this.truncate(s,r);return n}return e}captureError(e,r={}){let n=e.message||"Erro Desconhecido",o=e.stack||"",s={message:this.truncate(n,500),stackTrace:this.truncate(o,1e4),url:typeof window<"u"?window.location.href:"",browser:typeof navigator<"u"?navigator.userAgent:"",metadata:this.truncate({...r,environment:this.environment,timestamp:new Date().toISOString()},5e3)};this.send(s)}captureMessage(e,r={}){let n={message:this.truncate(e,500),stackTrace:"",url:typeof window<"u"?window.location.href:"",browser:typeof navigator<"u"?navigator.userAgent:"",metadata:this.truncate({...r,level:"info",environment:this.environment,timestamp:new Date().toISOString()},5e3)};this.send(n)}send(e){let r=this.apiKey&&this.apiKey!=="PENDING_API_KEY"?this.apiKey:"dev-fallback-key";fetch(this.endpoint,{method:"POST",headers:{"Content-Type":"application/json","x-api-key":r},body:JSON.stringify(e),keepalive:!0}).catch(()=>{})}},d="__DEVINSPECT_AUDIT_CORE_INSTANCE__",E=()=>{let t=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{};return t[d]||(t[d]=new p),t[d]},i=E();var y=require("react");var w=require("react/jsx-runtime");var a=class{handleError(e){let r=e instanceof Error?e:new Error(String(e));i.captureError(r,{framework:"Angular"}),console.error(e)}};0&&(module.exports={AuditAngularErrorHandler});
@@ -0,0 +1,7 @@
1
+ import { ErrorHandler } from '@angular/core';
2
+
3
+ declare class AuditAngularErrorHandler implements ErrorHandler {
4
+ handleError(error: unknown): void;
5
+ }
6
+
7
+ export { AuditAngularErrorHandler };
@@ -0,0 +1,7 @@
1
+ import { ErrorHandler } from '@angular/core';
2
+
3
+ declare class AuditAngularErrorHandler implements ErrorHandler {
4
+ handleError(error: unknown): void;
5
+ }
6
+
7
+ export { AuditAngularErrorHandler };
@@ -0,0 +1 @@
1
+ var c=class{constructor(){this.apiKey="PENDING_API_KEY";this.endpoint="https://api.devinspector.com.br/api/ingest/track";this.environment="production";this.initialized=!1}init(e){if(!e.apiKey){console.warn("[AuditSDK] API Key n\xE3o fornecida no init().");return}this.apiKey=e.apiKey,e.endpoint&&(this.endpoint=e.endpoint),e.environment&&(this.environment=e.environment),this.initialized=!0,this.listenGlobalErrors()}listenGlobalErrors(){let e=typeof window<"u"?window:globalThis;e&&(e.addEventListener("error",r=>{this.captureError(r.error||new Error(r.message||"Erro global desconhecido"),{filename:r.filename,lineno:r.lineno,colno:r.colno})}),e.addEventListener("unhandledrejection",r=>{let t=r.reason instanceof Error?r.reason:new Error(String(r.reason));this.captureError(t,{type:"unhandled_rejection"})}))}truncate(e,r=5e3){if(typeof e=="string")return e.length>r?e.substring(0,r)+"... [truncated]":e;if(e&&typeof e=="object"&&e!==null){let t={};for(let[i,a]of Object.entries(e))t[i]=this.truncate(a,r);return t}return e}captureError(e,r={}){let t=e.message||"Erro Desconhecido",i=e.stack||"",a={message:this.truncate(t,500),stackTrace:this.truncate(i,1e4),url:typeof window<"u"?window.location.href:"",browser:typeof navigator<"u"?navigator.userAgent:"",metadata:this.truncate({...r,environment:this.environment,timestamp:new Date().toISOString()},5e3)};this.send(a)}captureMessage(e,r={}){let t={message:this.truncate(e,500),stackTrace:"",url:typeof window<"u"?window.location.href:"",browser:typeof navigator<"u"?navigator.userAgent:"",metadata:this.truncate({...r,level:"info",environment:this.environment,timestamp:new Date().toISOString()},5e3)};this.send(t)}send(e){let r=this.apiKey&&this.apiKey!=="PENDING_API_KEY"?this.apiKey:"dev-fallback-key";fetch(this.endpoint,{method:"POST",headers:{"Content-Type":"application/json","x-api-key":r},body:JSON.stringify(e),keepalive:!0}).catch(()=>{})}},s="__DEVINSPECT_AUDIT_CORE_INSTANCE__",p=()=>{let n=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{};return n[s]||(n[s]=new c),n[s]},o=p();import{Component as h}from"react";import{jsx as w}from"react/jsx-runtime";var d=class{handleError(e){let r=e instanceof Error?e:new Error(String(e));o.captureError(r,{framework:"Angular"}),console.error(e)}};export{d as AuditAngularErrorHandler};
package/dist/index.cjs ADDED
@@ -0,0 +1 @@
1
+ "use strict";var d=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var m=Object.getOwnPropertyNames;var g=Object.prototype.hasOwnProperty;var E=(t,e)=>{for(var r in e)d(t,r,{get:e[r],enumerable:!0})},y=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of m(e))!g.call(t,o)&&o!==r&&d(t,o,{get:()=>e[o],enumerable:!(n=h(e,o))||n.enumerable});return t};var w=t=>y(d({},"__esModule",{value:!0}),t);var v={};E(v,{AuditAngularErrorHandler:()=>s,AuditErrorBoundary:()=>a,audit:()=>i});module.exports=w(v);var l=class{constructor(){this.apiKey="PENDING_API_KEY";this.endpoint="https://api.devinspector.com.br/api/ingest/track";this.environment="production";this.initialized=!1}init(e){if(!e.apiKey){console.warn("[AuditSDK] API Key n\xE3o fornecida no init().");return}this.apiKey=e.apiKey,e.endpoint&&(this.endpoint=e.endpoint),e.environment&&(this.environment=e.environment),this.initialized=!0,this.listenGlobalErrors()}listenGlobalErrors(){let e=typeof window<"u"?window:globalThis;e&&(e.addEventListener("error",r=>{this.captureError(r.error||new Error(r.message||"Erro global desconhecido"),{filename:r.filename,lineno:r.lineno,colno:r.colno})}),e.addEventListener("unhandledrejection",r=>{let n=r.reason instanceof Error?r.reason:new Error(String(r.reason));this.captureError(n,{type:"unhandled_rejection"})}))}truncate(e,r=5e3){if(typeof e=="string")return e.length>r?e.substring(0,r)+"... [truncated]":e;if(e&&typeof e=="object"&&e!==null){let n={};for(let[o,c]of Object.entries(e))n[o]=this.truncate(c,r);return n}return e}captureError(e,r={}){let n=e.message||"Erro Desconhecido",o=e.stack||"",c={message:this.truncate(n,500),stackTrace:this.truncate(o,1e4),url:typeof window<"u"?window.location.href:"",browser:typeof navigator<"u"?navigator.userAgent:"",metadata:this.truncate({...r,environment:this.environment,timestamp:new Date().toISOString()},5e3)};this.send(c)}captureMessage(e,r={}){let n={message:this.truncate(e,500),stackTrace:"",url:typeof window<"u"?window.location.href:"",browser:typeof navigator<"u"?navigator.userAgent:"",metadata:this.truncate({...r,level:"info",environment:this.environment,timestamp:new Date().toISOString()},5e3)};this.send(n)}send(e){let r=this.apiKey&&this.apiKey!=="PENDING_API_KEY"?this.apiKey:"dev-fallback-key";fetch(this.endpoint,{method:"POST",headers:{"Content-Type":"application/json","x-api-key":r},body:JSON.stringify(e),keepalive:!0}).catch(()=>{})}},p="__DEVINSPECT_AUDIT_CORE_INSTANCE__",b=()=>{let t=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{};return t[p]||(t[p]=new l),t[p]},i=b();var f=require("react");var u=require("react/jsx-runtime"),a=class extends f.Component{constructor(){super(...arguments);this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(r,n){i.captureError(r,{componentStack:n.componentStack})}render(){return this.state.hasError?this.props.fallback||(0,u.jsx)("h1",{children:"Algo deu errado na aplica\xE7\xE3o."}):this.props.children}};var s=class{handleError(e){let r=e instanceof Error?e:new Error(String(e));i.captureError(r,{framework:"Angular"}),console.error(e)}};0&&(module.exports={AuditAngularErrorHandler,AuditErrorBoundary,audit});
@@ -0,0 +1,25 @@
1
+ export { AuditErrorBoundary } from './react.cjs';
2
+ export { AuditAngularErrorHandler } from './angular.cjs';
3
+ import 'react';
4
+ import '@angular/core';
5
+
6
+ interface InitOptions {
7
+ apiKey: string;
8
+ endpoint?: string;
9
+ environment?: string;
10
+ }
11
+ declare class AuditCore {
12
+ private apiKey;
13
+ private endpoint;
14
+ private environment;
15
+ initialized: boolean;
16
+ init(options: InitOptions): void;
17
+ private listenGlobalErrors;
18
+ private truncate;
19
+ captureError(error: Error, metadata?: Record<string, any>): void;
20
+ captureMessage(message: string, metadata?: Record<string, any>): void;
21
+ private send;
22
+ }
23
+ declare const audit: AuditCore;
24
+
25
+ export { type InitOptions, audit };
@@ -0,0 +1,25 @@
1
+ export { AuditErrorBoundary } from './react.js';
2
+ export { AuditAngularErrorHandler } from './angular.js';
3
+ import 'react';
4
+ import '@angular/core';
5
+
6
+ interface InitOptions {
7
+ apiKey: string;
8
+ endpoint?: string;
9
+ environment?: string;
10
+ }
11
+ declare class AuditCore {
12
+ private apiKey;
13
+ private endpoint;
14
+ private environment;
15
+ initialized: boolean;
16
+ init(options: InitOptions): void;
17
+ private listenGlobalErrors;
18
+ private truncate;
19
+ captureError(error: Error, metadata?: Record<string, any>): void;
20
+ captureMessage(message: string, metadata?: Record<string, any>): void;
21
+ private send;
22
+ }
23
+ declare const audit: AuditCore;
24
+
25
+ export { type InitOptions, audit };
package/dist/index.js ADDED
@@ -0,0 +1 @@
1
+ var c=class{constructor(){this.apiKey="PENDING_API_KEY";this.endpoint="https://api.devinspector.com.br/api/ingest/track";this.environment="production";this.initialized=!1}init(e){if(!e.apiKey){console.warn("[AuditSDK] API Key n\xE3o fornecida no init().");return}this.apiKey=e.apiKey,e.endpoint&&(this.endpoint=e.endpoint),e.environment&&(this.environment=e.environment),this.initialized=!0,this.listenGlobalErrors()}listenGlobalErrors(){let e=typeof window<"u"?window:globalThis;e&&(e.addEventListener("error",r=>{this.captureError(r.error||new Error(r.message||"Erro global desconhecido"),{filename:r.filename,lineno:r.lineno,colno:r.colno})}),e.addEventListener("unhandledrejection",r=>{let t=r.reason instanceof Error?r.reason:new Error(String(r.reason));this.captureError(t,{type:"unhandled_rejection"})}))}truncate(e,r=5e3){if(typeof e=="string")return e.length>r?e.substring(0,r)+"... [truncated]":e;if(e&&typeof e=="object"&&e!==null){let t={};for(let[i,a]of Object.entries(e))t[i]=this.truncate(a,r);return t}return e}captureError(e,r={}){let t=e.message||"Erro Desconhecido",i=e.stack||"",a={message:this.truncate(t,500),stackTrace:this.truncate(i,1e4),url:typeof window<"u"?window.location.href:"",browser:typeof navigator<"u"?navigator.userAgent:"",metadata:this.truncate({...r,environment:this.environment,timestamp:new Date().toISOString()},5e3)};this.send(a)}captureMessage(e,r={}){let t={message:this.truncate(e,500),stackTrace:"",url:typeof window<"u"?window.location.href:"",browser:typeof navigator<"u"?navigator.userAgent:"",metadata:this.truncate({...r,level:"info",environment:this.environment,timestamp:new Date().toISOString()},5e3)};this.send(t)}send(e){let r=this.apiKey&&this.apiKey!=="PENDING_API_KEY"?this.apiKey:"dev-fallback-key";fetch(this.endpoint,{method:"POST",headers:{"Content-Type":"application/json","x-api-key":r},body:JSON.stringify(e),keepalive:!0}).catch(()=>{})}},s="__DEVINSPECT_AUDIT_CORE_INSTANCE__",l=()=>{let n=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{};return n[s]||(n[s]=new c),n[s]},o=l();import{Component as f}from"react";import{jsx as u}from"react/jsx-runtime";var d=class extends f{constructor(){super(...arguments);this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(r,t){o.captureError(r,{componentStack:t.componentStack})}render(){return this.state.hasError?this.props.fallback||u("h1",{children:"Algo deu errado na aplica\xE7\xE3o."}):this.props.children}};var p=class{handleError(e){let r=e instanceof Error?e:new Error(String(e));o.captureError(r,{framework:"Angular"}),console.error(e)}};export{p as AuditAngularErrorHandler,d as AuditErrorBoundary,o as audit};
package/dist/react.cjs ADDED
@@ -0,0 +1 @@
1
+ "use strict";var a=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames;var g=Object.prototype.hasOwnProperty;var y=(n,e)=>{for(var t in e)a(n,t,{get:e[t],enumerable:!0})},m=(n,e,t,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of h(e))!g.call(n,i)&&i!==t&&a(n,i,{get:()=>e[i],enumerable:!(r=f(e,i))||r.enumerable});return n};var w=n=>m(a({},"__esModule",{value:!0}),n);var b={};y(b,{AuditErrorBoundary:()=>d});module.exports=w(b);var l=require("react");var c=class{constructor(){this.apiKey="PENDING_API_KEY";this.endpoint="https://api.devinspector.com.br/api/ingest/track";this.environment="production";this.initialized=!1}init(e){if(!e.apiKey){console.warn("[AuditSDK] API Key n\xE3o fornecida no init().");return}this.apiKey=e.apiKey,e.endpoint&&(this.endpoint=e.endpoint),e.environment&&(this.environment=e.environment),this.initialized=!0,this.listenGlobalErrors()}listenGlobalErrors(){let e=typeof window<"u"?window:globalThis;e&&(e.addEventListener("error",t=>{this.captureError(t.error||new Error(t.message||"Erro global desconhecido"),{filename:t.filename,lineno:t.lineno,colno:t.colno})}),e.addEventListener("unhandledrejection",t=>{let r=t.reason instanceof Error?t.reason:new Error(String(t.reason));this.captureError(r,{type:"unhandled_rejection"})}))}truncate(e,t=5e3){if(typeof e=="string")return e.length>t?e.substring(0,t)+"... [truncated]":e;if(e&&typeof e=="object"&&e!==null){let r={};for(let[i,o]of Object.entries(e))r[i]=this.truncate(o,t);return r}return e}captureError(e,t={}){let r=e.message||"Erro Desconhecido",i=e.stack||"",o={message:this.truncate(r,500),stackTrace:this.truncate(i,1e4),url:typeof window<"u"?window.location.href:"",browser:typeof navigator<"u"?navigator.userAgent:"",metadata:this.truncate({...t,environment:this.environment,timestamp:new Date().toISOString()},5e3)};this.send(o)}captureMessage(e,t={}){let r={message:this.truncate(e,500),stackTrace:"",url:typeof window<"u"?window.location.href:"",browser:typeof navigator<"u"?navigator.userAgent:"",metadata:this.truncate({...t,level:"info",environment:this.environment,timestamp:new Date().toISOString()},5e3)};this.send(r)}send(e){let t=this.apiKey&&this.apiKey!=="PENDING_API_KEY"?this.apiKey:"dev-fallback-key";fetch(this.endpoint,{method:"POST",headers:{"Content-Type":"application/json","x-api-key":t},body:JSON.stringify(e),keepalive:!0}).catch(()=>{})}},s="__DEVINSPECT_AUDIT_CORE_INSTANCE__",E=()=>{let n=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{};return n[s]||(n[s]=new c),n[s]},p=E();var u=require("react/jsx-runtime"),d=class extends l.Component{constructor(){super(...arguments);this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(t,r){p.captureError(t,{componentStack:r.componentStack})}render(){return this.state.hasError?this.props.fallback||(0,u.jsx)("h1",{children:"Algo deu errado na aplica\xE7\xE3o."}):this.props.children}};0&&(module.exports={AuditErrorBoundary});
@@ -0,0 +1,17 @@
1
+ import { Component, ReactNode, ErrorInfo } from 'react';
2
+
3
+ interface Props {
4
+ children: ReactNode;
5
+ fallback?: ReactNode;
6
+ }
7
+ interface State {
8
+ hasError: boolean;
9
+ }
10
+ declare class AuditErrorBoundary extends Component<Props, State> {
11
+ state: State;
12
+ static getDerivedStateFromError(): State;
13
+ componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
14
+ render(): ReactNode;
15
+ }
16
+
17
+ export { AuditErrorBoundary };
@@ -0,0 +1,17 @@
1
+ import { Component, ReactNode, ErrorInfo } from 'react';
2
+
3
+ interface Props {
4
+ children: ReactNode;
5
+ fallback?: ReactNode;
6
+ }
7
+ interface State {
8
+ hasError: boolean;
9
+ }
10
+ declare class AuditErrorBoundary extends Component<Props, State> {
11
+ state: State;
12
+ static getDerivedStateFromError(): State;
13
+ componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
14
+ render(): ReactNode;
15
+ }
16
+
17
+ export { AuditErrorBoundary };
package/dist/react.js ADDED
@@ -0,0 +1 @@
1
+ import{Component as l}from"react";var s=class{constructor(){this.apiKey="PENDING_API_KEY";this.endpoint="https://api.devinspector.com.br/api/ingest/track";this.environment="production";this.initialized=!1}init(e){if(!e.apiKey){console.warn("[AuditSDK] API Key n\xE3o fornecida no init().");return}this.apiKey=e.apiKey,e.endpoint&&(this.endpoint=e.endpoint),e.environment&&(this.environment=e.environment),this.initialized=!0,this.listenGlobalErrors()}listenGlobalErrors(){let e=typeof window<"u"?window:globalThis;e&&(e.addEventListener("error",t=>{this.captureError(t.error||new Error(t.message||"Erro global desconhecido"),{filename:t.filename,lineno:t.lineno,colno:t.colno})}),e.addEventListener("unhandledrejection",t=>{let n=t.reason instanceof Error?t.reason:new Error(String(t.reason));this.captureError(n,{type:"unhandled_rejection"})}))}truncate(e,t=5e3){if(typeof e=="string")return e.length>t?e.substring(0,t)+"... [truncated]":e;if(e&&typeof e=="object"&&e!==null){let n={};for(let[i,o]of Object.entries(e))n[i]=this.truncate(o,t);return n}return e}captureError(e,t={}){let n=e.message||"Erro Desconhecido",i=e.stack||"",o={message:this.truncate(n,500),stackTrace:this.truncate(i,1e4),url:typeof window<"u"?window.location.href:"",browser:typeof navigator<"u"?navigator.userAgent:"",metadata:this.truncate({...t,environment:this.environment,timestamp:new Date().toISOString()},5e3)};this.send(o)}captureMessage(e,t={}){let n={message:this.truncate(e,500),stackTrace:"",url:typeof window<"u"?window.location.href:"",browser:typeof navigator<"u"?navigator.userAgent:"",metadata:this.truncate({...t,level:"info",environment:this.environment,timestamp:new Date().toISOString()},5e3)};this.send(n)}send(e){let t=this.apiKey&&this.apiKey!=="PENDING_API_KEY"?this.apiKey:"dev-fallback-key";fetch(this.endpoint,{method:"POST",headers:{"Content-Type":"application/json","x-api-key":t},body:JSON.stringify(e),keepalive:!0}).catch(()=>{})}},a="__DEVINSPECT_AUDIT_CORE_INSTANCE__",p=()=>{let r=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{};return r[a]||(r[a]=new s),r[a]},c=p();import{jsx as u}from"react/jsx-runtime";var d=class extends l{constructor(){super(...arguments);this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(t,n){c.captureError(t,{componentStack:n.componentStack})}render(){return this.state.hasError?this.props.fallback||u("h1",{children:"Algo deu errado na aplica\xE7\xE3o."}):this.props.children}};export{d as AuditErrorBoundary};
package/package.json ADDED
@@ -0,0 +1,54 @@
1
+ {
2
+ "name": "@xcodleox/devinspector",
3
+ "version": "1.0.0",
4
+ "description": "SDK de monitoramento e auditoria de erros em tempo real | Dev Inspector",
5
+ "type": "module",
6
+ "main": "./dist/index.cjs",
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "files": [
10
+ "dist"
11
+ ],
12
+ "scripts": {
13
+ "build": "tsup"
14
+ },
15
+ "peerDependencies": {
16
+ "@angular/core": "^12.0.0 || ^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
17
+ "react": "^17.0.0 || ^18.0.0 || ^19.0.0"
18
+ },
19
+ "peerDependenciesMeta": {
20
+ "react": {
21
+ "optional": true
22
+ },
23
+ "@angular/core": {
24
+ "optional": true
25
+ }
26
+ },
27
+ "devDependencies": {
28
+ "@angular/core": "^21.2.18",
29
+ "@types/node": "^20.0.0",
30
+ "@types/react": "^18.3.31",
31
+ "react": "^19.2.8",
32
+ "rxjs": "^7.8.2",
33
+ "tsup": "^8.0.0",
34
+ "typescript": "^5.0.0",
35
+ "zone.js": "^0.16.2"
36
+ },
37
+ "exports": {
38
+ ".": {
39
+ "types": "./dist/index.d.ts",
40
+ "import": "./dist/index.js",
41
+ "require": "./dist/index.cjs"
42
+ },
43
+ "./react": {
44
+ "types": "./dist/react.d.ts",
45
+ "import": "./dist/react.js",
46
+ "require": "./dist/react.cjs"
47
+ },
48
+ "./angular": {
49
+ "types": "./dist/angular.d.ts",
50
+ "import": "./dist/angular.js",
51
+ "require": "./dist/angular.cjs"
52
+ }
53
+ }
54
+ }