-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement streaming client for hoard-js
- Remove use of oneof - note this should be backwards compatible - Update to version 7 and write changelog - Code cleanup and refactor Signed-off-by: Silas Davis <[email protected]>
- Loading branch information
Silas Davis
committed
Dec 3, 2019
1 parent
a0f05b2
commit 22ce590
Showing
49 changed files
with
2,831 additions
and
1,405 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
module.exports = { | ||
env: { | ||
browser: true, | ||
commonjs: true, | ||
es6: true, | ||
mocha: true | ||
}, | ||
extends: [ | ||
'standard' | ||
], | ||
globals: { | ||
Atomics: 'readonly', | ||
SharedArrayBuffer: 'readonly' | ||
}, | ||
parserOptions: { | ||
ecmaVersion: 2018 | ||
}, | ||
rules: {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
### Added | ||
- Document streaming service | ||
This release makes some changes to the Hoard protobuf and service that are backwards compatible for clients - Hoard v6 clients should work with Hoard v7 but hoard-js v7 will not work entirely correctly with Hoard v6 due to removal of oneof. | ||
|
||
### Changed | ||
- [API] Drop use of oneof in protobuf files - allow singleton fields to be sent with streamable fields | ||
- [API] Enforce that we only receive exactly one salt and grant spec in streams and that they come first | ||
- [NODEJS] Expose streaming promise client-side API to take advantage of streaming rather than loading entire file into buffer | ||
|
||
### Fixed | ||
- Ignoring Spec if Salt present in single message | ||
|
Oops, something went wrong.