homeflowjs 1.1.6 → 1.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Jenkinsfile CHANGED
@@ -67,6 +67,7 @@ pipeline {
67
67
  steps {
68
68
  sh 'git config --global user.email "devops@homeflow.co.uk"'
69
69
  sh 'git config --global user.name "Homeflow CI"'
70
+ sh 'yarn config set registry https://registry.npmjs.org'
70
71
  sh 'yarn publish --new-version ${PUBLISH_VERSION}'
71
72
  sh 'git show'
72
73
  sh 'git push git@bitbucket.org:homeflow_developers/homeflowjs HEAD:main'
@@ -76,8 +76,9 @@ const hfInitialize = () => {
76
76
  const flash = hash.split('flash/')[1];
77
77
  const message = Homeflow.get(`flash-message-${flash}`);
78
78
  const type = flash.includes('error') ? 'error' : hashTypes[flash];
79
+ const duration = Homeflow.get('notify-duration') || 10000;
79
80
 
80
- notify(message, type, { duration: 10000 });
81
+ notify(message, type, { duration: duration });
81
82
  }
82
83
 
83
84
  ReactDOM.render(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "homeflowjs",
3
- "version": "1.1.6",
3
+ "version": "1.1.7",
4
4
  "sideEffects": [
5
5
  "modal/**/*",
6
6
  "user/default-profile/**/*",