w-email 1.0.26 → 1.0.28

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/README.md CHANGED
@@ -20,7 +20,7 @@ npm i w-email
20
20
  #### Example:
21
21
  > **Link:** [[dev source code](https://github.com/yuda-lyu/w-email/blob/master/g.mjs)]
22
22
  ```alias
23
- import WEmail from 'w-eamil'
23
+ import WEmail from 'w-email'
24
24
 
25
25
  //opt
26
26
  let opt = {
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * w-email v1.0.26
2
+ * w-email v1.0.28
3
3
  * (c) 2018-2021 yuda-lyu(semisphere)
4
4
  * Released under the MIT License.
5
5
  */
@@ -67,7 +67,7 @@ import isEmail from 'wsemi/src/isEmail.mjs'
67
67
  * @param {Object|Array} [opt.emAttachments=[]] 輸入附件物件或陣列,預設[],物件內需包含filename與path
68
68
  * @returns {Promise} 回傳Promise,resolve回傳成功訊息,reject回傳錯誤訊息
69
69
  * @example
70
- * import WEmail from 'w-eamil'
70
+ * import WEmail from 'w-email'
71
71
  *
72
72
  * //opt
73
73
  * let opt = {
@@ -211,7 +211,7 @@ export default WEmail
211
211
  <br class="clear">
212
212
 
213
213
  <footer>
214
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a> on Sat Aug 27 2022 14:25:28 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
214
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a> on Thu Jan 19 2023 12:19:03 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
215
215
  </footer>
216
216
 
217
217
  <script>prettyPrint();</script>
package/docs/global.html CHANGED
@@ -189,7 +189,7 @@
189
189
 
190
190
  <h5>Example</h5>
191
191
 
192
- <pre class="prettyprint"><code>import WEmail from 'w-eamil'
193
192
  srcName: 'test name',
194
193
  srcEmail: 'your email',
195
194
  srcPW: 'your password',
196
195
  emTitle: 'test title',
197
196
  emContent: '&lt;h4>test head&lt;/h4>'+'&lt;div>test content&lt;/div>',
198
197
  toEmails: 'to email',
199
198
  //toEmailsCC: 'to email',
200
199
  //toEmailsBCC: 'to email',
201
200
  emAttachments: {
202
201
  filename: 'your filename',
203
202
  path: 'your filepath'
204
203
  }
205
204
  .then((msg)=>{
206
205
  console.log('then',msg)
207
206
  })
208
207
  .catch((err)=>{
209
208
  console.log('catch',err)
210
209
  })</code></pre>
210
+ <pre class="prettyprint"><code>import WEmail from 'w-email'
211
211
  srcName: 'test name',
212
212
  srcEmail: 'your email',
213
213
  srcPW: 'your password',
214
214
  emTitle: 'test title',
215
215
  emContent: '&lt;h4>test head&lt;/h4>'+'&lt;div>test content&lt;/div>',
216
216
  toEmails: 'to email',
217
217
  //toEmailsCC: 'to email',
218
218
  //toEmailsBCC: 'to email',
219
219
  emAttachments: {
220
220
  filename: 'your filename',
221
221
  path: 'your filepath'
222
222
  }
223
223
  .then((msg)=>{
224
224
  console.log('then',msg)
225
225
  })
226
226
  .catch((err)=>{
227
227
  console.log('catch',err)
228
228
  })</code></pre>
229
229
 
230
230
 
231
231
 
@@ -785,7 +785,7 @@
785
785
  <br class="clear">
786
786
 
787
787
  <footer>
788
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a> on Sat Aug 27 2022 14:25:28 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
788
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a> on Thu Jan 19 2023 12:19:03 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
789
789
  </footer>
790
790
 
791
791
  <script>prettyPrint();</script>
package/docs/index.html CHANGED
@@ -68,7 +68,7 @@
68
68
  <br class="clear">
69
69
 
70
70
  <footer>
71
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a> on Sat Aug 27 2022 14:25:28 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
71
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a> on Thu Jan 19 2023 12:19:03 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
72
72
  </footer>
73
73
 
74
74
  <script>prettyPrint();</script>
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "w-email",
3
- "version": "1.0.26",
3
+ "version": "1.0.28",
4
4
  "main": "dist/w-email.umd.js",
5
5
  "dependencies": {
6
- "nodemailer": "^6.7.8",
6
+ "nodemailer": "^6.9.0",
7
7
  "lodash": "^4.17.21",
8
- "wsemi": "^1.6.78"
8
+ "wsemi": "^1.6.87"
9
9
  },
10
10
  "devDependencies": {
11
11
  "w-package-tools": "^1.0.66"
package/src/WEmail.mjs CHANGED
@@ -23,7 +23,7 @@ import isEmail from 'wsemi/src/isEmail.mjs'
23
23
  * @param {Object|Array} [opt.emAttachments=[]] 輸入附件物件或陣列,預設[],物件內需包含filename與path
24
24
  * @returns {Promise} 回傳Promise,resolve回傳成功訊息,reject回傳錯誤訊息
25
25
  * @example
26
- * import WEmail from 'w-eamil'
26
+ * import WEmail from 'w-email'
27
27
  *
28
28
  * //opt
29
29
  * let opt = {