@launchdarkly/o11y 0.0.0-stage → 1.2.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.
package/dist/record.js ADDED
@@ -0,0 +1,8 @@
1
+ import "./common-DQ61tUu9.js";
2
+ import { R as i } from "./record-C_yieA7u.js";
3
+ import "./LDRecord.js";
4
+ import "./buffer-DIFxvF2Q.js";
5
+ export {
6
+ i as Record
7
+ };
8
+ //# sourceMappingURL=record.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"record.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
package/package.json CHANGED
@@ -1,6 +1,161 @@
1
1
  {
2
2
  "name": "@launchdarkly/o11y",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "1.2.0",
4
+ "description": "Shared browser foundation for @launchdarkly/observability and @launchdarkly/session-replay. Capture frontend metrics, errors, logs, traces, and session replays.",
5
+ "keywords": [
6
+ "launchdarkly",
7
+ "session replay",
8
+ "error monitoring",
9
+ "logging",
10
+ "tracing",
11
+ "metrics",
12
+ "debugging",
13
+ "observability",
14
+ "browser",
15
+ "library"
16
+ ],
17
+ "homepage": "https://github.com/launchdarkly/observability-sdk#readme",
18
+ "bugs": {
19
+ "url": "https://github.com/launchdarkly/observability-sdk/issues",
20
+ "email": "support@launchdarkly.com"
21
+ },
22
+ "license": "Apache-2.0",
23
+ "repository": {
24
+ "type": "git",
25
+ "url": "https://github.com/launchdarkly/observability-sdk.git"
26
+ },
27
+ "scripts": {
28
+ "build": "yarn build:umd && node ./node_modules/vite5/bin/vite.js build",
29
+ "build:umd": "FORMAT=umd node ./node_modules/vite5/bin/vite.js build",
30
+ "build:watch": "node ./node_modules/vite5/bin/vite.js build --watch",
31
+ "codegen": "graphql-codegen --config codegen.yml",
32
+ "dev": "run-p dev:server dev:watch",
33
+ "dev:server": "vite dev",
34
+ "dev:watch": "yarn build:watch",
35
+ "enforce-size": "size-limit",
36
+ "test": "vitest --run",
37
+ "test:watch": "vitest",
38
+ "typegen": "yarn typegen:check && FORMAT=d.ts node ./node_modules/vite5/bin/vite.js build",
39
+ "typegen:check": "tsc --noEmit",
40
+ "docs": "typedoc"
41
+ },
42
+ "type": "module",
43
+ "types": "./dist/index.d.ts",
44
+ "main": "./dist/index.js",
45
+ "module": "./dist/index.js",
46
+ "unpkg": "./dist/index.umd.js",
47
+ "jsdelivr": "./dist/index.umd.js",
48
+ "exports": {
49
+ ".": {
50
+ "types": "./dist/index.d.ts",
51
+ "unpkg": "./dist/index.umd.js",
52
+ "jsdelivr": "./dist/index.umd.js",
53
+ "import": "./dist/index.js",
54
+ "require": "./dist/index.js",
55
+ "default": "./dist/index.js"
56
+ },
57
+ "./observe": {
58
+ "types": "./dist/observe.d.ts",
59
+ "import": "./dist/observe.js",
60
+ "require": "./dist/observe.js",
61
+ "default": "./dist/observe.js"
62
+ },
63
+ "./record": {
64
+ "types": "./dist/record.d.ts",
65
+ "import": "./dist/record.js",
66
+ "require": "./dist/record.js",
67
+ "default": "./dist/record.js"
68
+ },
69
+ "./ld/observe": {
70
+ "types": "./dist/LDObserve.d.ts",
71
+ "import": "./dist/LDObserve.js",
72
+ "require": "./dist/LDObserve.js",
73
+ "default": "./dist/LDObserve.js"
74
+ },
75
+ "./ld/record": {
76
+ "types": "./dist/LDRecord.d.ts",
77
+ "import": "./dist/LDRecord.js",
78
+ "require": "./dist/LDRecord.js",
79
+ "default": "./dist/LDRecord.js"
80
+ }
81
+ },
82
+ "files": [
83
+ "dist"
84
+ ],
85
+ "dependencies": {
86
+ "@launchdarkly/js-client-sdk": "^4.0.0",
87
+ "imurmurhash": "^0.1.4",
88
+ "stacktrace-js": "2.0.2"
89
+ },
90
+ "devDependencies": {
91
+ "@graphql-codegen/cli": "^5.0.0",
92
+ "@graphql-codegen/typescript": "^4.0.1",
93
+ "@graphql-codegen/typescript-graphql-request": "^6.0.1",
94
+ "@graphql-codegen/typescript-operations": "^4.0.1",
95
+ "@highlight-run/rrweb": "2.0.0-lambda.5",
96
+ "@highlight-run/rrweb-rrweb-plugin-sequential-id-record": "2.0.0-lambda.5",
97
+ "@highlight-run/rrweb-types": "2.0.0-lambda.5",
98
+ "@launchdarkly/observability-shared": "0.0.0",
99
+ "@opentelemetry/api": "^1.9.0",
100
+ "@opentelemetry/exporter-metrics-otlp-http": ">=0.57.1 < 0.200.0",
101
+ "@opentelemetry/exporter-trace-otlp-http": ">=0.57.1 < 0.200.0",
102
+ "@opentelemetry/instrumentation": ">=0.57.1 < 0.200.0",
103
+ "@opentelemetry/instrumentation-document-load": ">=0.44.0",
104
+ "@opentelemetry/instrumentation-fetch": ">=0.57.1 < 0.200.0",
105
+ "@opentelemetry/instrumentation-user-interaction": ">=0.44.0",
106
+ "@opentelemetry/instrumentation-xml-http-request": ">=0.57.1 < 0.200.0",
107
+ "@opentelemetry/otlp-exporter-base": ">=0.57.1 < 0.200.0",
108
+ "@opentelemetry/otlp-transformer": ">=0.57.1 < 0.200.0",
109
+ "@opentelemetry/resources": "^1.30.1",
110
+ "@opentelemetry/sdk-metrics": "^1.30.1",
111
+ "@opentelemetry/sdk-trace-web": "^1.30.1",
112
+ "@opentelemetry/semantic-conventions": "^1.28.0",
113
+ "@rollup/plugin-commonjs": "^28.0.2",
114
+ "@rollup/plugin-node-resolve": "^16.0.0",
115
+ "@size-limit/file": "^8.1.0",
116
+ "@types/chrome": "^0.0.268",
117
+ "@types/imurmurhash": "^0",
118
+ "@types/js-cookie": "^3.0.6",
119
+ "@types/json-stringify-safe": "^5.0.3",
120
+ "@types/node": "^16.3.1",
121
+ "@vitest/coverage-v8": "^4.1.0",
122
+ "@vitest/web-worker": "^4.1.0",
123
+ "error-stack-parser": "2.0.6",
124
+ "fflate": "^0.8.1",
125
+ "graphql": "^16.8.1",
126
+ "graphql-request": "^6.1.0",
127
+ "graphql-tag": "^2.12.6",
128
+ "js-cookie": "^3.0.5",
129
+ "json-stringify-safe": "^5.0.1",
130
+ "npm-run-all": "^4.1.5",
131
+ "prettier": "^3.3.3",
132
+ "readdirp": "^3.6.0",
133
+ "size-limit": "^8.1.0",
134
+ "tslib": "^2.6.2",
135
+ "typedoc": "^0.28.4",
136
+ "typescript": "^5.0.4",
137
+ "vite": "^6.4.3",
138
+ "vite-plugin-dts": "^4.5.3",
139
+ "vite5": "npm:vite@^5.4.21",
140
+ "vitest": "^4.1.0",
141
+ "vitest-canvas-mock": "^0.3.3",
142
+ "web-vitals": "^3.5.0",
143
+ "zone.js": "^0.15.0"
144
+ },
145
+ "size-limit": [
146
+ {
147
+ "path": [
148
+ "dist/index.umd.js",
149
+ "dist/LDObserve.js",
150
+ "dist/LDRecord.js",
151
+ "dist/observe.js",
152
+ "dist/record.js"
153
+ ],
154
+ "limit": "256 kB",
155
+ "brotli": true
156
+ }
157
+ ],
158
+ "resolutions": {
159
+ "@opentelemetry/sdk-trace-web": "~1.30.1"
160
+ }
6
161
  }