@mdfriday/foundry 26.3.19 → 26.3.20

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/cli.js CHANGED
@@ -4723,13 +4723,14 @@ var init_identity2 = __esm({
4723
4723
  // License Management
4724
4724
  // ============================================================================
4725
4725
  /**
4726
- * 申请试用 License
4726
+ * 申请试用 License(只申请,不激活)
4727
4727
  *
4728
4728
  * @param email - 用户邮箱
4729
- * @returns 试用 License 信息
4729
+ * @returns 试用 License 信息和凭证
4730
4730
  */
4731
- async requestTrialLicense(email) {
4732
- return this.userFactory.requestTrialLicense(email);
4731
+ async requestTrial(email) {
4732
+ const savedConfig = await this.userFactory.loadServerConfig();
4733
+ return this.userFactory.requestTrialLicense(email, savedConfig || void 0);
4733
4734
  }
4734
4735
  /**
4735
4736
  * 使用 License Key 登录
@@ -55162,7 +55163,7 @@ For more information, visit: https://help.mdfriday.com
55162
55163
  * Show version
55163
55164
  */
55164
55165
  showVersion() {
55165
- const version = "26.3.19";
55166
+ const version = "26.3.20";
55166
55167
  return {
55167
55168
  success: true,
55168
55169
  message: `MDFriday CLI v${version}`