"version": "0.0.21",
"license": "(GPL-3.0-or-later AND MIT)",
"dependencies": {
- "nano-pow": "^1.2.0"
+ "nano-pow": "^1.2.2"
},
"devDependencies": {
"@types/node": "^22.10.1",
}
},
"node_modules/nano-pow": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/nano-pow/-/nano-pow-1.2.0.tgz",
- "integrity": "sha512-xgEWvLmFkWi/MMj40EyYRZQBec+U3zkKSQW2namD0790AdMlGOn4oZvYrdDBeq4g891JT8a07aIzvNadPdwmqw==",
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/nano-pow/-/nano-pow-1.2.2.tgz",
+ "integrity": "sha512-hOHzDTN9Vanl5GZZDA+bU+a8Iz8SdU1vWAgUL7sQq3TzLK8f+hsg2N65aXchCuBYWzmadEdQlZkox4nwx/U+cQ==",
"license": "(GPL-3.0-or-later AND MIT)",
"funding": {
"type": "nano",
import { WorkerInterface } from '#~/pool.js'
import { NanoPowGpuComputeShader, NanoPowGlFragmentShader, NanoPowGlVertexShader } from '#nano-pow/shaders/index.js'
import { NanoPowGl, NanoPowGpu } from '#nano-pow/classes/index.js'
+import { NanoPow } from 'nano-pow'
/**
* Nano proof-of-work using WebGPU and Web Workers.
*/
-export class NanoPow extends WorkerInterface {
+export class NanoPowWorker extends WorkerInterface {
static {
- NanoPow.listen()
+ NanoPowWorker.listen()
}
/**