Skip to content

Commit

Permalink
Issue #SB-22373 merge: Merge pull request #30 from project-sunbird/re…
Browse files Browse the repository at this point in the history
…lease-3.7.0

Release 3.7.0
  • Loading branch information
vinukumar-vs authored Feb 12, 2021
2 parents 4944340 + 928a3d0 commit f4dcf7c
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 24 deletions.
35 changes: 17 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "chatbot-client",
"version": "0.0.0",
"name": "chatbot-client-v8",
"version": "2.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve",
Expand All @@ -10,31 +10,30 @@
"e2e": "ng e2e",
"copy:assets": "node scripts/copy-assets"
},
"private": true,
"dependencies": {
"@angular/animations": "~7.1.0",
"@angular/common": "~7.1.0",
"@angular/compiler": "~7.1.0",
"@angular/core": "~7.1.0",
"@angular/forms": "~7.1.0",
"@angular/platform-browser": "~7.1.0",
"@angular/platform-browser-dynamic": "~7.1.0",
"@angular/router": "~7.1.0",
"@angular/animations": "^8.0.0",
"@angular/common": "^8.0.0",
"@angular/compiler": "^8.0.0",
"@angular/core": "^8.0.0",
"@angular/forms": "^8.0.0",
"@angular/platform-browser": "^8.0.0",
"@angular/platform-browser-dynamic": "^8.0.0",
"@angular/router": "^8.0.0",
"core-js": "^2.5.4",
"rxjs": "~6.3.3",
"tslib": "^1.9.0",
"uuidv4": "^6.2.6",
"zone.js": "~0.8.26"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.11.0",
"@angular-devkit/build-ng-packagr": "~0.11.0",
"@angular/cli": "~7.1.0",
"@angular/compiler-cli": "~7.1.0",
"@angular/language-service": "~7.1.0",
"@angular-devkit/build-angular": "~0.801.3",
"@angular-devkit/build-ng-packagr": "~0.801.3",
"@angular/cli": "^8.0.0",
"@angular/compiler-cli": "^8.0.0",
"@angular/language-service": "^8.0.0",
"@types/jasmine": "~2.8.8",
"@types/jasminewd2": "~2.0.3",
"@types/node": "~8.9.4",
"angular2-uuid": "^1.1.1",
"codelyzer": "~4.5.0",
"jasmine-core": "~2.99.1",
"jasmine-spec-reporter": "~4.2.1",
Expand All @@ -49,6 +48,6 @@
"tsickle": ">=0.29.0",
"tslib": "^1.9.0",
"tslint": "~5.11.0",
"typescript": "~3.1.6"
"typescript": "~3.4.3"
}
}
9 changes: 5 additions & 4 deletions projects/chat-lib/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"name": "sunbird-chatbot-client",
"version": "0.0.9",
"name": "@project-sunbird/chatbot-client-v8",
"version": "2.0.2",
"peerDependencies": {
"@angular/common": "^7.1.0",
"@angular/core": "^7.1.0"
"@angular/common": "^8.0.0",
"@angular/core": "^8.0.0",
"angular2-uuid": "^1.1.1"
}
}
5 changes: 3 additions & 2 deletions projects/chat-lib/src/lib/chat-lib.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import { HttpClient, HttpHeaders } from '@angular/common/http';
import { of as observableOf, throwError as observableThrowError, Observable } from 'rxjs';
import { mergeMap } from 'rxjs/operators';
import { Injectable } from '@angular/core';
import { uuid } from 'uuidv4';
import { UUID } from 'angular2-uuid';
let uuid = UUID.UUID();

@Injectable({
providedIn: 'root'
Expand All @@ -27,7 +28,7 @@ export class ChatLibService {
if(!this.did) {
this.did = Date.now();
}
const headers = {'x-request-id': uuid() };
const headers = {'x-request-id': uuid };
const options = { headers: headers };
req.data['userId'] = this.userId;
req.data['appId'] = this.appId;
Expand Down

0 comments on commit f4dcf7c

Please sign in to comment.