@rivetkit/rivetkit-napi 0.0.0-stack-chore-sync-engine-changes-from-enterprise-mszropyy.677d526 → 0.0.0-sync-sqlite.0ed739a
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 +8 -0
- package/package.json +8 -8
package/index.d.ts
CHANGED
|
@@ -379,19 +379,27 @@ export declare class JsNativeDatabase {
|
|
|
379
379
|
run(sql: string, params?: Array<JsBindParam> | undefined | null): Promise<ExecuteResult>
|
|
380
380
|
query(sql: string, params?: Array<JsBindParam> | undefined | null): Promise<QueryResult>
|
|
381
381
|
execute(sql: string, params?: Array<JsBindParam> | undefined | null): Promise<NativeExecuteResult>
|
|
382
|
+
executeSync(sql: string, params?: Array<JsBindParam> | undefined | null): NativeExecuteResult
|
|
382
383
|
executeBatch(statements: Array<JsSqliteBatchStatement>): Promise<Array<NativeExecuteResult>>
|
|
383
384
|
exec(sql: string): Promise<QueryResult>
|
|
385
|
+
execSync(sql: string): QueryResult
|
|
384
386
|
close(): Promise<void>
|
|
385
387
|
beginTransaction(timeoutMs?: number | undefined | null, name?: string | undefined | null): Promise<JsSqliteTransaction>
|
|
388
|
+
beginTransactionSync(timeoutMs?: number | undefined | null, name?: string | undefined | null): JsSqliteTransaction
|
|
386
389
|
}
|
|
387
390
|
export declare class JsSqliteTransaction {
|
|
388
391
|
execute(sql: string, params?: Array<JsBindParam> | undefined | null): Promise<NativeExecuteResult>
|
|
392
|
+
executeSync(sql: string, params?: Array<JsBindParam> | undefined | null): NativeExecuteResult
|
|
389
393
|
exec(sql: string): Promise<QueryResult>
|
|
394
|
+
execSync(sql: string): QueryResult
|
|
390
395
|
commit(): Promise<void>
|
|
396
|
+
commitSync(): void
|
|
391
397
|
rollback(): Promise<void>
|
|
398
|
+
rollbackSync(): void
|
|
392
399
|
}
|
|
393
400
|
export declare class JsActorStateTransaction {
|
|
394
401
|
execute(sql: string, params?: Array<JsBindParam> | undefined | null): Promise<NativeExecuteResult>
|
|
402
|
+
executeSync(sql: string, params?: Array<JsBindParam> | undefined | null): NativeExecuteResult
|
|
395
403
|
commit(payload: StateDeltaPayload): Promise<void>
|
|
396
404
|
rollback(): Promise<void>
|
|
397
405
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rivetkit/rivetkit-napi",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-sync-sqlite.0ed739a",
|
|
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": "0.0.0-
|
|
47
|
+
"@rivetkit/engine-envoy-protocol": "0.0.0-sync-sqlite.0ed739a"
|
|
48
48
|
},
|
|
49
49
|
"repository": {
|
|
50
50
|
"type": "git",
|
|
@@ -52,11 +52,11 @@
|
|
|
52
52
|
"directory": "rivetkit-typescript/packages/rivetkit-napi"
|
|
53
53
|
},
|
|
54
54
|
"optionalDependencies": {
|
|
55
|
-
"@rivetkit/rivetkit-napi-darwin-arm64": "0.0.0-
|
|
56
|
-
"@rivetkit/rivetkit-napi-darwin-x64": "0.0.0-
|
|
57
|
-
"@rivetkit/rivetkit-napi-linux-arm64-gnu": "0.0.0-
|
|
58
|
-
"@rivetkit/rivetkit-napi-linux-arm64-musl": "0.0.0-
|
|
59
|
-
"@rivetkit/rivetkit-napi-linux-x64-gnu": "0.0.0-
|
|
60
|
-
"@rivetkit/rivetkit-napi-linux-x64-musl": "0.0.0-
|
|
55
|
+
"@rivetkit/rivetkit-napi-darwin-arm64": "0.0.0-sync-sqlite.0ed739a",
|
|
56
|
+
"@rivetkit/rivetkit-napi-darwin-x64": "0.0.0-sync-sqlite.0ed739a",
|
|
57
|
+
"@rivetkit/rivetkit-napi-linux-arm64-gnu": "0.0.0-sync-sqlite.0ed739a",
|
|
58
|
+
"@rivetkit/rivetkit-napi-linux-arm64-musl": "0.0.0-sync-sqlite.0ed739a",
|
|
59
|
+
"@rivetkit/rivetkit-napi-linux-x64-gnu": "0.0.0-sync-sqlite.0ed739a",
|
|
60
|
+
"@rivetkit/rivetkit-napi-linux-x64-musl": "0.0.0-sync-sqlite.0ed739a"
|
|
61
61
|
}
|
|
62
62
|
}
|