@magieno/sqlite-client
Advanced tools
Comparing version 3.45.1-build3-with-extension-support to 3.45.1-build4-with-extension-support
@@ -49,5 +49,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
yield client.init(); | ||
const response = yield client.executeSql(detail.query, [], ReturnValueEnum.ResultRows, RowModeEnum.Object); | ||
SqliteClientExtension.dispatchEvent({ "type": "EXECUTE_SQL_QUERY_RESULT", "uniqueId": detail.uniqueId, "filename": detail.filename, "response": response }); | ||
return; | ||
try { | ||
const response = yield client.executeSql(detail.query, [], ReturnValueEnum.ResultRows, RowModeEnum.Object); | ||
SqliteClientExtension.dispatchEvent({ "type": "EXECUTE_SQL_QUERY_RESULT", "uniqueId": detail.uniqueId, "filename": detail.filename, "response": response }); | ||
return; | ||
} | ||
catch (error) { | ||
SqliteClientExtension.dispatchEvent({ "type": "EXECUTE_SQL_QUERY_RESULT", "uniqueId": detail.uniqueId, "error": error }); | ||
} | ||
} | ||
@@ -54,0 +59,0 @@ }); |
{ | ||
"name": "@magieno/sqlite-client", | ||
"version": "3.45.1-build3-with-extension-support", | ||
"version": "3.45.1-build4-with-extension-support", | ||
"description": "SQLite Client is a wrapper for Sqlite on Wasm that uses the Origin Private File System to persist the sqlite database file.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
1017678
27426