Skip to content

Commit

Permalink
fix: cryto API is now imported with node namespace
Browse files Browse the repository at this point in the history
This fix the use of this library in Cloudflare workers
  • Loading branch information
RodrigoTomeES committed Nov 18, 2023
1 parent b11c3f9 commit 5b9807d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BinaryToTextEncoding, webcrypto } from "crypto";
import { BinaryToTextEncoding, webcrypto } from "node:crypto";
import isPlainObject from "./isPlainObject";
import { encoders } from "./encoders";

Expand Down

0 comments on commit 5b9807d

Please sign in to comment.