@autter/runtime-next 1.3.1 → 1.3.3
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/{chunk-X4TT6GB4.js → chunk-4RSUUUZJ.js} +2 -0
- package/dist/client.cjs +2 -0
- package/dist/client.js +2 -0
- package/dist/index.cjs +2 -0
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -1
- package/dist/server.cjs +2 -0
- package/dist/server.d.cts +1 -1
- package/dist/server.d.ts +1 -1
- package/dist/server.js +3 -1
- package/package.json +3 -3
|
@@ -6,6 +6,7 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
captureException,
|
|
8
8
|
captureMessage,
|
|
9
|
+
reportOutcome,
|
|
9
10
|
withProcessSpan,
|
|
10
11
|
withLlmCall,
|
|
11
12
|
trackLlmCall,
|
|
@@ -27,6 +28,7 @@ export {
|
|
|
27
28
|
createAutterRelayRoute,
|
|
28
29
|
captureException,
|
|
29
30
|
captureMessage,
|
|
31
|
+
reportOutcome,
|
|
30
32
|
withProcessSpan,
|
|
31
33
|
withLlmCall,
|
|
32
34
|
trackLlmCall,
|
package/dist/client.cjs
CHANGED
|
@@ -36,6 +36,7 @@ __export(client_exports, {
|
|
|
36
36
|
AutterErrorBoundary: () => AutterErrorBoundary,
|
|
37
37
|
captureException: () => import_runtime_browser2.captureException,
|
|
38
38
|
captureMessage: () => import_runtime_browser2.captureMessage,
|
|
39
|
+
captureOutcome: () => import_runtime_browser2.captureOutcome,
|
|
39
40
|
flush: () => import_runtime_browser2.flush,
|
|
40
41
|
initAutterBrowser: () => import_runtime_browser2.initAutterBrowser,
|
|
41
42
|
setContext: () => import_runtime_browser2.setContext,
|
|
@@ -77,6 +78,7 @@ var AutterErrorBoundary = class extends React.Component {
|
|
|
77
78
|
AutterErrorBoundary,
|
|
78
79
|
captureException,
|
|
79
80
|
captureMessage,
|
|
81
|
+
captureOutcome,
|
|
80
82
|
flush,
|
|
81
83
|
initAutterBrowser,
|
|
82
84
|
setContext,
|
package/dist/client.js
CHANGED
|
@@ -7,6 +7,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
7
7
|
import {
|
|
8
8
|
initAutterBrowser,
|
|
9
9
|
captureException as captureException2,
|
|
10
|
+
captureOutcome,
|
|
10
11
|
captureMessage,
|
|
11
12
|
trackEvent,
|
|
12
13
|
setUser,
|
|
@@ -45,6 +46,7 @@ export {
|
|
|
45
46
|
AutterErrorBoundary,
|
|
46
47
|
captureException2 as captureException,
|
|
47
48
|
captureMessage,
|
|
49
|
+
captureOutcome,
|
|
48
50
|
flush,
|
|
49
51
|
initAutterBrowser,
|
|
50
52
|
setContext,
|
package/dist/index.cjs
CHANGED
|
@@ -29,6 +29,7 @@ __export(src_exports, {
|
|
|
29
29
|
makeSafeCapture: () => import_runtime_node2.makeSafeCapture,
|
|
30
30
|
redactAttributes: () => import_runtime_node2.redactAttributes,
|
|
31
31
|
registerAutter: () => registerAutter,
|
|
32
|
+
reportServerOutcome: () => import_runtime_node2.reportOutcome,
|
|
32
33
|
trackLlmCall: () => import_runtime_node2.trackLlmCall,
|
|
33
34
|
withLlmCall: () => import_runtime_node2.withLlmCall,
|
|
34
35
|
withProcessSpan: () => import_runtime_node2.withProcessSpan
|
|
@@ -55,6 +56,7 @@ function createAutterRelayRoute(options) {
|
|
|
55
56
|
makeSafeCapture,
|
|
56
57
|
redactAttributes,
|
|
57
58
|
registerAutter,
|
|
59
|
+
reportServerOutcome,
|
|
58
60
|
trackLlmCall,
|
|
59
61
|
withLlmCall,
|
|
60
62
|
withProcessSpan
|
package/dist/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { createAutterRelayRoute, registerAutter } from './server.cjs';
|
|
2
|
-
export { AutoFlushHandle, AutoFlushOptions, AutterServer, AutterServerOptions, FlushTarget, InstrumentLlmOptions, LlmCallHandle, LlmCallInfo, LlmUsage, RedactOptions, RelayOptions, SafeCapture, TrackedLlmCall, captureException as captureServerException, captureMessage as captureServerMessage, emitLlmSelftestTrace, installAutterAutoFlush, instrumentLlmClient, makeSafeCapture, redactAttributes, trackLlmCall, withLlmCall, withProcessSpan } from '@autter/runtime-node';
|
|
2
|
+
export { AutoFlushHandle, AutoFlushOptions, AutterServer, AutterServerOptions, FlushTarget, InstrumentLlmOptions, LlmCallHandle, LlmCallInfo, LlmUsage, RedactOptions, RelayOptions, SafeCapture, TrackedLlmCall, captureException as captureServerException, captureMessage as captureServerMessage, emitLlmSelftestTrace, installAutterAutoFlush, instrumentLlmClient, makeSafeCapture, redactAttributes, reportOutcome as reportServerOutcome, trackLlmCall, withLlmCall, withProcessSpan } from '@autter/runtime-node';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { createAutterRelayRoute, registerAutter } from './server.js';
|
|
2
|
-
export { AutoFlushHandle, AutoFlushOptions, AutterServer, AutterServerOptions, FlushTarget, InstrumentLlmOptions, LlmCallHandle, LlmCallInfo, LlmUsage, RedactOptions, RelayOptions, SafeCapture, TrackedLlmCall, captureException as captureServerException, captureMessage as captureServerMessage, emitLlmSelftestTrace, installAutterAutoFlush, instrumentLlmClient, makeSafeCapture, redactAttributes, trackLlmCall, withLlmCall, withProcessSpan } from '@autter/runtime-node';
|
|
2
|
+
export { AutoFlushHandle, AutoFlushOptions, AutterServer, AutterServerOptions, FlushTarget, InstrumentLlmOptions, LlmCallHandle, LlmCallInfo, LlmUsage, RedactOptions, RelayOptions, SafeCapture, TrackedLlmCall, captureException as captureServerException, captureMessage as captureServerMessage, emitLlmSelftestTrace, installAutterAutoFlush, instrumentLlmClient, makeSafeCapture, redactAttributes, reportOutcome as reportServerOutcome, trackLlmCall, withLlmCall, withProcessSpan } from '@autter/runtime-node';
|
package/dist/index.js
CHANGED
|
@@ -8,10 +8,11 @@ import {
|
|
|
8
8
|
makeSafeCapture,
|
|
9
9
|
redactAttributes,
|
|
10
10
|
registerAutter,
|
|
11
|
+
reportOutcome,
|
|
11
12
|
trackLlmCall,
|
|
12
13
|
withLlmCall,
|
|
13
14
|
withProcessSpan
|
|
14
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-4RSUUUZJ.js";
|
|
15
16
|
export {
|
|
16
17
|
captureException as captureServerException,
|
|
17
18
|
captureMessage as captureServerMessage,
|
|
@@ -22,6 +23,7 @@ export {
|
|
|
22
23
|
makeSafeCapture,
|
|
23
24
|
redactAttributes,
|
|
24
25
|
registerAutter,
|
|
26
|
+
reportOutcome as reportServerOutcome,
|
|
25
27
|
trackLlmCall,
|
|
26
28
|
withLlmCall,
|
|
27
29
|
withProcessSpan
|
package/dist/server.cjs
CHANGED
|
@@ -29,6 +29,7 @@ __export(server_exports, {
|
|
|
29
29
|
makeSafeCapture: () => import_runtime_node2.makeSafeCapture,
|
|
30
30
|
redactAttributes: () => import_runtime_node2.redactAttributes,
|
|
31
31
|
registerAutter: () => registerAutter,
|
|
32
|
+
reportServerOutcome: () => import_runtime_node2.reportOutcome,
|
|
32
33
|
trackLlmCall: () => import_runtime_node2.trackLlmCall,
|
|
33
34
|
withLlmCall: () => import_runtime_node2.withLlmCall,
|
|
34
35
|
withProcessSpan: () => import_runtime_node2.withProcessSpan
|
|
@@ -53,6 +54,7 @@ function createAutterRelayRoute(options) {
|
|
|
53
54
|
makeSafeCapture,
|
|
54
55
|
redactAttributes,
|
|
55
56
|
registerAutter,
|
|
57
|
+
reportServerOutcome,
|
|
56
58
|
trackLlmCall,
|
|
57
59
|
withLlmCall,
|
|
58
60
|
withProcessSpan
|
package/dist/server.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RelayOptions, AutterServerOptions, AutterServer } from '@autter/runtime-node';
|
|
2
|
-
export { AutoFlushHandle, AutoFlushOptions, AutterServer, AutterServerOptions, FlushTarget, InstrumentLlmOptions, LlmCallHandle, LlmCallInfo, LlmUsage, RedactOptions, RelayOptions, SafeCapture, TrackedLlmCall, captureException as captureServerException, captureMessage as captureServerMessage, emitLlmSelftestTrace, installAutterAutoFlush, instrumentLlmClient, makeSafeCapture, redactAttributes, trackLlmCall, withLlmCall, withProcessSpan } from '@autter/runtime-node';
|
|
2
|
+
export { AutoFlushHandle, AutoFlushOptions, AutterServer, AutterServerOptions, FlushTarget, InstrumentLlmOptions, LlmCallHandle, LlmCallInfo, LlmUsage, RedactOptions, RelayOptions, SafeCapture, TrackedLlmCall, captureException as captureServerException, captureMessage as captureServerMessage, emitLlmSelftestTrace, installAutterAutoFlush, instrumentLlmClient, makeSafeCapture, redactAttributes, reportOutcome as reportServerOutcome, trackLlmCall, withLlmCall, withProcessSpan } from '@autter/runtime-node';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Server half of @autter/runtime-next. Safe to import anywhere Node runs:
|
package/dist/server.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RelayOptions, AutterServerOptions, AutterServer } from '@autter/runtime-node';
|
|
2
|
-
export { AutoFlushHandle, AutoFlushOptions, AutterServer, AutterServerOptions, FlushTarget, InstrumentLlmOptions, LlmCallHandle, LlmCallInfo, LlmUsage, RedactOptions, RelayOptions, SafeCapture, TrackedLlmCall, captureException as captureServerException, captureMessage as captureServerMessage, emitLlmSelftestTrace, installAutterAutoFlush, instrumentLlmClient, makeSafeCapture, redactAttributes, trackLlmCall, withLlmCall, withProcessSpan } from '@autter/runtime-node';
|
|
2
|
+
export { AutoFlushHandle, AutoFlushOptions, AutterServer, AutterServerOptions, FlushTarget, InstrumentLlmOptions, LlmCallHandle, LlmCallInfo, LlmUsage, RedactOptions, RelayOptions, SafeCapture, TrackedLlmCall, captureException as captureServerException, captureMessage as captureServerMessage, emitLlmSelftestTrace, installAutterAutoFlush, instrumentLlmClient, makeSafeCapture, redactAttributes, reportOutcome as reportServerOutcome, trackLlmCall, withLlmCall, withProcessSpan } from '@autter/runtime-node';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Server half of @autter/runtime-next. Safe to import anywhere Node runs:
|
package/dist/server.js
CHANGED
|
@@ -8,10 +8,11 @@ import {
|
|
|
8
8
|
makeSafeCapture,
|
|
9
9
|
redactAttributes,
|
|
10
10
|
registerAutter,
|
|
11
|
+
reportOutcome,
|
|
11
12
|
trackLlmCall,
|
|
12
13
|
withLlmCall,
|
|
13
14
|
withProcessSpan
|
|
14
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-4RSUUUZJ.js";
|
|
15
16
|
export {
|
|
16
17
|
captureException as captureServerException,
|
|
17
18
|
captureMessage as captureServerMessage,
|
|
@@ -22,6 +23,7 @@ export {
|
|
|
22
23
|
makeSafeCapture,
|
|
23
24
|
redactAttributes,
|
|
24
25
|
registerAutter,
|
|
26
|
+
reportOutcome as reportServerOutcome,
|
|
25
27
|
trackLlmCall,
|
|
26
28
|
withLlmCall,
|
|
27
29
|
withProcessSpan
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@autter/runtime-next",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.3",
|
|
4
4
|
"description": "One-command Autter Runtime for Next.js: server OTel, browser tracker, relay route, and React error boundary",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"build": "tsup"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@autter/runtime-browser": "^1.
|
|
40
|
-
"@autter/runtime-node": "^1.3.
|
|
39
|
+
"@autter/runtime-browser": "^1.3.2",
|
|
40
|
+
"@autter/runtime-node": "^1.3.3"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"react": ">=18"
|