diff --git a/package.json b/package.json index 11dd8d3..f15bf84 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,7 @@ "@rollup/plugin-commonjs": "^22.0.1", "@rollup/plugin-node-resolve": "^13.3.0", "@rollup/plugin-typescript": "^8.3.3", + "@screamingvoid/sodium-universal": "^0.1.1", "@types/jest": "^28.1.3", "@types/read": "^0.0.29", "buffer": "^6.0.3", @@ -38,5 +39,8 @@ "typescript": "^4.7.4", "webpack": "^5.73.0", "webpack-cli": "^4.10.0" + }, + "browser": { + "sodium-universal": "@screamingvoid/sodium-universal" } }