@tmsfe/tms-core 0.0.68 → 0.0.69

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/test/test.js +4 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmsfe/tms-core",
3
- "version": "0.0.68",
3
+ "version": "0.0.69",
4
4
  "description": "tms运行时框架",
5
5
  "repository": {
6
6
  "type": "git",
package/test/test.js CHANGED
@@ -1,7 +1,7 @@
1
1
  const fs = require('fs');
2
2
  const path = require('path');
3
3
  const readline = require('readline');
4
- const { md5 } = require('../src/md5');
4
+ // const { md5 } = require('../src/md5');
5
5
  const openSourceMd5 = require('md5');
6
6
 
7
7
  const scriptStartDir = process.cwd();
@@ -25,7 +25,7 @@ const readLineByLine = (filePath, onReadLine, startLine, endLine) => { // eslint
25
25
  let line = 0;
26
26
  rl.on('line', (data) => {
27
27
  line += 1;
28
- if (line >= endLine) return rl.close();
28
+ if (line > endLine) return rl.close();
29
29
  if (line < startLine) return;
30
30
  onReadLine(data);
31
31
  });
@@ -64,10 +64,10 @@ const seriesParam = (param) => {
64
64
 
65
65
  const sign = (param = {}) => {
66
66
  const data = Object.assign({}, param);
67
- // delete data.token;
68
67
  delete data.sign;
69
68
  const str = seriesParam(data);
70
- return { sign: md5(str), openSourceSign: openSourceMd5(str), str };
69
+ // return { sign: md5(str), openSourceSign: openSourceMd5(str), str };
70
+ return { sign: '', openSourceSign: openSourceMd5(str), str };
71
71
  };
72
72
 
73
73
  (async () => {