Compare commits

..

5 Commits

5 changed files with 25 additions and 22 deletions

View File

@ -1,3 +1,5 @@
# [0.1.0-develop.4](https://git.lumeweb.com/LumeWeb/hosted-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/hosted-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/hosted-kernel/compare/v0.1.0-develop.1...v0.1.0-develop.2) (2023-07-21)

35
npm-shrinkwrap.json generated
View File

@ -1,14 +1,14 @@
{
"name": "@lumeweb/hosted-kernel",
"version": "0.1.0-develop.3",
"version": "0.1.0-develop.4",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@lumeweb/hosted-kernel",
"version": "0.1.0-develop.3",
"version": "0.1.0-develop.4",
"dependencies": {
"@lumeweb/libweb": "0.2.0-develop.27",
"@lumeweb/libweb": "0.2.0-develop.30",
"@noble/ciphers": "^0.1.4",
"binconv": "^0.2.0"
},
@ -1678,9 +1678,9 @@
}
},
"node_modules/@lumeweb/libportal": {
"version": "0.2.0-develop.16",
"resolved": "https://registry.npmjs.org/@lumeweb/libportal/-/libportal-0.2.0-develop.16.tgz",
"integrity": "sha512-wyzza/ttvU6I1gIs4tnYSkcT6s7MIBnUdJSNAbe6k6NsQ1w4bhBVJhEKbBru/lAEASO/PAhHGBwaOCv20rZZfA==",
"version": "0.2.0-develop.17",
"resolved": "https://registry.npmjs.org/@lumeweb/libportal/-/libportal-0.2.0-develop.17.tgz",
"integrity": "sha512-V8ac4NvRNCeE87rXNi9GX4J+ueztIWofBWMs24bmxWxrA46XOXC1Gm475IlAp4mSkyyUmy3vnnwQ4nYOi1U8Ew==",
"dependencies": {
"@lumeweb/node-library-preset": "git+https://git.lumeweb.com/LumeWeb/node-library-preset.git",
"@noble/curves": "^1.1.0",
@ -1695,15 +1695,16 @@
}
},
"node_modules/@lumeweb/libweb": {
"version": "0.2.0-develop.27",
"resolved": "https://registry.npmjs.org/@lumeweb/libweb/-/libweb-0.2.0-develop.27.tgz",
"integrity": "sha512-obS4a6mcHJNoWXy5fCDuGAIVMee0ivK8q/q0semqoS3v0PS7t7sUmRX5ajyCwGbACXYqEdq3vU7RwzxhUkuNGg==",
"version": "0.2.0-develop.30",
"resolved": "https://registry.npmjs.org/@lumeweb/libweb/-/libweb-0.2.0-develop.30.tgz",
"integrity": "sha512-6T/yhjk/2KYiJ4gjVQwHDFcjOlzz/EosZPbpkpAdUDW+yuFW0XiGKh7nQWyjVuk8C2zDawNh3jTRTz/FRiSFhg==",
"dependencies": {
"@lumeweb/community-portals": "^0.1.0-develop.6",
"@lumeweb/libportal": "^0.2.0-develop.16",
"@lumeweb/libportal": "0.2.0-develop.17",
"@lumeweb/node-library-preset": "0.2.7",
"@noble/curves": "^1.1.0",
"@noble/hashes": "^1.3.1"
"@noble/hashes": "^1.3.1",
"binconv": "^0.2.0"
}
},
"node_modules/@lumeweb/node-library-preset": {
@ -10946,9 +10947,9 @@
}
},
"node_modules/node-fetch": {
"version": "3.3.1",
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-3.3.1.tgz",
"integrity": "sha512-cRVc/kyto/7E5shrWca1Wsea4y6tL9iYJE5FBCius3JQfb/4P4I295PfhgbJQBLTx6lATE4z+wK0rPM4VS2uow==",
"version": "3.3.2",
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-3.3.2.tgz",
"integrity": "sha512-dRB78srN/l6gqWulah9SrxeYnxeddIG30+GOqK/9OlLVyLg3HPnr6SqOWTWOXKRwC2eGYCkZ59NNuSgvSrpgOA==",
"dependencies": {
"data-uri-to-buffer": "^4.0.0",
"fetch-blob": "^3.1.4",
@ -18387,9 +18388,9 @@
}
},
"node_modules/tus-js-client": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/tus-js-client/-/tus-js-client-3.1.0.tgz",
"integrity": "sha512-Hfpc8ho4C9Lhs/OflPUA/nHUHZJUrKD5upoPBq7dYJJ9DQhWocsjJU2RZYfN16Y5n19j9dFDszwCvVZ5sfcogw==",
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/tus-js-client/-/tus-js-client-3.1.1.tgz",
"integrity": "sha512-SZzWP62jEFLmROSRZx+uoGLKqsYWMGK/m+PiNehPVWbCm7/S9zRIMaDxiaOcKdMnFno4luaqP5E+Y1iXXPjP0A==",
"dependencies": {
"buffer-from": "^1.1.2",
"combine-errors": "^3.0.3",

View File

@ -1,6 +1,6 @@
{
"name": "@lumeweb/hosted-kernel",
"version": "0.1.0-develop.3",
"version": "0.1.0-develop.4",
"type": "module",
"readme": "ERROR: No README data found!",
"repository": {
@ -16,7 +16,7 @@
"@lumeweb/presetter-kernel-module-preset": "^0.1.0-develop.43"
},
"dependencies": {
"@lumeweb/libweb": "0.2.0-develop.27",
"@lumeweb/libweb": "0.2.0-develop.30",
"@noble/ciphers": "^0.1.4",
"binconv": "^0.2.0"
}

View File

@ -1,6 +1,6 @@
import {
addContextToErr,
downloadObject,
downloadSmallObject,
Err,
maybeInitDefaultPortals,
setActivePortalMasterKey,
@ -100,7 +100,7 @@ export async function loadKernel() {
async function downloadKernel(
kernelCid: string,
): Promise<[kernelCode: ReadableStream, err: Err]> {
const [code, err] = await downloadObject(kernelCid);
const [code, err] = await downloadSmallObject(kernelCid);
if (err != null) {
return [null as any, err];

View File

@ -1,7 +1,7 @@
import { x25519 } from "@noble/curves/ed25519";
export const defaultKernelLink =
"zduKTLDR3JwRbBMNyVTdgKH63t6TcJAFmRsiyeuPAzE4an6VUq8vWc8Tvo";
"zduU8tCftgnWPaJZrmyjCwCSftsMkSyeR9tjFxbEiBEp5HwxUpvfFJmvg7";
const store = new Map<string, any>(
Object.entries({