@bicycle-codes/ephemeral-crypto
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -5,3 +5,3 @@ { | ||
"type": "module", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"main": "dist/index.js", | ||
@@ -39,2 +39,5 @@ "scripts": { | ||
}, | ||
"files": [ | ||
"./dist/*" | ||
], | ||
"exports": { | ||
@@ -41,0 +44,0 @@ ".": { |
@@ -17,3 +17,3 @@ # ephemeral crypto | ||
```sh | ||
npm i -S @nichoth/ephemeral-crypto | ||
npm i -S @bicycle-codes/ephemeral-crypto | ||
``` | ||
@@ -34,3 +34,3 @@ | ||
```ts | ||
import { encryptMessage } from '@nichoth/ephemeral-crypto' | ||
import { encryptMessage } from '@bicycle-codes/ephemeral-crypto' | ||
@@ -58,3 +58,3 @@ const [encryptedMsg, { key }] = await encryptMessage({ | ||
import { test } from '@nichoth/tapzero' | ||
import { decryptMessage } from '@nichoth/ephemeral-crypto' | ||
import { decryptMessage } from '@bicycle-codes/ephemeral-crypto' | ||
@@ -67,1 +67,5 @@ test('decrypt the message', async t => { | ||
``` | ||
> [!NOTE] | ||
> This uses forks of `one-webcrypto` and `uint8arrays` so that we own | ||
> the entire dependency graph. |
68
34544
8
437