Skip to content

Commit

Permalink
fix: update core interface
Browse files Browse the repository at this point in the history
  • Loading branch information
DjDeveloperr authored Jan 26, 2023
1 parent 59ffd58 commit dfd83c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ export function isObject(value: unknown): boolean {
return typeof value === "object" && value !== null;
}

const { op_ffi_cstr_read, op_ffi_get_buf } = (Deno as any).core.ops;
const ops = (Deno as any)[(Deno as any).internal].core.ops;
const { op_ffi_cstr_read, op_ffi_get_buf } = ops;

export class SqliteError extends Error {
name = "SqliteError";
Expand Down

0 comments on commit dfd83c3

Please sign in to comment.