@huaweidevtools/aishell-dsh-client-credentials 0.0.1-beta.4 → 0.0.1-beta.5

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.
Files changed (2) hide show
  1. package/lib/index.js +1 -1
  2. package/package.json +2 -2
package/lib/index.js CHANGED
@@ -1580,7 +1580,7 @@ function apply(ctx, config) {
1580
1580
  ctx.effect(() => () => clearInterval(reconcileTimer), "aishell-credentials: status reconcile timer");
1581
1581
  registerAuthTool(ctx, store, { requestForm: (sessionId) => {
1582
1582
  if (ns === void 0) return void 0;
1583
- pendingForm?.settle({ kind: "cancelled" });
1583
+ if (pendingForm !== void 0) return pendingForm.outcome;
1584
1584
  const pending = formRequest(sessionId);
1585
1585
  pendingForm = pending;
1586
1586
  ctx.settings.mutate(ns, [{
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@huaweidevtools/aishell-dsh-client-credentials",
3
3
  "description": "AI Shell credentials — chip-opened web form for storing Huawei Cloud AK/SK in the credential store",
4
- "version": "0.0.1-beta.4",
4
+ "version": "0.0.1-beta.5",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -41,7 +41,7 @@
41
41
  },
42
42
  "license": "Apache-2.0",
43
43
  "dependencies": {
44
- "@huaweidevtools/aishell-dsh-credentials-store": "0.0.1-beta.4"
44
+ "@huaweidevtools/aishell-dsh-credentials-store": "0.0.1-beta.5"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "@deepseek-ai/cordis": "^4.0.4",