Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
kearfy committed Aug 2, 2024
1 parent 253e472 commit 84006e3
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
12 changes: 4 additions & 8 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
import { ConnectionOptions } from "./lib-src/embedded.js";
import { ConnectionOptions } from "./lib-src/embedded.js";
/* tslint:disable */
/* eslint-disable */

/* auto-generated by NAPI-RS */

export declare class SurrealdbNodeEngine {
execute(data: Uint8Array): Promise<Uint8Array>;
static connect(
endpoint: string,
opts?: ConnectionOptions,
): Promise<SurrealdbNodeEngine>;
free(): Promise<void>;
static version(): string;
execute(data: Uint8Array): Promise<Uint8Array>
static connect(endpoint: string, opts?: ConnectionOptions): Promise<SurrealdbNodeEngine>
free(): Promise<void>
static version(): string
}
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
"ava": "^5.1.1"
},
"dependencies": {
"surrealdb.js": "^1.0.0-beta.12"
"surrealdb.js": "^1.0.0-beta.12",
"typescript": "^5.5.4"
},
"peerDependencies": {
"surrealdb.js": "^1.0.0-beta.12"
Expand All @@ -61,7 +62,7 @@
"test": "npx tsx test.ts",
"universal": "napi universal",
"version": "napi version",
"ts-compile": "npx tsc --version && pnpx tsc"
"ts-compile": "pnpm i typescript && tsc --version && tsc"
},
"files": [
"lib",
Expand Down
15 changes: 9 additions & 6 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 84006e3

Please sign in to comment.