diff --git a/CHANGELOG.md b/CHANGELOG.md index 3a1f05d..5efc4a7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +# [1.1.0](https://github.com/ronati/narango/compare/v1.0.0...v1.1.0) (2023-10-26) + + +### Features + +* **module:** add registerAsync function to Narango module ([5bd1f51](https://github.com/ronati/narango/commit/5bd1f513034bfd6feee322ab73dd1bdc4ba35c3a)) + # [1.1.0-beta.1](https://github.com/ronati/narango/compare/v1.0.0...v1.1.0-beta.1) (2023-10-26) diff --git a/README.md b/README.md index bffc959..6a608c8 100644 --- a/README.md +++ b/README.md @@ -85,6 +85,7 @@ import { ConfigModule, ConfigService } from "@nestjs/config"; imports: [ ConfigModule.forRoot(), NarangoModule.registerAsync({ + imports: [ConfigModule.forRoot()], useFactory: (config: ConfigService) => ({ database: { url: config.get("url"), diff --git a/package-lock.json b/package-lock.json index 321b254..1d7d2fa 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@ronatilabs/narango", - "version": "1.1.0-beta.1", + "version": "1.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@ronatilabs/narango", - "version": "1.1.0-beta.1", + "version": "1.1.0", "license": "ISC", "devDependencies": { "@commitlint/cli": "^17.8.0", diff --git a/package.json b/package.json index a3ef04a..afb12bc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ronatilabs/narango", - "version": "1.1.0-beta.1", + "version": "1.1.0", "description": "A NestJS wrapper service for ArangoDB NodeJS driver", "exports": "./dist/index.js", "typings": "./dist/index.d.ts",