Merged PR 22: fixed and publish

fixed and publish
This commit is contained in:
Mathias Beaulieu-Duncan 2019-11-13 15:49:45 +00:00
commit 686674a94d
3 changed files with 6 additions and 4 deletions

View File

@ -1,13 +1,15 @@
{ {
"name": "data", "name": "data",
"version": "0.0.0", "version": "0.0.26",
"scripts": { "scripts": {
"ng": "ng", "ng": "ng",
"start": "ng serve", "start": "ng serve",
"build": "ng build", "build": "ng build",
"test": "ng test", "test": "ng test",
"lint": "ng lint", "lint": "ng lint",
"e2e": "ng e2e" "e2e": "ng e2e",
"build-lib": "ng build @poweredsoft/data",
"publish-lib": "npm publish dist/poweredsoft/data"
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {

View File

@ -1,6 +1,6 @@
{ {
"name": "@poweredsoft/data", "name": "@poweredsoft/data",
"version": "0.0.25", "version": "0.0.26",
"peerDependencies": { "peerDependencies": {
"rxjs": "^6.5.3" "rxjs": "^6.5.3"
} }

View File

@ -112,7 +112,7 @@ export class DataSource<TModel> implements IDataSource<TModel>
return this.options.transport.commands[name].adapter.handle(command).pipe( return this.options.transport.commands[name].adapter.handle(command).pipe(
map(t => { map(t => {
let message = `{command} was executed successfully..`; let message = `{command} was executed successfully..`;
if (!this.manageNotificationMessage) if (this.manageNotificationMessage)
message = message.replace('{command}', name); message = message.replace('{command}', name);
this._notifyMessageSubject.next({ this._notifyMessageSubject.next({