@tmsfe/tmskit 0.0.63 → 0.0.64

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
@@ -1968,6 +1968,7 @@ const getDevSourceMap = async (params = {}) => {
1968
1968
  sourceMapSavePath,
1969
1969
  sleep
1970
1970
  } = params;
1971
+ console.log('getDevSourceMap params: ', JSON.stringify(params));
1971
1972
  const project = await getMpCi({
1972
1973
  appId,
1973
1974
  projectPath,
@@ -1977,7 +1978,9 @@ const getDevSourceMap = async (params = {}) => {
1977
1978
  project,
1978
1979
  robot,
1979
1980
  sourceMapSavePath,
1980
- sleep
1981
+ ...(!!sleep ? {
1982
+ sleep: Number(sleep)
1983
+ } : {})
1981
1984
  });
1982
1985
  };
1983
1986
  var mpCi$3 = {
@@ -4109,7 +4112,7 @@ function otherCommands(tmsConfig, commandName, cmdOptions) {
4109
4112
  });
4110
4113
  return;
4111
4114
  case 'sourcemap':
4112
- sourcemap(tmsConfig);
4115
+ sourcemap(tmsConfig, cmdOptions);
4113
4116
  report$1('run:sourcemap', {
4114
4117
  appName: tmsConfig.appName
4115
4118
  });
@@ -4203,7 +4206,7 @@ var entry = [{
4203
4206
 
4204
4207
  var require$$12 = {
4205
4208
  name: "@tmsfe/tmskit",
4206
- version: "0.0.63",
4209
+ version: "0.0.64",
4207
4210
  description: "tmskit",
4208
4211
  main: "dist/index.cjs",
4209
4212
  bin: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmsfe/tmskit",
3
- "version": "0.0.63",
3
+ "version": "0.0.64",
4
4
  "description": "tmskit",
5
5
  "main": "dist/index.cjs",
6
6
  "bin": {
package/src/core/mpCi.js CHANGED
@@ -118,6 +118,7 @@ const uploadMp = async (params = {}) => {
118
118
 
119
119
  const getDevSourceMap = async (params = {}) => {
120
120
  const { appId, projectPath, privateKey, robot, sourceMapSavePath, sleep } = params;
121
+ console.log('getDevSourceMap params: ', JSON.stringify(params));
121
122
  const project = await getMpCi({
122
123
  appId,
123
124
  projectPath,
@@ -127,7 +128,7 @@ const getDevSourceMap = async (params = {}) => {
127
128
  project,
128
129
  robot,
129
130
  sourceMapSavePath,
130
- sleep,
131
+ ...(!!sleep ? { sleep: Number(sleep) } : {}),
131
132
  });
132
133
  };
133
134
  module.exports = {
@@ -124,7 +124,7 @@ function otherCommands(tmsConfig, commandName, cmdOptions) {
124
124
  report('run:upload', { appName: tmsConfig.appName });
125
125
  return;
126
126
  case 'sourcemap':
127
- sourcemap(tmsConfig);
127
+ sourcemap(tmsConfig, cmdOptions);
128
128
  report('run:sourcemap', { appName: tmsConfig.appName });
129
129
  return;
130
130
  default: