dsh-auth-remote 0.3.4 → 0.3.6

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.js CHANGED
@@ -17,7 +17,7 @@ function packageManifest(packageName, anchor) {
17
17
  const manifest = JSON.parse(readFileSync(path, "utf8"));
18
18
  if (manifest.name !== packageName || !semver.satisfies(manifest.version, SUPPORTED_DSH_RANGE, { includePrerelease: true })) {
19
19
  throw new Error(
20
- `auth-remote: unsupported ${packageName} version ${manifest.version}; minimum DSH 0.2.1-alpha.3. Upgrade to DSH 0.2.2-alpha.3; last supported plugin for older DSH: 0.2.0. See README.md and docs/support-history.md.`
20
+ `auth-remote: unsupported ${packageName} version ${manifest.version}; minimum DSH 0.2.1-alpha.3. Upgrade to DSH 0.2.2-rc.2; last supported plugin for older DSH: 0.2.0. See README.md and docs/support-history.md.`
21
21
  );
22
22
  }
23
23
  return { path, manifest };
@@ -494,7 +494,7 @@ function listenerPublicUrl(host, port, protocol) {
494
494
  function assertRuntimeVersion(version) {
495
495
  if (!semver2.satisfies(version, SUPPORTED_DSH_RANGE, { includePrerelease: true }))
496
496
  throw new Error(
497
- `auth-remote: unsupported DSH version ${version}; minimum DSH 0.2.1-alpha.3. Upgrade to DSH 0.2.2-alpha.3; last supported plugin for older DSH: 0.2.0. See README.md and docs/support-history.md.`
497
+ `auth-remote: unsupported DSH version ${version}; minimum DSH 0.2.1-alpha.3. Upgrade to DSH 0.2.2-rc.2; last supported plugin for older DSH: 0.2.0. See README.md and docs/support-history.md.`
498
498
  );
499
499
  }
500
500
  function validateListenerConfig(config, native = NativeWebServer) {
@@ -2952,21 +2952,7 @@ var ManualAccountLogin = class {
2952
2952
  };
2953
2953
 
2954
2954
  // src/shared/dsh-support.ts
2955
- function legacy(version, windowDays, eligibleRetirement) {
2956
- return {
2957
- state: "legacy",
2958
- version,
2959
- legacySince: "2026-10-28",
2960
- windowDays,
2961
- eligibleRetirement,
2962
- migrationTarget: "0.2.2-alpha.3"
2963
- };
2964
- }
2965
- var LEGACY_DSH_RELEASES = [
2966
- legacy("0.2.1-alpha.3", 14, "2026-11-11"),
2967
- legacy("0.2.1-alpha.4", 14, "2026-11-11"),
2968
- legacy("0.2.1-alpha.5", 14, "2026-11-11")
2969
- ];
2955
+ var LEGACY_DSH_RELEASES = [];
2970
2956
  var RETIRED_DSH_RELEASES = [
2971
2957
  ...["0.1.7-rc.1", "0.1.7-rc.2", "0.2.0-rc.1", "0.2.0-rc.2", "0.2.1-alpha.1", "0.2.1-alpha.2"].map(
2972
2958
  (version) => ({
@@ -2975,7 +2961,7 @@ var RETIRED_DSH_RELEASES = [
2975
2961
  retiredOn: "2026-10-28",
2976
2962
  effectivePlugin: "0.3.1",
2977
2963
  lastSupportedPlugin: "0.2.0",
2978
- migrationTarget: "0.2.2-alpha.3"
2964
+ migrationTarget: "0.2.2-rc.2"
2979
2965
  })
2980
2966
  ),
2981
2967
  {
@@ -2984,8 +2970,19 @@ var RETIRED_DSH_RELEASES = [
2984
2970
  retiredOn: "2026-11-05",
2985
2971
  effectivePlugin: "0.3.4",
2986
2972
  lastSupportedPlugin: "0.3.3",
2987
- migrationTarget: "0.2.2-alpha.3"
2988
- }
2973
+ migrationTarget: "0.2.2-rc.2"
2974
+ },
2975
+ ...["0.2.1-alpha.3", "0.2.1-alpha.4", "0.2.1-alpha.5"].map((version) => ({
2976
+ state: "retired",
2977
+ version,
2978
+ legacySince: "2026-10-28",
2979
+ windowDays: 14,
2980
+ eligibleRetirement: "2026-11-11",
2981
+ retiredOn: "2026-11-13",
2982
+ effectivePlugin: "0.3.6",
2983
+ lastSupportedPlugin: "0.3.5",
2984
+ migrationTarget: "0.2.2-rc.2"
2985
+ }))
2989
2986
  ];
2990
2987
  var lifecycle = [...LEGACY_DSH_RELEASES, ...RETIRED_DSH_RELEASES];
2991
2988
  function classifyDshSupport(version, declared, records = lifecycle) {