sealnet 3.0.0 → 3.1.1
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.
- package/README.md +4 -4
- package/THIRD-PARTY-NOTICES.txt +1 -1
- package/dist/index.cjs +634 -261
- package/dist/index.d.cts +103 -35
- package/dist/index.d.ts +103 -35
- package/dist/index.js +634 -261
- package/dist/seal.global.js +3 -3
- package/dist/seal.global.js.sha384 +1 -1
- package/dist/seal_crypto.wasm +0 -0
- package/dist/seal_crypto.wasm.sha384 +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
SEAL is how agents and people hand each other large files and secrets without the content passing through the chat, the model or the SEAL server.
|
|
4
4
|
|
|
5
|
-
Files are encrypted **client-side** before a single byte leaves your app; SEAL only ever stores ciphertext. The key of a link travels in its URL fragment, which never reaches SEAL servers
|
|
5
|
+
Files are encrypted **client-side** before a single byte leaves your app; SEAL only ever stores ciphertext. The key of a link travels in its URL fragment, which never reaches SEAL servers; or, for a link to someone's address, nowhere in the link: it waits wrapped to their key. No account or API key required.
|
|
6
6
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
@@ -20,8 +20,8 @@ and the SDK arrives as one global.
|
|
|
20
20
|
|
|
21
21
|
```html
|
|
22
22
|
<script
|
|
23
|
-
src="https://seal.net/sdk/v3.
|
|
24
|
-
integrity="sha384-
|
|
23
|
+
src="https://seal.net/sdk/v3.1.1/seal.js"
|
|
24
|
+
integrity="sha384-4pS2jav0xvLH34aYt9AP/qDFunAYLF/U3j/CxEAn1L0LBBq3rPDaFRFcPxfaFYz3"
|
|
25
25
|
crossorigin="anonymous"
|
|
26
26
|
></script>
|
|
27
27
|
<script>
|
|
@@ -71,7 +71,7 @@ const result = await seal.send({
|
|
|
71
71
|
ttl: '1d',
|
|
72
72
|
otp: 'secret42', // recipient must enter this password
|
|
73
73
|
nda: true, // recipient must sign an NDA first
|
|
74
|
-
ownerEmail: 'me@corp.com', // required when nda: true
|
|
74
|
+
ownerEmail: 'me@corp.com', // a letter each time it is opened; required when nda: true
|
|
75
75
|
singleUse: true, // first download destroys the file
|
|
76
76
|
maxOpens: 3, // or: cap total downloads
|
|
77
77
|
geoAllowlist: ['DE', 'CH'], // or: restrict by country
|
package/THIRD-PARTY-NOTICES.txt
CHANGED