Compare commits
3 Commits
v0.1.0-dev
...
v0.1.0-dev
Author | SHA1 | Date |
---|---|---|
semantic-release-bot | 6e2e8721b2 | |
Derrick Hammer | 704f2089c1 | |
Derrick Hammer | 1b654c9a60 |
|
@ -1,3 +1,5 @@
|
||||||
|
# [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.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)
|
# [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)
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "@lumeweb/kernel",
|
"name": "@lumeweb/kernel",
|
||||||
"version": "0.1.0-develop.3",
|
"version": "0.1.0-develop.4",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@lumeweb/kernel",
|
"name": "@lumeweb/kernel",
|
||||||
"version": "0.1.0-develop.3",
|
"version": "0.1.0-develop.4",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@lumeweb/libkernel": "0.1.0-develop.35"
|
"@lumeweb/libkernel": "0.1.0-develop.35"
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@lumeweb/kernel",
|
"name": "@lumeweb/kernel",
|
||||||
"version": "0.1.0-develop.3",
|
"version": "0.1.0-develop.4",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
|
@ -10,7 +10,11 @@ import {
|
||||||
objAsString,
|
objAsString,
|
||||||
sha512,
|
sha512,
|
||||||
} from "@lumeweb/libkernel";
|
} from "@lumeweb/libkernel";
|
||||||
import { deriveChildKey, downloadObject, verifyCid } from "@lumeweb/libweb";
|
import {
|
||||||
|
deriveChildKey,
|
||||||
|
downloadSmallObject,
|
||||||
|
verifyCid,
|
||||||
|
} from "@lumeweb/libweb";
|
||||||
import type { moduleQuery, presentKeyData } from "@lumeweb/libkernel/module";
|
import type { moduleQuery, presentKeyData } from "@lumeweb/libkernel/module";
|
||||||
import { readableStreamToUint8Array } from "binconv";
|
import { readableStreamToUint8Array } from "binconv";
|
||||||
|
|
||||||
|
@ -462,7 +466,7 @@ function handleModuleCall(
|
||||||
// TODO: Check localStorage for the module.
|
// TODO: Check localStorage for the module.
|
||||||
|
|
||||||
// Download the code for the worker.
|
// Download the code for the worker.
|
||||||
const [moduleData, errDS] = await downloadObject(finalModule);
|
const [moduleData, errDS] = await downloadSmallObject(finalModule);
|
||||||
if (errDS !== null) {
|
if (errDS !== null) {
|
||||||
const err = addContextToErr(errDS, "unable to load module");
|
const err = addContextToErr(errDS, "unable to load module");
|
||||||
respondErr(event, messagePortal, isWorker, err);
|
respondErr(event, messagePortal, isWorker, err);
|
||||||
|
|
Loading…
Reference in New Issue