Skip to content

Commit

Permalink
fix library imports from faucet-client
Browse files Browse the repository at this point in the history
  • Loading branch information
pk910 committed Dec 31, 2023
1 parent 55ac11c commit 0a7664d
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion faucet-client/src/worker/worker-argon2.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

import { PoWWorker } from "./PoWWorker";
import { getArgon2, getArgon2ReadyPromise } from "../../../libs/argon2_wasm";
import { getArgon2, getArgon2ReadyPromise } from "../../../libs/argon2_wasm.cjs";
import { PoWHashAlgo } from "../common/FaucetConfig";

(() => {
Expand Down
2 changes: 1 addition & 1 deletion faucet-client/src/worker/worker-cryptonight.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

import { PoWWorker } from "./PoWWorker";
import { getCryptoNight, getCryptoNightReadyPromise, CryptoNight } from "../../../libs/cryptonight_wasm";
import { getCryptoNight, getCryptoNightReadyPromise } from "../../../libs/cryptonight_wasm.cjs";
import { PoWHashAlgo } from "../common/FaucetConfig";

(() => {
Expand Down
2 changes: 1 addition & 1 deletion faucet-client/src/worker/worker-scrypt.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

import { PoWWorker } from "./PoWWorker";
import { getScrypt, getScryptReadyPromise, Scrypt } from "../../../libs/scrypt_wasm";
import { getScrypt, getScryptReadyPromise } from "../../../libs/scrypt_wasm.cjs";
import { PoWHashAlgo } from "../common/FaucetConfig";

(() => {
Expand Down
2 changes: 1 addition & 1 deletion static/js/powfaucet-worker-a2.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion static/js/powfaucet-worker-a2.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion static/js/powfaucet-worker-cn.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion static/js/powfaucet-worker-cn.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion static/js/powfaucet-worker-sc.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion static/js/powfaucet-worker-sc.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions static/js/powfaucet.js

Large diffs are not rendered by default.

0 comments on commit 0a7664d

Please sign in to comment.