Compare commits
No commits in common. "v0.0.2-develop.6" and "v0.0.2-develop.5" have entirely different histories.
v0.0.2-dev
...
v0.0.2-dev
|
@ -3,12 +3,7 @@
|
|||
"@lumeweb/presetter-kernel-module-preset"
|
||||
],
|
||||
"config": {
|
||||
"vite": {
|
||||
"resolve": {
|
||||
"alias": {
|
||||
"sodium-universal": "@screamingvoid/sodium-universal"
|
||||
}
|
||||
}
|
||||
}
|
||||
"official": true,
|
||||
"browser": true
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
## [0.0.2-develop.6](https://git.lumeweb.com/LumeWeb/kernel-swarm/compare/v0.0.2-develop.5...v0.0.2-develop.6) (2023-07-08)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* need to patch our own sdk for bundling so we don't need to put the hack in directly ([10170bd](https://git.lumeweb.com/LumeWeb/kernel-swarm/commit/10170bd673ccd4070c2ab9e0b444cba81080311d))
|
||||
|
||||
## [0.0.2-develop.5](https://git.lumeweb.com/LumeWeb/kernel-swarm/compare/v0.0.2-develop.4...v0.0.2-develop.5) (2023-07-05)
|
||||
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -10,14 +10,14 @@
|
|||
},
|
||||
"scripts": {
|
||||
"prepare": "presetter bootstrap",
|
||||
"build": "run build",
|
||||
"build": "shx touch nop.js; run build",
|
||||
"semantic-release": "semantic-release",
|
||||
"postinstall": "patch-package"
|
||||
},
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
"@lumeweb/hyperswarm-web": "0.0.2-develop.7",
|
||||
"@lumeweb/libkernel": "^0.1.0-develop.14",
|
||||
"@lumeweb/libkernel": "^0.1.0-develop.13",
|
||||
"@lumeweb/rpc": "0.0.2-develop.1",
|
||||
"@noble/curves": "^1.1.0",
|
||||
"@peculiar/webcrypto": "^1.4.3",
|
||||
|
@ -31,13 +31,13 @@
|
|||
"protomux": "^3.5.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@lumeweb/presetter-kernel-module-preset": "^0.1.0-develop.38",
|
||||
"@lumeweb/presetter-kernel-module-preset": "^0.1.0-develop.29",
|
||||
"@rollup/plugin-alias": "^5.0.0",
|
||||
"@types/b4a": "^1.6.0",
|
||||
"crypto-browserify": "^3.12.0",
|
||||
"patch-package": "^7.0.0",
|
||||
"presetter": "*"
|
||||
},
|
||||
"version": "0.0.2-develop.6",
|
||||
"version": "0.0.2-develop.5",
|
||||
"readme": "ERROR: No README data found!"
|
||||
}
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
diff --git a/node_modules/@lumeweb/libportal/lib/wasm.mjs b/node_modules/@lumeweb/libportal/lib/wasm.mjs
|
||||
index 32726cf..6fdc525 100644
|
||||
--- a/node_modules/@lumeweb/libportal/lib/wasm.mjs
|
||||
+++ b/node_modules/@lumeweb/libportal/lib/wasm.mjs
|
||||
@@ -6,7 +6,7 @@ export default async function (imports) {
|
||||
const wasm = await fs.readFile(wasmPath);
|
||||
return (await WebAssembly.instantiate(wasm, imports)).instance;
|
||||
}
|
||||
- let wasm = await import("./wasm/bao.wasm");
|
||||
+ let wasm = await import("./wasm/bao.wasm?init");
|
||||
wasm = wasm.default || wasm;
|
||||
return (await wasm(imports)).instance;
|
||||
}
|
|
@ -0,0 +1,66 @@
|
|||
// @ts-nocheck
|
||||
import * as import0 from "@rollup/plugin-json";
|
||||
import * as import1 from "@rollup/plugin-node-resolve";
|
||||
import * as import2 from "@rollup/plugin-commonjs";
|
||||
import * as import3 from "@rollup/plugin-graphql";
|
||||
import * as import4 from "@rollup/plugin-image";
|
||||
import * as import5 from "@rollup/plugin-yaml";
|
||||
import * as import6 from "rollup-plugin-postcss";
|
||||
import * as import7 from "rollup-plugin-visualizer";
|
||||
import * as import8 from "@rollup/plugin-wasm";
|
||||
import * as import9 from "@rollup/plugin-alias";
|
||||
|
||||
const customResolver = import1.default({
|
||||
extensions: [".js"],
|
||||
browser: true,
|
||||
});
|
||||
export default {
|
||||
input: "build/index.js",
|
||||
output: [
|
||||
{
|
||||
file: "lib/index.js",
|
||||
format: "cjs",
|
||||
sourcemap: false,
|
||||
inlineDynamicImports: true,
|
||||
},
|
||||
],
|
||||
plugins: [
|
||||
import0.default(...([] as const)),
|
||||
import9.default({
|
||||
entries: {
|
||||
"crypto": "crypto-browserify",
|
||||
"sodium-universal": "@screamingvoid/sodium-universal",
|
||||
},
|
||||
customResolver,
|
||||
}),
|
||||
import9.default({
|
||||
entries: {
|
||||
"node-fetch": "./nop.js",
|
||||
"stream": "./nop.js",
|
||||
"formdata-polyfill/formdata-to-blob.js": "./nop.js",
|
||||
},
|
||||
}),
|
||||
import1.default(
|
||||
...([
|
||||
{
|
||||
browser: true,
|
||||
preferBuiltins: false,
|
||||
dedupe: [
|
||||
"@lumeweb/libkernel",
|
||||
"@lumeweb/libweb",
|
||||
"@lumeweb/libportal",
|
||||
],
|
||||
},
|
||||
] as const),
|
||||
),
|
||||
import2.default(
|
||||
...([{ extensions: [".js", ".jsx", ".ts", ".tsx"] }] as const),
|
||||
),
|
||||
import3.default(...([] as const)),
|
||||
import4.default(...([] as const)),
|
||||
import5.default(...([] as const)),
|
||||
import6.default(...([{ inject: { insertAt: "top" } }] as const)),
|
||||
import7.visualizer(...([] as const)),
|
||||
import8.default(...([{ targetEnv: "auto-inline" }] as const)),
|
||||
],
|
||||
};
|
Loading…
Reference in New Issue