@contractspec/lib.observability 3.7.15 → 3.7.16

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,5 +1,15 @@
1
1
  # @contractspec/lib.observability
2
2
 
3
+ ## 3.7.16
4
+
5
+ ### Patch Changes
6
+
7
+ - 2b59171: fix: crypto package issue due to nodejs only runtime
8
+ - Updated dependencies [2b59171]
9
+ - @contractspec/lib.contracts-integrations@3.8.8
10
+ - @contractspec/lib.contracts-spec@5.0.4
11
+ - @contractspec/lib.lifecycle@3.7.16
12
+
3
13
  ## 3.7.15
4
14
 
5
15
  ### Patch Changes
@@ -255,7 +255,7 @@ function percentile(values, ratio) {
255
255
  }
256
256
 
257
257
  // src/intent/detector.ts
258
- import { randomUUID } from "node:crypto";
258
+ import { randomUUID } from "crypto";
259
259
  var DEFAULTS = {
260
260
  errorRateThreshold: 0.05,
261
261
  latencyP99ThresholdMs: 750,
@@ -1,5 +1,5 @@
1
1
  // src/intent/detector.ts
2
- import { randomUUID } from "node:crypto";
2
+ import { randomUUID } from "crypto";
3
3
  var DEFAULTS = {
4
4
  errorRateThreshold: 0.05,
5
5
  latencyP99ThresholdMs: 750,
@@ -106,7 +106,7 @@ function percentile(values, ratio) {
106
106
  }
107
107
 
108
108
  // src/intent/detector.ts
109
- import { randomUUID } from "node:crypto";
109
+ import { randomUUID } from "crypto";
110
110
  var DEFAULTS = {
111
111
  errorRateThreshold: 0.05,
112
112
  latencyP99ThresholdMs: 750,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/lib.observability",
3
- "version": "3.7.15",
3
+ "version": "3.7.16",
4
4
  "description": "OpenTelemetry-based observability primitives",
5
5
  "keywords": [
6
6
  "contractspec",
@@ -14,7 +14,7 @@
14
14
  "scripts": {
15
15
  "publish:pkg": "bun publish --tolerate-republish --ignore-scripts --verbose",
16
16
  "publish:pkg:canary": "bun publish:pkg --tag canary",
17
- "build": "bun run prebuild && bun run build:bundle && bun run build:types",
17
+ "build": "bun run build:bundle && bun run build:types",
18
18
  "build:bundle": "contractspec-bun-build transpile",
19
19
  "build:types": "contractspec-bun-build types",
20
20
  "dev": "contractspec-bun-build dev",
@@ -27,17 +27,17 @@
27
27
  "typecheck": "tsc --noEmit"
28
28
  },
29
29
  "dependencies": {
30
- "@contractspec/lib.lifecycle": "3.7.15",
31
- "@contractspec/lib.contracts-spec": "5.0.3",
32
- "@contractspec/lib.contracts-integrations": "3.8.7"
30
+ "@contractspec/lib.lifecycle": "3.7.16",
31
+ "@contractspec/lib.contracts-spec": "5.0.4",
32
+ "@contractspec/lib.contracts-integrations": "3.8.8"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "@opentelemetry/api": "1.9.1"
36
36
  },
37
37
  "devDependencies": {
38
- "@contractspec/tool.typescript": "3.7.11",
38
+ "@contractspec/tool.typescript": "3.7.12",
39
39
  "typescript": "^5.9.3",
40
- "@contractspec/tool.bun": "3.7.11"
40
+ "@contractspec/tool.bun": "3.7.12"
41
41
  },
42
42
  "exports": {
43
43
  ".": {