@snapfail/browser 0.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.
- package/dist/assembler.d.ts +14 -0
- package/dist/buffer.d.ts +14 -0
- package/dist/collectors/console.d.ts +3 -0
- package/dist/collectors/errors.d.ts +7 -0
- package/dist/collectors/network.d.ts +5 -0
- package/dist/collectors/replay.d.ts +5 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +4535 -0
- package/dist/transport.d.ts +2 -0
- package/package.json +28 -0
package/package.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@snapfail/browser",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "Browser SDK for snapfail — error capture, replay and transport",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"main": "./src/index.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": "./src/index.ts"
|
|
10
|
+
},
|
|
11
|
+
"publishConfig": {
|
|
12
|
+
"main": "./dist/index.js",
|
|
13
|
+
"exports": {
|
|
14
|
+
".": {
|
|
15
|
+
"import": "./dist/index.js",
|
|
16
|
+
"types": "./dist/index.d.ts"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"files": ["dist"],
|
|
21
|
+
"scripts": {
|
|
22
|
+
"build": "bun build src/index.ts --outdir dist --target browser --format esm --sourcemap=none && bun tsc -p tsconfig.build.json --outDir dist",
|
|
23
|
+
"prepublishOnly": "bun run build"
|
|
24
|
+
},
|
|
25
|
+
"dependencies": {
|
|
26
|
+
"@snapfail/protocol": "^0.0.1"
|
|
27
|
+
}
|
|
28
|
+
}
|