@consealdev/conseal 0.5.1 → 0.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +5 -5
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  <p align="center">
2
2
  <picture>
3
- <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/codesensedev/conseal/main/docs/assets/logo-dark.svg">
4
- <img src="https://raw.githubusercontent.com/codesensedev/conseal/main/docs/assets/logo-light.svg" width="64" height="64" alt="Conseal logo">
3
+ <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/consealdev/conseal/main/docs/assets/logo-dark.svg">
4
+ <img src="https://raw.githubusercontent.com/consealdev/conseal/main/docs/assets/logo-light.svg" style="width: 4rem; height: 4rem;" alt="Conseal logo">
5
5
  </picture>
6
6
  </p>
7
7
 
@@ -16,13 +16,13 @@
16
16
  ## Install
17
17
 
18
18
  ```bash
19
- npm install conseal
19
+ npm install @consealdev/conseal
20
20
  ```
21
21
 
22
22
  ## Quick start
23
23
 
24
24
  ```ts
25
- import { seal, unseal, generateAesKey } from 'conseal'
25
+ import { seal, unseal, generateAesKey } from '@consealdev/conseal'
26
26
 
27
27
  // Generate a key and encrypt
28
28
  const key = await generateAesKey()
@@ -131,7 +131,7 @@ Four functions cover the full device-registration ceremony:
131
131
  ### IndexedDB key storage
132
132
 
133
133
  ```ts
134
- import { saveCryptoKey, loadCryptoKey, deleteCryptoKey } from 'conseal'
134
+ import { saveCryptoKey, loadCryptoKey, deleteCryptoKey } from '@consealdev/conseal'
135
135
  ```
136
136
 
137
137
  | Function | Description |
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@consealdev/conseal",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "license": "AGPL-3.0-or-later OR Commercial",
5
5
  "homepage": "https://conseal.dev",
6
6
  "repository": {
7
7
  "type": "git",
8
- "url": "https://github.com/codesensedev/conseal"
8
+ "url": "https://github.com/consealdev/conseal"
9
9
  },
10
10
  "description": "Browser-side zero-knowledge cryptography library using SubtleCrypto.",
11
11
  "type": "module",