@tmsfe/tmskit 0.0.62 → 0.0.63

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/dist/index.cjs.js CHANGED
@@ -1956,9 +1956,7 @@ const uploadMp = async (params = {}) => {
1956
1956
  return await ci.upload({
1957
1957
  project: mpCi,
1958
1958
  ...resetParams,
1959
- onProgressUpdate: task => {
1960
- console.log('ci upload: ', JSON.stringify(task));
1961
- }
1959
+ onProgressUpdate: () => {}
1962
1960
  });
1963
1961
  };
1964
1962
  const getDevSourceMap = async (params = {}) => {
@@ -1967,7 +1965,8 @@ const getDevSourceMap = async (params = {}) => {
1967
1965
  projectPath,
1968
1966
  privateKey,
1969
1967
  robot,
1970
- sourceMapSavePath
1968
+ sourceMapSavePath,
1969
+ sleep
1971
1970
  } = params;
1972
1971
  const project = await getMpCi({
1973
1972
  appId,
@@ -1977,7 +1976,8 @@ const getDevSourceMap = async (params = {}) => {
1977
1976
  return await ci.getDevSourceMap({
1978
1977
  project,
1979
1978
  robot,
1980
- sourceMapSavePath
1979
+ sourceMapSavePath,
1980
+ sleep
1981
1981
  });
1982
1982
  };
1983
1983
  var mpCi$3 = {
@@ -4203,7 +4203,7 @@ var entry = [{
4203
4203
 
4204
4204
  var require$$12 = {
4205
4205
  name: "@tmsfe/tmskit",
4206
- version: "0.0.62",
4206
+ version: "0.0.63",
4207
4207
  description: "tmskit",
4208
4208
  main: "dist/index.cjs",
4209
4209
  bin: {
@@ -4262,7 +4262,7 @@ var require$$12 = {
4262
4262
  lodash: "^4.17.21",
4263
4263
  metalsmith: "^2.3.0",
4264
4264
  minimatch: "^5.1.0",
4265
- "miniprogram-ci": "1.8.25",
4265
+ "miniprogram-ci": "2.1.40",
4266
4266
  moment: "^2.29.2",
4267
4267
  "object-assign": "^4.0.1",
4268
4268
  ora: "^5.4.1",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmsfe/tmskit",
3
- "version": "0.0.62",
3
+ "version": "0.0.63",
4
4
  "description": "tmskit",
5
5
  "main": "dist/index.cjs",
6
6
  "bin": {
@@ -59,7 +59,7 @@
59
59
  "lodash": "^4.17.21",
60
60
  "metalsmith": "^2.3.0",
61
61
  "minimatch": "^5.1.0",
62
- "miniprogram-ci": "1.8.25",
62
+ "miniprogram-ci": "2.1.40",
63
63
  "moment": "^2.29.2",
64
64
  "object-assign": "^4.0.1",
65
65
  "ora": "^5.4.1",
package/src/core/mpCi.js CHANGED
@@ -112,14 +112,12 @@ const uploadMp = async (params = {}) => {
112
112
  return await ci.upload({
113
113
  project: mpCi,
114
114
  ...resetParams,
115
- onProgressUpdate: (task) => {
116
- console.log('ci upload: ', JSON.stringify(task));
117
- },
115
+ onProgressUpdate: () => {},
118
116
  });
119
117
  };
120
118
 
121
119
  const getDevSourceMap = async (params = {}) => {
122
- const { appId, projectPath, privateKey, robot, sourceMapSavePath } = params;
120
+ const { appId, projectPath, privateKey, robot, sourceMapSavePath, sleep } = params;
123
121
  const project = await getMpCi({
124
122
  appId,
125
123
  projectPath,
@@ -129,6 +127,7 @@ const getDevSourceMap = async (params = {}) => {
129
127
  project,
130
128
  robot,
131
129
  sourceMapSavePath,
130
+ sleep,
132
131
  });
133
132
  };
134
133
  module.exports = {