Skip to content

Commit d74bbfd

Browse files
authored
Merge pull request #7 from scalio/fix/version
chore: version bump
2 parents b4c119d + a620f09 commit d74bbfd

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

dist/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@scalio-oss/nest-couchbase",
33
"description": "Couchbase module for Nest framework",
4-
"version": "0.2.0",
4+
"version": "1.0.0",
55
"license": "MIT",
66
"main": "index.js",
77
"typings": "index.d.ts",

e2e/__stubs__/cat.entity.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { Entity } from '../../src/couchbase';
2-
import { config } from './config';
32

4-
@Entity(config.bucket)
3+
@Entity()
54
export class Cat {
65
name: string;
76
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@scalio-oss/nest-couchbase",
33
"description": "Couchbase module for Nest framework",
4-
"version": "0.2.0",
4+
"version": "1.0.0",
55
"license": "MIT",
66
"private": true,
77
"scripts": {

src/utils.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { oO } from '@zmotivat0r/o0';
22

3-
export function promisify(fn: Function, ctx: any): Function {
3+
export function promisify(fn: any, ctx: any): any {
44
return function(...args: any[]): Promise<any> {
55
return new Promise((resolve, reject) => {
66
fn.apply(ctx, [
@@ -17,9 +17,9 @@ export function promisify(fn: Function, ctx: any): Function {
1717
};
1818
}
1919

20-
export function flattenPromise(promise: Function): Function {
20+
export function flattenPromise(promise: any): any {
2121
return async function(...args: any[]): Promise<any[]> {
22-
return await oO(promise(...args));
22+
return oO(promise(...args));
2323
};
2424
}
2525

tslint.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"object-literal-sort-keys": false,
77
"member-access": false,
88
"no-implicit-dependencies": false,
9-
"member-ordering": false
9+
"member-ordering": false,
10+
"only-arrow-functions": false
1011
},
1112
"rulesDirectory": []
1213
}

0 commit comments

Comments
 (0)