w-web-api 1.0.12 → 1.0.13

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/docs/WWebApi.html CHANGED
@@ -604,7 +604,7 @@
604
604
  <br class="clear">
605
605
 
606
606
  <footer>
607
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a> on Sun Apr 17 2022 12:09:30 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
607
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a> on Sun Apr 17 2022 12:12:10 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
608
608
  </footer>
609
609
 
610
610
  <script>prettyPrint();</script>
@@ -215,16 +215,13 @@ async function WWebApi(WOrm, url, db, opt = {}) {
215
215
 
216
216
  //apis
217
217
  each(apis, (api, kapi) => {
218
- console.log(kapi, api.name)
218
+ // console.log(kapi, api.name)
219
219
  each(api, (v, k) => {
220
- console.log(k, v)
220
+ // console.log(k, v)
221
221
  if (isestr(v)) {
222
- console.log('b1')
223
222
  if (strleft(v, 7) === 'base64:') {
224
- console.log('b2')
225
223
  v = strdelleft(v, 7)
226
224
  v = b642str(v)
227
- console.log('bbb inv base64', v)
228
225
  apis[kapi][k] = v
229
226
  }
230
227
  }
@@ -406,7 +403,7 @@ export default WWebApi
406
403
  <br class="clear">
407
404
 
408
405
  <footer>
409
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a> on Sun Apr 17 2022 12:09:30 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
406
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a> on Sun Apr 17 2022 12:12:10 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
410
407
  </footer>
411
408
 
412
409
  <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 Sun Apr 17 2022 12:09:30 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 Sun Apr 17 2022 12:12:10 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/g.getSettings.mjs CHANGED
@@ -7,7 +7,7 @@ function getSettings() {
7
7
  return {
8
8
  'dbUsername': 'username',
9
9
  'dbPassword': 'password',
10
- 'dbName': 'rddmanager_api', //wapis
10
+ 'dbName': 'wapis',
11
11
  'dbIP': 'localhost',
12
12
  'dbPort': 27017,
13
13
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "w-web-api",
3
- "version": "1.0.12",
3
+ "version": "1.0.13",
4
4
  "main": "dist/w-web-api.umd.js",
5
5
  "dependencies": {
6
6
  "@mdi/js": "^6.6.96",
@@ -171,16 +171,13 @@ async function WWebApi(WOrm, url, db, opt = {}) {
171
171
 
172
172
  //apis
173
173
  each(apis, (api, kapi) => {
174
- console.log(kapi, api.name)
174
+ // console.log(kapi, api.name)
175
175
  each(api, (v, k) => {
176
- console.log(k, v)
176
+ // console.log(k, v)
177
177
  if (isestr(v)) {
178
- console.log('b1')
179
178
  if (strleft(v, 7) === 'base64:') {
180
- console.log('b2')
181
179
  v = strdelleft(v, 7)
182
180
  v = b642str(v)
183
- console.log('bbb inv base64', v)
184
181
  apis[kapi][k] = v
185
182
  }
186
183
  }