Compare commits

..

No commits in common. "v0.1.0-develop.4" and "v0.1.0-develop.3" have entirely different histories.

4 changed files with 5 additions and 11 deletions

View File

@ -1,5 +1,3 @@
# [0.1.0-develop.4](https://git.lumeweb.com/LumeWeb/kernel/compare/v0.1.0-develop.3...v0.1.0-develop.4) (2023-08-10)
# [0.1.0-develop.3](https://git.lumeweb.com/LumeWeb/kernel/compare/v0.1.0-develop.2...v0.1.0-develop.3) (2023-08-10)
# [0.1.0-develop.2](https://git.lumeweb.com/LumeWeb/kernel/compare/v0.1.0-develop.1...v0.1.0-develop.2) (2023-07-20)

4
npm-shrinkwrap.json generated
View File

@ -1,12 +1,12 @@
{
"name": "@lumeweb/kernel",
"version": "0.1.0-develop.4",
"version": "0.1.0-develop.3",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@lumeweb/kernel",
"version": "0.1.0-develop.4",
"version": "0.1.0-develop.3",
"dependencies": {
"@lumeweb/libkernel": "0.1.0-develop.35"
},

View File

@ -1,6 +1,6 @@
{
"name": "@lumeweb/kernel",
"version": "0.1.0-develop.4",
"version": "0.1.0-develop.3",
"type": "module",
"repository": {
"type": "git",

View File

@ -10,11 +10,7 @@ import {
objAsString,
sha512,
} from "@lumeweb/libkernel";
import {
deriveChildKey,
downloadSmallObject,
verifyCid,
} from "@lumeweb/libweb";
import { deriveChildKey, downloadObject, verifyCid } from "@lumeweb/libweb";
import type { moduleQuery, presentKeyData } from "@lumeweb/libkernel/module";
import { readableStreamToUint8Array } from "binconv";
@ -466,7 +462,7 @@ function handleModuleCall(
// TODO: Check localStorage for the module.
// Download the code for the worker.
const [moduleData, errDS] = await downloadSmallObject(finalModule);
const [moduleData, errDS] = await downloadObject(finalModule);
if (errDS !== null) {
const err = addContextToErr(errDS, "unable to load module");
respondErr(event, messagePortal, isWorker, err);