fixed and publish

This commit is contained in:
Mathias Beaulieu-Duncan 2019-11-13 09:42:01 -06:00
parent c1c19c5ce0
commit 2939922830
3 changed files with 5 additions and 4 deletions

View File

@ -1,13 +1,14 @@
{ {
"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",
"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({