From dfd83c3fb871a531e447a1854988cee7ca9b35f4 Mon Sep 17 00:00:00 2001 From: Dj <43033058+DjDeveloperr@users.noreply.github.com> Date: Thu, 26 Jan 2023 16:52:04 +0530 Subject: [PATCH] fix: update core interface --- src/util.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/util.ts b/src/util.ts index 9d3f91c..192a585 100644 --- a/src/util.ts +++ b/src/util.ts @@ -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";