abstract-level
Advanced tools
Comparing version 1.0.1 to 1.0.2
# Changelog | ||
## [1.0.2] - 2022-03-06 | ||
### Fixed | ||
- Fix TypeScript declaration of chained batch `write()` options ([`392b7f7`](https://github.com/Level/abstract-level/commit/392b7f7)) (Vincent Weevers) | ||
- Document the return type of `db.batch()` and add example ([`9739bba`](https://github.com/Level/abstract-level/commit/9739bba)) (Vincent Weevers) | ||
## [1.0.1] - 2022-02-06 | ||
@@ -15,4 +22,6 @@ | ||
[1.0.2]: https://github.com/Level/abstract-level/releases/tag/v1.0.2 | ||
[1.0.1]: https://github.com/Level/abstract-level/releases/tag/v1.0.1 | ||
[1.0.0]: https://github.com/Level/abstract-level/releases/tag/v1.0.0 |
@@ -29,3 +29,4 @@ export { | ||
AbstractChainedBatchPutOptions, | ||
AbstractChainedBatchDelOptions | ||
AbstractChainedBatchDelOptions, | ||
AbstractChainedBatchWriteOptions | ||
} from './types/abstract-chained-batch' | ||
@@ -32,0 +33,0 @@ |
{ | ||
"name": "abstract-level", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Abstract class for a lexicographically sorted key-value database", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -48,5 +48,5 @@ import * as Transcoder from 'level-transcoder' | ||
write (): Promise<void> | ||
write (options: {}): Promise<void> | ||
write (options: AbstractChainedBatchWriteOptions): Promise<void> | ||
write (callback: NodeCallback<void>): void | ||
write (options: {}, callback: NodeCallback<void>): void | ||
write (options: AbstractChainedBatchWriteOptions, callback: NodeCallback<void>): void | ||
@@ -117,1 +117,9 @@ /** | ||
} | ||
/** | ||
* Options for the {@link AbstractChainedBatch.write} method. | ||
*/ | ||
// eslint-disable-next-line @typescript-eslint/no-empty-interface | ||
export interface AbstractChainedBatchWriteOptions { | ||
// There are no abstract options but implementations may add theirs. | ||
} |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
486170
10373
1422