@devkong/cli 0.0.39 → 0.0.41

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.
@@ -23,4 +23,6 @@ cd %EXTENSION_DIR%
23
23
 
24
24
  call .venv\Scripts\activate.bat
25
25
 
26
- %PIP_CMD% install -r requirements.txt -r requirements-dev.txt
26
+ %PIP_CMD% freeze > requirements-lock.txt
27
+ %PIP_CMD% install --default-timeout=120 -r requirements.txt -r requirements-dev.txt
28
+ %PIP_CMD% freeze > requirements-lock.txt
@@ -20,4 +20,6 @@ $PYTHON_CMD -m venv .venv
20
20
 
21
21
  source .venv/bin/activate
22
22
 
23
- $PIP_CMD install -r requirements-dev.txt -r requirements.txt
23
+ $PIP_CMD freeze > requirements-lock.txt
24
+ $PIP_CMD install --default-timeout=120 -r requirements-dev.txt -r requirements.txt
25
+ $PIP_CMD freeze > requirements-lock.txt
package/index.js CHANGED
@@ -3928,256 +3928,504 @@ var require_main2 = __commonJS({
3928
3928
  }
3929
3929
  });
3930
3930
 
3931
- // packages/kong-cli/node_modules/@napi-rs/keyring/index.js
3931
+ // node_modules/@napi-rs/keyring/index.js
3932
3932
  var require_keyring = __commonJS({
3933
- "packages/kong-cli/node_modules/@napi-rs/keyring/index.js"(exports2, module2) {
3934
- var { existsSync, readFileSync: readFileSync2 } = require("fs");
3935
- var { join } = require("path");
3936
- var { platform: platform3, arch } = process;
3933
+ "node_modules/@napi-rs/keyring/index.js"(exports2, module2) {
3934
+ var { createRequire } = require("node:module");
3935
+ require = createRequire(__filename);
3936
+ var { readFileSync: readFileSync2 } = require("node:fs");
3937
3937
  var nativeBinding = null;
3938
- var localFileExisted = false;
3939
- var loadError = null;
3940
- function isMusl() {
3941
- if (!process.report || typeof process.report.getReport !== "function") {
3942
- try {
3943
- const lddPath = require("child_process").execSync("which ldd").toString().trim();
3944
- return readFileSync2(lddPath, "utf8").includes("musl");
3945
- } catch (e) {
3938
+ var loadErrors = [];
3939
+ var isMusl = () => {
3940
+ let musl = false;
3941
+ if (process.platform === "linux") {
3942
+ musl = isMuslFromFilesystem();
3943
+ if (musl === null) {
3944
+ musl = isMuslFromReport();
3945
+ }
3946
+ if (musl === null) {
3947
+ musl = isMuslFromChildProcess();
3948
+ }
3949
+ }
3950
+ return musl;
3951
+ };
3952
+ var isFileMusl = (f) => f.includes("libc.musl-") || f.includes("ld-musl-");
3953
+ var isMuslFromFilesystem = () => {
3954
+ try {
3955
+ return readFileSync2("/usr/bin/ldd", "utf-8").includes("musl");
3956
+ } catch {
3957
+ return null;
3958
+ }
3959
+ };
3960
+ var isMuslFromReport = () => {
3961
+ let report = null;
3962
+ if (typeof process.report?.getReport === "function") {
3963
+ process.report.excludeNetwork = true;
3964
+ report = process.report.getReport();
3965
+ }
3966
+ if (!report) {
3967
+ return null;
3968
+ }
3969
+ if (report.header && report.header.glibcVersionRuntime) {
3970
+ return false;
3971
+ }
3972
+ if (Array.isArray(report.sharedObjects)) {
3973
+ if (report.sharedObjects.some(isFileMusl)) {
3946
3974
  return true;
3947
3975
  }
3948
- } else {
3949
- const { glibcVersionRuntime } = process.report.getReport().header;
3950
- return !glibcVersionRuntime;
3951
3976
  }
3952
- }
3953
- switch (platform3) {
3954
- case "android":
3955
- switch (arch) {
3956
- case "arm64":
3957
- localFileExisted = existsSync(join(__dirname, "keyring.android-arm64.node"));
3977
+ return false;
3978
+ };
3979
+ var isMuslFromChildProcess = () => {
3980
+ try {
3981
+ return require("child_process").execSync("ldd --version", { encoding: "utf8" }).includes("musl");
3982
+ } catch (e) {
3983
+ return false;
3984
+ }
3985
+ };
3986
+ function requireNative() {
3987
+ if (process.env.NAPI_RS_NATIVE_LIBRARY_PATH) {
3988
+ try {
3989
+ nativeBinding = require(process.env.NAPI_RS_NATIVE_LIBRARY_PATH);
3990
+ } catch (err) {
3991
+ loadErrors.push(err);
3992
+ }
3993
+ } else if (process.platform === "android") {
3994
+ if (process.arch === "arm64") {
3995
+ try {
3996
+ return require("./keyring.android-arm64.node");
3997
+ } catch (e) {
3998
+ loadErrors.push(e);
3999
+ }
4000
+ try {
4001
+ const binding = require("@napi-rs/keyring-android-arm64");
4002
+ const bindingPackageVersion = require("@napi-rs/keyring-android-arm64/package.json").version;
4003
+ if (bindingPackageVersion !== "1.2.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
4004
+ throw new Error(`Native binding package version mismatch, expected 1.2.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
4005
+ }
4006
+ return binding;
4007
+ } catch (e) {
4008
+ loadErrors.push(e);
4009
+ }
4010
+ } else if (process.arch === "arm") {
4011
+ try {
4012
+ return require("./keyring.android-arm-eabi.node");
4013
+ } catch (e) {
4014
+ loadErrors.push(e);
4015
+ }
4016
+ try {
4017
+ const binding = require("@napi-rs/keyring-android-arm-eabi");
4018
+ const bindingPackageVersion = require("@napi-rs/keyring-android-arm-eabi/package.json").version;
4019
+ if (bindingPackageVersion !== "1.2.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
4020
+ throw new Error(`Native binding package version mismatch, expected 1.2.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
4021
+ }
4022
+ return binding;
4023
+ } catch (e) {
4024
+ loadErrors.push(e);
4025
+ }
4026
+ } else {
4027
+ loadErrors.push(new Error(`Unsupported architecture on Android ${process.arch}`));
4028
+ }
4029
+ } else if (process.platform === "win32") {
4030
+ if (process.arch === "x64") {
4031
+ try {
4032
+ return require("./keyring.win32-x64-msvc.node");
4033
+ } catch (e) {
4034
+ loadErrors.push(e);
4035
+ }
4036
+ try {
4037
+ const binding = require("@napi-rs/keyring-win32-x64-msvc");
4038
+ const bindingPackageVersion = require("@napi-rs/keyring-win32-x64-msvc/package.json").version;
4039
+ if (bindingPackageVersion !== "1.2.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
4040
+ throw new Error(`Native binding package version mismatch, expected 1.2.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
4041
+ }
4042
+ return binding;
4043
+ } catch (e) {
4044
+ loadErrors.push(e);
4045
+ }
4046
+ } else if (process.arch === "ia32") {
4047
+ try {
4048
+ return require("./keyring.win32-ia32-msvc.node");
4049
+ } catch (e) {
4050
+ loadErrors.push(e);
4051
+ }
4052
+ try {
4053
+ const binding = require("@napi-rs/keyring-win32-ia32-msvc");
4054
+ const bindingPackageVersion = require("@napi-rs/keyring-win32-ia32-msvc/package.json").version;
4055
+ if (bindingPackageVersion !== "1.2.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
4056
+ throw new Error(`Native binding package version mismatch, expected 1.2.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
4057
+ }
4058
+ return binding;
4059
+ } catch (e) {
4060
+ loadErrors.push(e);
4061
+ }
4062
+ } else if (process.arch === "arm64") {
4063
+ try {
4064
+ return require("./keyring.win32-arm64-msvc.node");
4065
+ } catch (e) {
4066
+ loadErrors.push(e);
4067
+ }
4068
+ try {
4069
+ const binding = require("@napi-rs/keyring-win32-arm64-msvc");
4070
+ const bindingPackageVersion = require("@napi-rs/keyring-win32-arm64-msvc/package.json").version;
4071
+ if (bindingPackageVersion !== "1.2.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
4072
+ throw new Error(`Native binding package version mismatch, expected 1.2.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
4073
+ }
4074
+ return binding;
4075
+ } catch (e) {
4076
+ loadErrors.push(e);
4077
+ }
4078
+ } else {
4079
+ loadErrors.push(new Error(`Unsupported architecture on Windows: ${process.arch}`));
4080
+ }
4081
+ } else if (process.platform === "darwin") {
4082
+ try {
4083
+ return require("./keyring.darwin-universal.node");
4084
+ } catch (e) {
4085
+ loadErrors.push(e);
4086
+ }
4087
+ try {
4088
+ const binding = require("@napi-rs/keyring-darwin-universal");
4089
+ const bindingPackageVersion = require("@napi-rs/keyring-darwin-universal/package.json").version;
4090
+ if (bindingPackageVersion !== "1.2.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
4091
+ throw new Error(`Native binding package version mismatch, expected 1.2.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
4092
+ }
4093
+ return binding;
4094
+ } catch (e) {
4095
+ loadErrors.push(e);
4096
+ }
4097
+ if (process.arch === "x64") {
4098
+ try {
4099
+ return require("./keyring.darwin-x64.node");
4100
+ } catch (e) {
4101
+ loadErrors.push(e);
4102
+ }
4103
+ try {
4104
+ const binding = require("@napi-rs/keyring-darwin-x64");
4105
+ const bindingPackageVersion = require("@napi-rs/keyring-darwin-x64/package.json").version;
4106
+ if (bindingPackageVersion !== "1.2.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
4107
+ throw new Error(`Native binding package version mismatch, expected 1.2.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
4108
+ }
4109
+ return binding;
4110
+ } catch (e) {
4111
+ loadErrors.push(e);
4112
+ }
4113
+ } else if (process.arch === "arm64") {
4114
+ try {
4115
+ return require("./keyring.darwin-arm64.node");
4116
+ } catch (e) {
4117
+ loadErrors.push(e);
4118
+ }
4119
+ try {
4120
+ const binding = require("@napi-rs/keyring-darwin-arm64");
4121
+ const bindingPackageVersion = require("@napi-rs/keyring-darwin-arm64/package.json").version;
4122
+ if (bindingPackageVersion !== "1.2.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
4123
+ throw new Error(`Native binding package version mismatch, expected 1.2.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
4124
+ }
4125
+ return binding;
4126
+ } catch (e) {
4127
+ loadErrors.push(e);
4128
+ }
4129
+ } else {
4130
+ loadErrors.push(new Error(`Unsupported architecture on macOS: ${process.arch}`));
4131
+ }
4132
+ } else if (process.platform === "freebsd") {
4133
+ if (process.arch === "x64") {
4134
+ try {
4135
+ return require("./keyring.freebsd-x64.node");
4136
+ } catch (e) {
4137
+ loadErrors.push(e);
4138
+ }
4139
+ try {
4140
+ const binding = require("@napi-rs/keyring-freebsd-x64");
4141
+ const bindingPackageVersion = require("@napi-rs/keyring-freebsd-x64/package.json").version;
4142
+ if (bindingPackageVersion !== "1.2.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
4143
+ throw new Error(`Native binding package version mismatch, expected 1.2.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
4144
+ }
4145
+ return binding;
4146
+ } catch (e) {
4147
+ loadErrors.push(e);
4148
+ }
4149
+ } else if (process.arch === "arm64") {
4150
+ try {
4151
+ return require("./keyring.freebsd-arm64.node");
4152
+ } catch (e) {
4153
+ loadErrors.push(e);
4154
+ }
4155
+ try {
4156
+ const binding = require("@napi-rs/keyring-freebsd-arm64");
4157
+ const bindingPackageVersion = require("@napi-rs/keyring-freebsd-arm64/package.json").version;
4158
+ if (bindingPackageVersion !== "1.2.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
4159
+ throw new Error(`Native binding package version mismatch, expected 1.2.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
4160
+ }
4161
+ return binding;
4162
+ } catch (e) {
4163
+ loadErrors.push(e);
4164
+ }
4165
+ } else {
4166
+ loadErrors.push(new Error(`Unsupported architecture on FreeBSD: ${process.arch}`));
4167
+ }
4168
+ } else if (process.platform === "linux") {
4169
+ if (process.arch === "x64") {
4170
+ if (isMusl()) {
3958
4171
  try {
3959
- if (localFileExisted) {
3960
- nativeBinding = require("./keyring.android-arm64.node");
3961
- } else {
3962
- nativeBinding = require("@napi-rs/keyring-android-arm64");
3963
- }
4172
+ return require("./keyring.linux-x64-musl.node");
3964
4173
  } catch (e) {
3965
- loadError = e;
4174
+ loadErrors.push(e);
3966
4175
  }
3967
- break;
3968
- case "arm":
3969
- localFileExisted = existsSync(join(__dirname, "keyring.android-arm-eabi.node"));
3970
4176
  try {
3971
- if (localFileExisted) {
3972
- nativeBinding = require("./keyring.android-arm-eabi.node");
3973
- } else {
3974
- nativeBinding = require("@napi-rs/keyring-android-arm-eabi");
4177
+ const binding = require("@napi-rs/keyring-linux-x64-musl");
4178
+ const bindingPackageVersion = require("@napi-rs/keyring-linux-x64-musl/package.json").version;
4179
+ if (bindingPackageVersion !== "1.2.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
4180
+ throw new Error(`Native binding package version mismatch, expected 1.2.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
3975
4181
  }
4182
+ return binding;
3976
4183
  } catch (e) {
3977
- loadError = e;
4184
+ loadErrors.push(e);
3978
4185
  }
3979
- break;
3980
- default:
3981
- throw new Error(`Unsupported architecture on Android ${arch}`);
3982
- }
3983
- break;
3984
- case "win32":
3985
- switch (arch) {
3986
- case "x64":
3987
- localFileExisted = existsSync(
3988
- join(__dirname, "keyring.win32-x64-msvc.node")
3989
- );
4186
+ } else {
3990
4187
  try {
3991
- if (localFileExisted) {
3992
- nativeBinding = require("./keyring.win32-x64-msvc.node");
3993
- } else {
3994
- nativeBinding = require("@napi-rs/keyring-win32-x64-msvc");
3995
- }
4188
+ return require("./keyring.linux-x64-gnu.node");
3996
4189
  } catch (e) {
3997
- loadError = e;
4190
+ loadErrors.push(e);
3998
4191
  }
3999
- break;
4000
- case "ia32":
4001
- localFileExisted = existsSync(
4002
- join(__dirname, "keyring.win32-ia32-msvc.node")
4003
- );
4004
4192
  try {
4005
- if (localFileExisted) {
4006
- nativeBinding = require("./keyring.win32-ia32-msvc.node");
4007
- } else {
4008
- nativeBinding = require("@napi-rs/keyring-win32-ia32-msvc");
4193
+ const binding = require("@napi-rs/keyring-linux-x64-gnu");
4194
+ const bindingPackageVersion = require("@napi-rs/keyring-linux-x64-gnu/package.json").version;
4195
+ if (bindingPackageVersion !== "1.2.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
4196
+ throw new Error(`Native binding package version mismatch, expected 1.2.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
4009
4197
  }
4198
+ return binding;
4010
4199
  } catch (e) {
4011
- loadError = e;
4200
+ loadErrors.push(e);
4012
4201
  }
4013
- break;
4014
- case "arm64":
4015
- localFileExisted = existsSync(
4016
- join(__dirname, "keyring.win32-arm64-msvc.node")
4017
- );
4202
+ }
4203
+ } else if (process.arch === "arm64") {
4204
+ if (isMusl()) {
4018
4205
  try {
4019
- if (localFileExisted) {
4020
- nativeBinding = require("./keyring.win32-arm64-msvc.node");
4021
- } else {
4022
- nativeBinding = require("@napi-rs/keyring-win32-arm64-msvc");
4206
+ return require("./keyring.linux-arm64-musl.node");
4207
+ } catch (e) {
4208
+ loadErrors.push(e);
4209
+ }
4210
+ try {
4211
+ const binding = require("@napi-rs/keyring-linux-arm64-musl");
4212
+ const bindingPackageVersion = require("@napi-rs/keyring-linux-arm64-musl/package.json").version;
4213
+ if (bindingPackageVersion !== "1.2.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
4214
+ throw new Error(`Native binding package version mismatch, expected 1.2.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
4023
4215
  }
4216
+ return binding;
4024
4217
  } catch (e) {
4025
- loadError = e;
4218
+ loadErrors.push(e);
4026
4219
  }
4027
- break;
4028
- default:
4029
- throw new Error(`Unsupported architecture on Windows: ${arch}`);
4030
- }
4031
- break;
4032
- case "darwin":
4033
- localFileExisted = existsSync(join(__dirname, "keyring.darwin-universal.node"));
4034
- try {
4035
- if (localFileExisted) {
4036
- nativeBinding = require("./keyring.darwin-universal.node");
4037
4220
  } else {
4038
- nativeBinding = require("@napi-rs/keyring-darwin-universal");
4039
- }
4040
- break;
4041
- } catch {
4042
- }
4043
- switch (arch) {
4044
- case "x64":
4045
- localFileExisted = existsSync(join(__dirname, "keyring.darwin-x64.node"));
4046
4221
  try {
4047
- if (localFileExisted) {
4048
- nativeBinding = require("./keyring.darwin-x64.node");
4049
- } else {
4050
- nativeBinding = require("@napi-rs/keyring-darwin-x64");
4051
- }
4222
+ return require("./keyring.linux-arm64-gnu.node");
4052
4223
  } catch (e) {
4053
- loadError = e;
4224
+ loadErrors.push(e);
4054
4225
  }
4055
- break;
4056
- case "arm64":
4057
- localFileExisted = existsSync(
4058
- join(__dirname, "keyring.darwin-arm64.node")
4059
- );
4060
4226
  try {
4061
- if (localFileExisted) {
4062
- nativeBinding = require("./keyring.darwin-arm64.node");
4063
- } else {
4064
- nativeBinding = require("@napi-rs/keyring-darwin-arm64");
4227
+ const binding = require("@napi-rs/keyring-linux-arm64-gnu");
4228
+ const bindingPackageVersion = require("@napi-rs/keyring-linux-arm64-gnu/package.json").version;
4229
+ if (bindingPackageVersion !== "1.2.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
4230
+ throw new Error(`Native binding package version mismatch, expected 1.2.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
4065
4231
  }
4232
+ return binding;
4066
4233
  } catch (e) {
4067
- loadError = e;
4234
+ loadErrors.push(e);
4068
4235
  }
4069
- break;
4070
- default:
4071
- throw new Error(`Unsupported architecture on macOS: ${arch}`);
4072
- }
4073
- break;
4074
- case "freebsd":
4075
- if (arch !== "x64") {
4076
- throw new Error(`Unsupported architecture on FreeBSD: ${arch}`);
4077
- }
4078
- localFileExisted = existsSync(join(__dirname, "keyring.freebsd-x64.node"));
4079
- try {
4080
- if (localFileExisted) {
4081
- nativeBinding = require("./keyring.freebsd-x64.node");
4082
- } else {
4083
- nativeBinding = require("@napi-rs/keyring-freebsd-x64");
4084
4236
  }
4085
- } catch (e) {
4086
- loadError = e;
4087
- }
4088
- break;
4089
- case "linux":
4090
- switch (arch) {
4091
- case "x64":
4092
- if (isMusl()) {
4093
- localFileExisted = existsSync(
4094
- join(__dirname, "keyring.linux-x64-musl.node")
4095
- );
4096
- try {
4097
- if (localFileExisted) {
4098
- nativeBinding = require("./keyring.linux-x64-musl.node");
4099
- } else {
4100
- nativeBinding = require("@napi-rs/keyring-linux-x64-musl");
4101
- }
4102
- } catch (e) {
4103
- loadError = e;
4104
- }
4105
- } else {
4106
- localFileExisted = existsSync(
4107
- join(__dirname, "keyring.linux-x64-gnu.node")
4108
- );
4109
- try {
4110
- if (localFileExisted) {
4111
- nativeBinding = require("./keyring.linux-x64-gnu.node");
4112
- } else {
4113
- nativeBinding = require("@napi-rs/keyring-linux-x64-gnu");
4114
- }
4115
- } catch (e) {
4116
- loadError = e;
4237
+ } else if (process.arch === "arm") {
4238
+ if (isMusl()) {
4239
+ try {
4240
+ return require("./keyring.linux-arm-musleabihf.node");
4241
+ } catch (e) {
4242
+ loadErrors.push(e);
4243
+ }
4244
+ try {
4245
+ const binding = require("@napi-rs/keyring-linux-arm-musleabihf");
4246
+ const bindingPackageVersion = require("@napi-rs/keyring-linux-arm-musleabihf/package.json").version;
4247
+ if (bindingPackageVersion !== "1.2.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
4248
+ throw new Error(`Native binding package version mismatch, expected 1.2.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
4117
4249
  }
4250
+ return binding;
4251
+ } catch (e) {
4252
+ loadErrors.push(e);
4118
4253
  }
4119
- break;
4120
- case "arm64":
4121
- if (isMusl()) {
4122
- localFileExisted = existsSync(
4123
- join(__dirname, "keyring.linux-arm64-musl.node")
4124
- );
4125
- try {
4126
- if (localFileExisted) {
4127
- nativeBinding = require("./keyring.linux-arm64-musl.node");
4128
- } else {
4129
- nativeBinding = require("@napi-rs/keyring-linux-arm64-musl");
4130
- }
4131
- } catch (e) {
4132
- loadError = e;
4254
+ } else {
4255
+ try {
4256
+ return require("./keyring.linux-arm-gnueabihf.node");
4257
+ } catch (e) {
4258
+ loadErrors.push(e);
4259
+ }
4260
+ try {
4261
+ const binding = require("@napi-rs/keyring-linux-arm-gnueabihf");
4262
+ const bindingPackageVersion = require("@napi-rs/keyring-linux-arm-gnueabihf/package.json").version;
4263
+ if (bindingPackageVersion !== "1.2.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
4264
+ throw new Error(`Native binding package version mismatch, expected 1.2.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
4133
4265
  }
4134
- } else {
4135
- localFileExisted = existsSync(
4136
- join(__dirname, "keyring.linux-arm64-gnu.node")
4137
- );
4138
- try {
4139
- if (localFileExisted) {
4140
- nativeBinding = require("./keyring.linux-arm64-gnu.node");
4141
- } else {
4142
- nativeBinding = require("@napi-rs/keyring-linux-arm64-gnu");
4143
- }
4144
- } catch (e) {
4145
- loadError = e;
4266
+ return binding;
4267
+ } catch (e) {
4268
+ loadErrors.push(e);
4269
+ }
4270
+ }
4271
+ } else if (process.arch === "riscv64") {
4272
+ if (isMusl()) {
4273
+ try {
4274
+ return require("./keyring.linux-riscv64-musl.node");
4275
+ } catch (e) {
4276
+ loadErrors.push(e);
4277
+ }
4278
+ try {
4279
+ const binding = require("@napi-rs/keyring-linux-riscv64-musl");
4280
+ const bindingPackageVersion = require("@napi-rs/keyring-linux-riscv64-musl/package.json").version;
4281
+ if (bindingPackageVersion !== "1.2.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
4282
+ throw new Error(`Native binding package version mismatch, expected 1.2.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
4146
4283
  }
4284
+ return binding;
4285
+ } catch (e) {
4286
+ loadErrors.push(e);
4147
4287
  }
4148
- break;
4149
- case "arm":
4150
- localFileExisted = existsSync(
4151
- join(__dirname, "keyring.linux-arm-gnueabihf.node")
4152
- );
4288
+ } else {
4153
4289
  try {
4154
- if (localFileExisted) {
4155
- nativeBinding = require("./keyring.linux-arm-gnueabihf.node");
4156
- } else {
4157
- nativeBinding = require("@napi-rs/keyring-linux-arm-gnueabihf");
4290
+ return require("./keyring.linux-riscv64-gnu.node");
4291
+ } catch (e) {
4292
+ loadErrors.push(e);
4293
+ }
4294
+ try {
4295
+ const binding = require("@napi-rs/keyring-linux-riscv64-gnu");
4296
+ const bindingPackageVersion = require("@napi-rs/keyring-linux-riscv64-gnu/package.json").version;
4297
+ if (bindingPackageVersion !== "1.2.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
4298
+ throw new Error(`Native binding package version mismatch, expected 1.2.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
4158
4299
  }
4300
+ return binding;
4159
4301
  } catch (e) {
4160
- loadError = e;
4302
+ loadErrors.push(e);
4161
4303
  }
4162
- break;
4163
- default:
4164
- throw new Error(`Unsupported architecture on Linux: ${arch}`);
4304
+ }
4305
+ } else if (process.arch === "ppc64") {
4306
+ try {
4307
+ return require("./keyring.linux-ppc64-gnu.node");
4308
+ } catch (e) {
4309
+ loadErrors.push(e);
4310
+ }
4311
+ try {
4312
+ const binding = require("@napi-rs/keyring-linux-ppc64-gnu");
4313
+ const bindingPackageVersion = require("@napi-rs/keyring-linux-ppc64-gnu/package.json").version;
4314
+ if (bindingPackageVersion !== "1.2.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
4315
+ throw new Error(`Native binding package version mismatch, expected 1.2.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
4316
+ }
4317
+ return binding;
4318
+ } catch (e) {
4319
+ loadErrors.push(e);
4320
+ }
4321
+ } else if (process.arch === "s390x") {
4322
+ try {
4323
+ return require("./keyring.linux-s390x-gnu.node");
4324
+ } catch (e) {
4325
+ loadErrors.push(e);
4326
+ }
4327
+ try {
4328
+ const binding = require("@napi-rs/keyring-linux-s390x-gnu");
4329
+ const bindingPackageVersion = require("@napi-rs/keyring-linux-s390x-gnu/package.json").version;
4330
+ if (bindingPackageVersion !== "1.2.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
4331
+ throw new Error(`Native binding package version mismatch, expected 1.2.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
4332
+ }
4333
+ return binding;
4334
+ } catch (e) {
4335
+ loadErrors.push(e);
4336
+ }
4337
+ } else {
4338
+ loadErrors.push(new Error(`Unsupported architecture on Linux: ${process.arch}`));
4165
4339
  }
4166
- break;
4167
- default:
4168
- throw new Error(`Unsupported OS: ${platform3}, architecture: ${arch}`);
4340
+ } else if (process.platform === "openharmony") {
4341
+ if (process.arch === "arm64") {
4342
+ try {
4343
+ return require("./keyring.openharmony-arm64.node");
4344
+ } catch (e) {
4345
+ loadErrors.push(e);
4346
+ }
4347
+ try {
4348
+ const binding = require("@napi-rs/keyring-openharmony-arm64");
4349
+ const bindingPackageVersion = require("@napi-rs/keyring-openharmony-arm64/package.json").version;
4350
+ if (bindingPackageVersion !== "1.2.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
4351
+ throw new Error(`Native binding package version mismatch, expected 1.2.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
4352
+ }
4353
+ return binding;
4354
+ } catch (e) {
4355
+ loadErrors.push(e);
4356
+ }
4357
+ } else if (process.arch === "x64") {
4358
+ try {
4359
+ return require("./keyring.openharmony-x64.node");
4360
+ } catch (e) {
4361
+ loadErrors.push(e);
4362
+ }
4363
+ try {
4364
+ const binding = require("@napi-rs/keyring-openharmony-x64");
4365
+ const bindingPackageVersion = require("@napi-rs/keyring-openharmony-x64/package.json").version;
4366
+ if (bindingPackageVersion !== "1.2.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
4367
+ throw new Error(`Native binding package version mismatch, expected 1.2.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
4368
+ }
4369
+ return binding;
4370
+ } catch (e) {
4371
+ loadErrors.push(e);
4372
+ }
4373
+ } else if (process.arch === "arm") {
4374
+ try {
4375
+ return require("./keyring.openharmony-arm.node");
4376
+ } catch (e) {
4377
+ loadErrors.push(e);
4378
+ }
4379
+ try {
4380
+ const binding = require("@napi-rs/keyring-openharmony-arm");
4381
+ const bindingPackageVersion = require("@napi-rs/keyring-openharmony-arm/package.json").version;
4382
+ if (bindingPackageVersion !== "1.2.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
4383
+ throw new Error(`Native binding package version mismatch, expected 1.2.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
4384
+ }
4385
+ return binding;
4386
+ } catch (e) {
4387
+ loadErrors.push(e);
4388
+ }
4389
+ } else {
4390
+ loadErrors.push(new Error(`Unsupported architecture on OpenHarmony: ${process.arch}`));
4391
+ }
4392
+ } else {
4393
+ loadErrors.push(new Error(`Unsupported OS: ${process.platform}, architecture: ${process.arch}`));
4394
+ }
4395
+ }
4396
+ nativeBinding = requireNative();
4397
+ if (!nativeBinding || process.env.NAPI_RS_FORCE_WASI) {
4398
+ try {
4399
+ nativeBinding = require("./keyring.wasi.cjs");
4400
+ } catch (err) {
4401
+ if (process.env.NAPI_RS_FORCE_WASI) {
4402
+ loadErrors.push(err);
4403
+ }
4404
+ }
4405
+ if (!nativeBinding) {
4406
+ try {
4407
+ nativeBinding = require("@napi-rs/keyring-wasm32-wasi");
4408
+ } catch (err) {
4409
+ if (process.env.NAPI_RS_FORCE_WASI) {
4410
+ loadErrors.push(err);
4411
+ }
4412
+ }
4413
+ }
4169
4414
  }
4170
4415
  if (!nativeBinding) {
4171
- if (loadError) {
4172
- throw loadError;
4416
+ if (loadErrors.length > 0) {
4417
+ throw new Error(
4418
+ `Cannot find native binding. npm has a bug related to optional dependencies (https://github.com/npm/cli/issues/4828). Please try \`npm i\` again after removing both package-lock.json and node_modules directory.`,
4419
+ { cause: loadErrors }
4420
+ );
4173
4421
  }
4174
4422
  throw new Error(`Failed to load native binding`);
4175
4423
  }
4176
- var { AsyncEntry, Entry: Entry3, findCredentials, findCredentialsAsync } = nativeBinding;
4177
- module2.exports.AsyncEntry = AsyncEntry;
4178
- module2.exports.Entry = Entry3;
4179
- module2.exports.findCredentials = findCredentials;
4180
- module2.exports.findCredentialsAsync = findCredentialsAsync;
4424
+ module2.exports = nativeBinding;
4425
+ module2.exports.AsyncEntry = nativeBinding.AsyncEntry;
4426
+ module2.exports.Entry = nativeBinding.Entry;
4427
+ module2.exports.findCredentials = nativeBinding.findCredentials;
4428
+ module2.exports.findCredentialsAsync = nativeBinding.findCredentialsAsync;
4181
4429
  }
4182
4430
  });
4183
4431
 
@@ -58633,28 +58881,6 @@ var require__ = __commonJS({
58633
58881
  }
58634
58882
  });
58635
58883
 
58636
- // node_modules/commander/esm.mjs
58637
- var import_index = __toESM(require_commander(), 1);
58638
- var {
58639
- program,
58640
- createCommand,
58641
- createArgument,
58642
- createOption,
58643
- CommanderError,
58644
- InvalidArgumentError,
58645
- InvalidOptionArgumentError,
58646
- // deprecated old name
58647
- Command,
58648
- Argument,
58649
- Option,
58650
- Help
58651
- } = import_index.default;
58652
-
58653
- // packages/kong-cli/src/index.ts
58654
- var import_dotenv = __toESM(require_main());
58655
- var import_dotenv_expand = __toESM(require_main2());
58656
- var import_path5 = __toESM(require("path"));
58657
-
58658
58884
  // packages/kong-ts/src/lib/text.ts
58659
58885
  function trimSlashes(text) {
58660
58886
  return text.replace(/^\/+|\/+$/g, "");
@@ -72302,6 +72528,28 @@ function joinUrlAndPath(baseUrl, ...pathSegments) {
72302
72528
  return urlText([trimmedBaseUrl, ...trimmedPathSegments].join("/"));
72303
72529
  }
72304
72530
 
72531
+ // node_modules/commander/esm.mjs
72532
+ var import_index = __toESM(require_commander(), 1);
72533
+ var {
72534
+ program,
72535
+ createCommand,
72536
+ createArgument,
72537
+ createOption,
72538
+ CommanderError,
72539
+ InvalidArgumentError,
72540
+ InvalidOptionArgumentError,
72541
+ // deprecated old name
72542
+ Command,
72543
+ Argument,
72544
+ Option,
72545
+ Help
72546
+ } = import_index.default;
72547
+
72548
+ // packages/kong-cli/src/index.ts
72549
+ var import_dotenv = __toESM(require_main());
72550
+ var import_dotenv_expand = __toESM(require_main2());
72551
+ var import_path5 = __toESM(require("path"));
72552
+
72305
72553
  // packages/kong-cli/src/commands/configureCommand.ts
72306
72554
  var import_keyring = __toESM(require_keyring());
72307
72555
 
@@ -81939,8 +82187,8 @@ var RegistryClient = class {
81939
82187
  this.headerProvider = headerProvider2;
81940
82188
  this.baseUrl = joinUrlAndPath(baseUrl, "/api/registry");
81941
82189
  }
81942
- async getPublishDetails(repoName) {
81943
- const url2 = joinUrlAndPath(this.baseUrl, "v1/repository", repoName, "publish/details");
82190
+ async getPublishDetails(appName) {
82191
+ const url2 = joinUrlAndPath(this.baseUrl, "v1/repository", appName, "publish/details");
81944
82192
  return (await axios_default.post(url2, {}, await this.headerProvider())).data;
81945
82193
  }
81946
82194
  };
@@ -81948,6 +82196,7 @@ var RegistryClient = class {
81948
82196
  // packages/kong-cli/src/commands/publishVersionCommand.ts
81949
82197
  var PublishVersionCommand = class {
81950
82198
  constructor(profile, verbose = false, contractPath = null) {
82199
+ this.profile = profile;
81951
82200
  this.verbose = verbose;
81952
82201
  this.contractPath = contractPath;
81953
82202
  this.isWin = process.platform === "win32";
@@ -81964,8 +82213,8 @@ var PublishVersionCommand = class {
81964
82213
  get wslPrefix() {
81965
82214
  return this.isWin && !this.hasDocker ? "wsl" : "";
81966
82215
  }
81967
- async execute(repoName, notes) {
81968
- await new Listr([...this.flowFactory(repoName, notes)], {
82216
+ async execute(appName, notes) {
82217
+ await new Listr([...this.flowFactory(appName, notes)], {
81969
82218
  renderer: "default",
81970
82219
  rendererOptions: {
81971
82220
  logger: new ListrLogger({
@@ -81974,7 +82223,7 @@ var PublishVersionCommand = class {
81974
82223
  }
81975
82224
  }).run();
81976
82225
  }
81977
- *flowFactory(repoName, notes) {
82226
+ *flowFactory(appName, notes) {
81978
82227
  const kongJson = getKongJson();
81979
82228
  if (kongJson.sdk === "kotlin" && !this.contractPath) {
81980
82229
  yield {
@@ -82005,15 +82254,16 @@ var PublishVersionCommand = class {
82005
82254
  yield {
82006
82255
  title: "Get publish details",
82007
82256
  task: async (ctx) => {
82008
- ctx.publishDetails = await this.registryClient.getPublishDetails(repoName);
82257
+ ctx.publishDetails = await this.registryClient.getPublishDetails(appName);
82009
82258
  }
82010
82259
  };
82011
82260
  yield {
82012
82261
  title: "Docker login",
82013
82262
  task: async (ctx, task) => {
82014
- const regUrl = this.resolveRegistryUrl(ctx.publishDetails.repoName);
82263
+ const publishDetails = ctx.publishDetails;
82264
+ const regUrl = this.resolveRegistryUrl(publishDetails.repoName);
82015
82265
  await spawnCommand(
82016
- this.dockerLoginCmdText(ctx.publishDetails.userName, ctx.publishDetails.token, regUrl),
82266
+ this.dockerLoginCmdText(publishDetails.userName, publishDetails.token, regUrl),
82017
82267
  new ListrTaskLogger(task, this.verbose ? 3 /* DEBUG */ : 0 /* INFO */)
82018
82268
  );
82019
82269
  },
@@ -82022,9 +82272,9 @@ var PublishVersionCommand = class {
82022
82272
  yield {
82023
82273
  title: "Docker build",
82024
82274
  task: async (ctx, task) => {
82025
- const details = ctx.publishDetails;
82026
- const regUrl = this.resolveRegistryUrl(details.repoName);
82027
- ctx.fullImageName = `${regUrl}/${details.imageName}:${details.imageVersion}`;
82275
+ const publishDetails = ctx.publishDetails;
82276
+ const regUrl = this.resolveRegistryUrl(publishDetails.repoName);
82277
+ ctx.fullImageName = `${regUrl}/${publishDetails.imageName}:${publishDetails.imageVersion}`;
82028
82278
  await spawnCommand(
82029
82279
  this.dockerBuildCmdText(ctx.fullImageName),
82030
82280
  new ListrTaskLogger(task, this.verbose ? 3 /* DEBUG */ : 0 /* INFO */)
@@ -82046,6 +82296,7 @@ var PublishVersionCommand = class {
82046
82296
  yield {
82047
82297
  title: "Save publish details",
82048
82298
  task: async (ctx, task) => {
82299
+ const publishDetails = ctx.publishDetails;
82049
82300
  const jsonSchemas = JSON.parse(ctx.contractText);
82050
82301
  const snapshot = {
82051
82302
  extensionId: kongJson.id,
@@ -82054,14 +82305,15 @@ var PublishVersionCommand = class {
82054
82305
  inputSchema: jsonSchemas.input,
82055
82306
  outputSchema: jsonSchemas.output,
82056
82307
  metadata: kongJson,
82057
- version: Number(ctx.publishDetails.imageVersion),
82308
+ version: Number(publishDetails.imageVersion),
82058
82309
  notes,
82059
82310
  checkpoint: "",
82060
82311
  created: utcNow(DEFAULT_TIMEZONE),
82061
82312
  createdBy: ""
82062
82313
  };
82063
82314
  await this.managementClient.createExtensionSnapshot(kongJson.id, kongJson.name, snapshot);
82064
- task.output = `The version ${ctx.publishDetails.imageVersion} has been successfully published!`;
82315
+ task.output = `The version ${publishDetails.imageVersion} has been successfully published!
82316
+ ${joinUrlAndPath(this.profile.kongBaseUrl, "/extensions/aliases")}`;
82065
82317
  },
82066
82318
  rendererOptions: this.defaultRendererOptions
82067
82319
  };
@@ -82084,7 +82336,7 @@ var PublishVersionCommand = class {
82084
82336
  return `${engine} ${escapePathSpaces(mainPyPath)} --schema`;
82085
82337
  }
82086
82338
  getKotlinBuildCmdTask() {
82087
- return `${this.wslPrefix} ./gradlew build -Dquarkus.package.main-class=io.kong.sdkkotlin.JsonSchemaGeneratingQuarkusApp`;
82339
+ return `${this.wslPrefix} ./gradlew build -Dquarkus.package.main-class=io.kong.sdkkotlin.QuarkusApp`;
82088
82340
  }
82089
82341
  getKotlinSchemaCmdTask() {
82090
82342
  return `${this.wslPrefix} java -Dquarkus-profile=local -jar build/quarkus-app/quarkus-run.jar --schema`;
@@ -82116,6 +82368,7 @@ function validateName(value) {
82116
82368
  }
82117
82369
  var SetAliasCommand = class {
82118
82370
  constructor(profile) {
82371
+ this.profile = profile;
82119
82372
  const clientHeaderProvider = headerProvider(profile);
82120
82373
  this.publicClient = new PublicClient(profile.kongBaseUrl, clientHeaderProvider);
82121
82374
  this.managementClient = new ManagementClient(profile.kongBaseUrl, clientHeaderProvider);
@@ -82168,7 +82421,8 @@ var SetAliasCommand = class {
82168
82421
  updatedBy: ""
82169
82422
  };
82170
82423
  await this.publicClient.assignExtensionAlias(ctx.kongJson.id, alias);
82171
- task.output = "Please wait a moment for it to appear in the UI.";
82424
+ task.output = `Please wait a moment for it to appear in the UI.
82425
+ ${joinUrlAndPath(this.profile.kongBaseUrl, "/extensions/aliases")}`;
82172
82426
  },
82173
82427
  rendererOptions: { persistentOutput: true }
82174
82428
  }
@@ -82226,12 +82480,13 @@ async function main() {
82226
82480
  ).addOption(new Option("--profile <name>", "Configured Kong profile to use").default("default")).addOption(new Option("--verbose", "Show full logs during command execution")).addOption(new Option("--notes [text]", "Optional version notes").default("")).addOption(new Option("--schema <path>", "Schema file to use").default(null)).action(async (options) => {
82227
82481
  try {
82228
82482
  printProfile(options.profile);
82483
+ const profile = getProfile(options.profile);
82229
82484
  const kongJson = getKongJson();
82230
82485
  await new PublishVersionCommand(
82231
82486
  getProfile(options.profile),
82232
82487
  options.verbose,
82233
82488
  options.schema
82234
- ).execute(kongJson.name, options.notes);
82489
+ ).execute(`${parseTenant(profile.kongBaseUrl)}-k-extension-${kongJson.id}`, options.notes);
82235
82490
  } catch (ex) {
82236
82491
  printError("publish-version command failed", ex);
82237
82492
  }
package/package.json CHANGED
@@ -1,13 +1,11 @@
1
1
  {
2
2
  "name": "@devkong/cli",
3
- "version": "0.0.39",
3
+ "version": "0.0.41",
4
4
  "type": "commonjs",
5
5
  "main": "./index.js",
6
6
  "typings": "./index.d.ts",
7
7
  "bin": {
8
8
  "kong": "./index.js"
9
9
  },
10
- "dependencies": {
11
- "@napi-rs/keyring": "1.1.6"
12
- }
10
+ "dependencies": {}
13
11
  }
@@ -1,6 +1,7 @@
1
1
  import { ListrTask } from "listr2";
2
2
  import { Profile } from "../common/profile";
3
3
  export declare class PublishVersionCommand {
4
+ private profile;
4
5
  private verbose;
5
6
  private contractPath;
6
7
  private readonly isWin;
@@ -10,8 +11,8 @@ export declare class PublishVersionCommand {
10
11
  private defaultRendererOptions;
11
12
  private get wslPrefix();
12
13
  constructor(profile: Profile, verbose?: boolean, contractPath?: string);
13
- execute(repoName: string, notes: string): Promise<void>;
14
- flowFactory(repoName: string, notes: string): Generator<ListrTask>;
14
+ execute(appName: string, notes: string): Promise<void>;
15
+ flowFactory(appName: string, notes: string): Generator<ListrTask>;
15
16
  private resolveRegistryUrl;
16
17
  private dockerBuildCmdText;
17
18
  private dockerPushCmdText;
@@ -1,5 +1,6 @@
1
1
  import { Profile } from "../common/profile";
2
2
  export declare class SetAliasCommand {
3
+ private profile;
3
4
  private publicClient;
4
5
  private managementClient;
5
6
  constructor(profile: Profile);
@@ -1,6 +1,6 @@
1
1
  import { UrlText, User } from "@kong/ts";
2
2
  import { HeaderProvider } from "./api";
3
- interface PublishDetails {
3
+ export interface PublishDetails {
4
4
  repoName: string;
5
5
  imageName: string;
6
6
  imageVersion: string;
@@ -11,6 +11,5 @@ export declare class RegistryClient {
11
11
  private headerProvider;
12
12
  private readonly baseUrl;
13
13
  constructor(baseUrl: UrlText, headerProvider: HeaderProvider);
14
- getPublishDetails(repoName: string): Promise<PublishDetails>;
14
+ getPublishDetails(appName: string): Promise<PublishDetails>;
15
15
  }
16
- export {};