Skip to content

Commit 8194af5

Browse files
committed
v1.0.0 pre-release updates
1 parent 02c85b0 commit 8194af5

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

dist/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@ exports.config = {
4343
},
4444
referenceDepth: 2,
4545
skip: 0,
46-
uri: 'mongodb://localhost:27017',
46+
url: 'mongodb://localhost:27017',
4747
},
4848
};

src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ export const config = {
4242
},
4343
referenceDepth: 2,
4444
skip: 0,
45-
uri: 'mongodb://localhost:27017',
45+
url: 'mongodb://localhost:27017',
4646
},
4747
}

src/stack.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1471,7 +1471,7 @@ export class Stack {
14711471
* .includeAllReferences()
14721472
* @returns {Stack} Returns 'this' instance (of Stack)
14731473
*/
1474-
public includeReferences(depth) {
1474+
public includeReferences(depth?: number) {
14751475
console.warn('.includeReferences() is a relatively slow query..!')
14761476
if (typeof depth === 'number') {
14771477
this.q.referenceDepth = depth

typings/config.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ export declare const config: {
4040
};
4141
referenceDepth: number;
4242
skip: number;
43-
uri: string;
43+
url: string;
4444
};
4545
};

typings/stack.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -935,7 +935,7 @@ export declare class Stack {
935935
* .includeAllReferences()
936936
* @returns {Stack} Returns 'this' instance (of Stack)
937937
*/
938-
includeReferences(depth: any): this;
938+
includeReferences(depth?: number): this;
939939
/**
940940
* @public
941941
* @method include

0 commit comments

Comments
 (0)