@rivetkit/rivetkit-napi 2.3.19 → 2.3.20
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/index.d.ts +7 -0
- package/package.json +9 -9
package/index.d.ts
CHANGED
|
@@ -100,12 +100,19 @@ export interface JsSqliteProfilingConfig {
|
|
|
100
100
|
maxDiagnosticEventsPerMinute?: number
|
|
101
101
|
diagnosticEventQueueCapacity?: number
|
|
102
102
|
}
|
|
103
|
+
/** Per-actor trace sample rates, from 0 to 1. */
|
|
104
|
+
export interface JsActorTracingConfig {
|
|
105
|
+
sampler?: number
|
|
106
|
+
/** Keyed by flattened, dot-separated action name. */
|
|
107
|
+
actions?: Record<string, number>
|
|
108
|
+
}
|
|
103
109
|
export interface JsActorConfig {
|
|
104
110
|
name?: string
|
|
105
111
|
icon?: string
|
|
106
112
|
hasDatabase?: boolean
|
|
107
113
|
remoteSqlite?: boolean
|
|
108
114
|
sqliteProfiling?: JsSqliteProfilingConfig
|
|
115
|
+
tracing?: JsActorTracingConfig
|
|
109
116
|
enableActorRuntimeSocket?: boolean
|
|
110
117
|
hasState?: boolean
|
|
111
118
|
canHibernateWebsocket?: boolean
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rivetkit/rivetkit-napi",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.20",
|
|
4
4
|
"description": "Native N-API addon for RivetKit providing envoy client and SQLite access",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "index.js",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@napi-rs/cli": "^2.18.4",
|
|
47
|
-
"@rivetkit/engine-envoy-protocol": "2.3.
|
|
47
|
+
"@rivetkit/engine-envoy-protocol": "2.3.20"
|
|
48
48
|
},
|
|
49
49
|
"repository": {
|
|
50
50
|
"type": "git",
|
|
@@ -52,12 +52,12 @@
|
|
|
52
52
|
"directory": "rivetkit-typescript/packages/rivetkit-napi"
|
|
53
53
|
},
|
|
54
54
|
"optionalDependencies": {
|
|
55
|
-
"@rivetkit/rivetkit-napi-darwin-arm64": "2.3.
|
|
56
|
-
"@rivetkit/rivetkit-napi-darwin-x64": "2.3.
|
|
57
|
-
"@rivetkit/rivetkit-napi-linux-arm64-gnu": "2.3.
|
|
58
|
-
"@rivetkit/rivetkit-napi-linux-arm64-musl": "2.3.
|
|
59
|
-
"@rivetkit/rivetkit-napi-linux-x64-gnu": "2.3.
|
|
60
|
-
"@rivetkit/rivetkit-napi-linux-x64-musl": "2.3.
|
|
61
|
-
"@rivetkit/rivetkit-napi-win32-x64-msvc": "2.3.
|
|
55
|
+
"@rivetkit/rivetkit-napi-darwin-arm64": "2.3.20",
|
|
56
|
+
"@rivetkit/rivetkit-napi-darwin-x64": "2.3.20",
|
|
57
|
+
"@rivetkit/rivetkit-napi-linux-arm64-gnu": "2.3.20",
|
|
58
|
+
"@rivetkit/rivetkit-napi-linux-arm64-musl": "2.3.20",
|
|
59
|
+
"@rivetkit/rivetkit-napi-linux-x64-gnu": "2.3.20",
|
|
60
|
+
"@rivetkit/rivetkit-napi-linux-x64-musl": "2.3.20",
|
|
61
|
+
"@rivetkit/rivetkit-napi-win32-x64-msvc": "2.3.20"
|
|
62
62
|
}
|
|
63
63
|
}
|