Skip to content

Commit f954e78

Browse files
committed
1.0.2
1 parent f037503 commit f954e78

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,6 @@ This project adheres to [Semantic Versioning](http://semver.org/).
55

66
# Next release
77

8+
# 1.0.2
9+
810
- Fix `db` type in `ServerScopeAsync`

dist/src/contracts/ServerScopeAsync.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
/// <reference types="nano" />
22
import * as Nano from "nano";
33
import { AsyncResponse } from "../AsyncResponse";
4+
import { DatabaseScopeAsync } from "./DatabaseScopeAsync";
45
import { DocumentScopeAsync } from "./DocumentScopeAsync";
56
export interface ServerScopeAsync extends Nano.ServerScope {
7+
db: DatabaseScopeAsync;
68
use<D>(db: string): DocumentScopeAsync<D>;
79
scope<D>(db: string): DocumentScopeAsync<D>;
810
authAsync(username: string, userpass: string): AsyncResponse<Nano.DatabaseAuthResponse>;

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nano-async",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"author": "Kovács Vince <vincekovacs@hotmail.com>",
55
"license": "MIT",
66
"contributors": [

0 commit comments

Comments
 (0)