Compare commits
No commits in common. "v0.1.0-develop.17" and "v0.1.0-develop.16" have entirely different histories.
v0.1.0-dev
...
v0.1.0-dev
|
@ -1,12 +1,3 @@
|
||||||
# [0.1.0-develop.17](https://git.lumeweb.com/LumeWeb/hosted-kernel/compare/v0.1.0-develop.16...v0.1.0-develop.17) (2023-11-04)
|
|
||||||
|
|
||||||
|
|
||||||
### Bug Fixes
|
|
||||||
|
|
||||||
* correct handling of error code ([312f8ab](https://git.lumeweb.com/LumeWeb/hosted-kernel/commit/312f8ab43a5f781817e9b899a938719699c197c8))
|
|
||||||
* need to call sendAuthUpdate ([31cabc6](https://git.lumeweb.com/LumeWeb/hosted-kernel/commit/31cabc6c0a00ebb4e9379c4d81d7e4990457f2d3))
|
|
||||||
* need to use try/catch not if ([4e0021e](https://git.lumeweb.com/LumeWeb/hosted-kernel/commit/4e0021ef23f47ebc53b065b6221190786ccb6573))
|
|
||||||
|
|
||||||
# [0.1.0-develop.16](https://git.lumeweb.com/LumeWeb/hosted-kernel/compare/v0.1.0-develop.15...v0.1.0-develop.16) (2023-11-04)
|
# [0.1.0-develop.16](https://git.lumeweb.com/LumeWeb/hosted-kernel/compare/v0.1.0-develop.15...v0.1.0-develop.16) (2023-11-04)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "@lumeweb/hosted-kernel",
|
"name": "@lumeweb/hosted-kernel",
|
||||||
"version": "0.1.0-develop.17",
|
"version": "0.1.0-develop.16",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@lumeweb/hosted-kernel",
|
"name": "@lumeweb/hosted-kernel",
|
||||||
"version": "0.1.0-develop.17",
|
"version": "0.1.0-develop.16",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@lumeweb/libkernel": "^0.1.0-develop.67",
|
"@lumeweb/libkernel": "^0.1.0-develop.67",
|
||||||
"@noble/ciphers": "^0.1.4",
|
"@noble/ciphers": "^0.1.4",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@lumeweb/hosted-kernel",
|
"name": "@lumeweb/hosted-kernel",
|
||||||
"version": "0.1.0-develop.17",
|
"version": "0.1.0-develop.16",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"readme": "ERROR: No README data found!",
|
"readme": "ERROR: No README data found!",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
|
@ -28,11 +28,8 @@ function testIndexedDBSupport() {
|
||||||
|
|
||||||
request.onerror = function (event) {
|
request.onerror = function (event) {
|
||||||
// Error occurred, reject the promise
|
// Error occurred, reject the promise
|
||||||
|
// @ts-ignore
|
||||||
reject(
|
reject(new Error("IndexedDB test error: " + event?.target?.errorCode));
|
||||||
// @ts-ignore
|
|
||||||
new Error("IndexedDB test error: " + event?.target?.error?.code),
|
|
||||||
);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
request.onsuccess = function (event) {
|
request.onsuccess = function (event) {
|
||||||
|
@ -58,11 +55,8 @@ function testIndexedDBSupport() {
|
||||||
export async function boot() {
|
export async function boot() {
|
||||||
let userKey;
|
let userKey;
|
||||||
|
|
||||||
try {
|
if (!(await testIndexedDBSupport())) {
|
||||||
await testIndexedDBSupport();
|
|
||||||
} catch {
|
|
||||||
setKernelLoaded("indexeddb_error");
|
setKernelLoaded("indexeddb_error");
|
||||||
sendAuthUpdate();
|
|
||||||
logErr("indexed db is not supported or is blocked");
|
logErr("indexed db is not supported or is blocked");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue