diff --git a/package-lock.json b/package-lock.json index 3f441ea..428696b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,7 +8,7 @@ "name": "odd-app-template", "version": "0.1.0", "dependencies": { - "@fission-codes/homestar": "^0.5.1", + "@fission-codes/homestar": "^0.6.0", "@oddjs/odd": "0.37.0", "@types/three": "^0.156.0", "chart.js": "^4.4.0", @@ -557,9 +557,9 @@ } }, "node_modules/@fission-codes/homestar": { - "version": "0.5.1", - "resolved": "https://registry.npmjs.org/@fission-codes/homestar/-/homestar-0.5.1.tgz", - "integrity": "sha512-OGGib8/H06QknKxOWb5L7lCTkmN6ckGylAh5pnigcPv1zNisO6bE3dww97JhvnhHVHx1D5FsPX9d55Rpc1wK8Q==", + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/@fission-codes/homestar/-/homestar-0.6.0.tgz", + "integrity": "sha512-B03t2sFLqIvaNtyUYQSedFLC/JBrrMzqTwb45YocXkSlCE4gKgfmdzqVCZTVz7dYkK6d5xlAcHlgsXZTXaXKQQ==", "dependencies": { "@ipld/dag-cbor": "^9.0.6", "@ipld/dag-json": "^10.1.5", @@ -7738,9 +7738,9 @@ "integrity": "sha512-JUFJad5lv7jxj926GPgymrWQxxjPYuJNiNjNMzqT+HiuP6Vl3dk5xzG+8sTX96np0ZAluvaMzPsjhHZ5rNuNQQ==" }, "@fission-codes/homestar": { - "version": "0.5.1", - "resolved": "https://registry.npmjs.org/@fission-codes/homestar/-/homestar-0.5.1.tgz", - "integrity": "sha512-OGGib8/H06QknKxOWb5L7lCTkmN6ckGylAh5pnigcPv1zNisO6bE3dww97JhvnhHVHx1D5FsPX9d55Rpc1wK8Q==", + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/@fission-codes/homestar/-/homestar-0.6.0.tgz", + "integrity": "sha512-B03t2sFLqIvaNtyUYQSedFLC/JBrrMzqTwb45YocXkSlCE4gKgfmdzqVCZTVz7dYkK6d5xlAcHlgsXZTXaXKQQ==", "requires": { "@ipld/dag-cbor": "^9.0.6", "@ipld/dag-json": "^10.1.5", diff --git a/package.json b/package.json index 6744568..88125f0 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ ] }, "dependencies": { - "@fission-codes/homestar": "^0.5.1", + "@fission-codes/homestar": "^0.6.0", "@oddjs/odd": "0.37.0", "@types/three": "^0.156.0", "chart.js": "^4.4.0", diff --git a/src/routes/activity/+page.svelte b/src/routes/activity/+page.svelte index 2044e41..af04da6 100644 --- a/src/routes/activity/+page.svelte +++ b/src/routes/activity/+page.svelte @@ -107,17 +107,18 @@ delay: 20, opacity: 0 }} - class="flex flex-col gap-4 md:min-h-[189px] p-4 bg-base-100 border border-odd-gray-200 rounded-sm" + class="flex flex-col gap-4 p-4 bg-base-100 border border-odd-gray-200 rounded-sm" > +

CPU

- m?.metric_name === 'homestar_process_cpu_usage_percentage' )?.data[0]?.value} total={100} - /> + /> --> { + // const imgBuffer = Buffer.from(new Uint8Array(fr.result)) + // const sig = Buffer.from('89504e47', 'hex') + // if (imgBuffer.compare(sig, undefined, undefined, 0, 4) === 0) { + // console.log('checked') + // } + uploadedImage = fr.result imageBitmap = await createImageBitmap(files[0]) }