@errio/core 1.0.0 → 1.0.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.
Files changed (2) hide show
  1. package/package.json +7 -11
  2. package/src/index.ts +0 -53
package/package.json CHANGED
@@ -1,18 +1,14 @@
1
1
  {
2
2
  "name": "@errio/core",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Errio core SDK — transport, context, plugins, and error primitives",
5
5
  "type": "module",
6
- "main": "src/index.ts",
7
- "types": "src/index.ts",
8
- "publishConfig": {
9
- "main": "dist/index.js",
10
- "types": "dist/index.d.ts",
11
- "exports": {
12
- ".": {
13
- "types": "./dist/index.d.ts",
14
- "import": "./dist/index.js"
15
- }
6
+ "main": "dist/index.js",
7
+ "types": "dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.js"
16
12
  }
17
13
  },
18
14
  "files": [
package/src/index.ts DELETED
@@ -1,53 +0,0 @@
1
- // Client
2
- export { ErrioClient } from './client.js';
3
-
4
- // Types (everything the consumer or plugin author needs)
5
- export type {
6
- ErrioConfig,
7
- ResolvedConfig,
8
- ErrioPlugin,
9
- ErrioClientInterface,
10
- ErrorEvent,
11
- ErrorType,
12
- Severity,
13
- CaptureOptions,
14
- CauseEntry,
15
- Breadcrumb,
16
- RequestContext,
17
- ApiResponse,
18
- GitInfo,
19
- } from './types.js';
20
-
21
- // Context propagation
22
- export {
23
- getContext,
24
- setContext,
25
- runWithContext,
26
- addBreadcrumb,
27
- getBreadcrumbs,
28
- clearBreadcrumbs,
29
- } from './context.js';
30
-
31
- // Classification
32
- export { classifyError, defaultSeverity } from './classify.js';
33
-
34
- // Fingerprinting and dedup
35
- export { generateFingerprint, normalizeMessage, DedupCache } from './fingerprint.js';
36
-
37
- // Serialization and file path extraction
38
- export { serializeCauseChain, extractFilePaths } from './serializer.js';
39
-
40
- // PII and secret redaction
41
- export { redactString, redactObject } from './redact.js';
42
-
43
- // Sampling
44
- export { shouldSample } from './sampling.js';
45
-
46
- // Git detection
47
- export { detectGitInfo, parseRepoFullName } from './git.js';
48
-
49
- // Transport
50
- export { BatchTransport } from './transport.js';
51
-
52
- // Deploy reporting
53
- export { reportDeploy, type DeployInfo } from './deploy.js';