Skip to content

Commit b8f256a

Browse files
authored
Expose pipeline promise on savezip (#285)
* rejection on saveZip * expose pipeline promise on savezip * cleanup * review - writer.write returns after save completion * Use Conflux w/ native types * Add specific error messages for pipePromise vs writer.close promise * Error handling tests and hardening * cleanup * cleanup2 --------- Co-authored-by: bencmbrook <[email protected]>
1 parent f9346c3 commit b8f256a

File tree

10 files changed

+439
-141
lines changed

10 files changed

+439
-141
lines changed

.browserslistrc

Lines changed: 0 additions & 2 deletions
This file was deleted.

.editorconfig

Lines changed: 0 additions & 20 deletions
This file was deleted.

.markdownlint.json

Lines changed: 0 additions & 15 deletions
This file was deleted.

package.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@transcend-io/penumbra",
3-
"version": "8.0.1",
3+
"version": "8.1.0",
44
"description": "Crypto streams for the browser.",
55
"type": "module",
66
"main": "./dist/main.penumbra.umd.cjs",
@@ -15,9 +15,6 @@
1515
"default": "./dist/main.penumbra.umd.cjs"
1616
}
1717
},
18-
"directories": {
19-
"example": "example"
20-
},
2118
"scripts": {
2219
"build": "vite build",
2320
"postbuild": "scripts/postbuild.ts",
@@ -55,7 +52,7 @@
5552
],
5653
"homepage": "https://github.com/transcend-io/penumbra#readme",
5754
"dependencies": {
58-
"@transcend-io/conflux": "5.0.0",
55+
"@transcend-io/conflux": "6.0.1",
5956
"@transcend-io/encrypt-web-streams": "1.0.3",
6057
"comlink": "^4.4.1",
6158
"mime": "^4.0.7",

pnpm-lock.yaml

Lines changed: 57 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/@types/conflux/index.d.ts

Lines changed: 0 additions & 27 deletions
This file was deleted.

src/utils/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ export { default as getOrigins } from './get-origins.js';
66
export { default as blobCache } from './blob-cache.js';
77
export { default as isViewableText } from './is-viewable-text.js';
88
export { default as isNumber } from './is-number.js';
9-
export { default as throwOutside } from './throw-outside.js';
109
export { default as parseBase64OrUint8Array } from './parse-base64-or-uint8array.js';
1110
export { default as emitError } from './emit-error.js';
1211
export { default as onPenumbraEvent } from './forward-events.js';

src/utils/throw-outside.ts

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)