diff --git a/packages/duckdb-wasm/src/bindings/bindings_base.ts b/packages/duckdb-wasm/src/bindings/bindings_base.ts index 68f38889a..dc82dedef 100644 --- a/packages/duckdb-wasm/src/bindings/bindings_base.ts +++ b/packages/duckdb-wasm/src/bindings/bindings_base.ts @@ -96,6 +96,7 @@ export abstract class DuckDBBindingsBase implements DuckDBBindings { this._initPromise = null; // Remove own progress callback this.onInstantiationProgress = this.onInstantiationProgress.filter(x => x != onProgress); + (globalThis as any).DUCKDB_BINDINGS = this; return this; } /** Open a database with a config */