@astrale-os/kernel-client 1.0.0-beta.19 → 1.0.0-beta.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.
|
@@ -132,7 +132,13 @@ export function credentials(source) {
|
|
|
132
132
|
const signal = AbortSignal.any([owned.signal, AbortSignal.timeout(MINT_TIMEOUT_MS)]);
|
|
133
133
|
const pending = (async () => {
|
|
134
134
|
try {
|
|
135
|
-
|
|
135
|
+
// A mint that throws instead of rejecting fails this attempt alike: the executor turns the
|
|
136
|
+
// throw into a rejection, so the attempt settles only after it yields, once `inflight`
|
|
137
|
+
// holds it, and the cleanup below releases it for the next acquisition.
|
|
138
|
+
const minting = new Promise((complete) => {
|
|
139
|
+
complete(renew(signal));
|
|
140
|
+
});
|
|
141
|
+
const minted = admitMinted(await minting);
|
|
136
142
|
current = minted;
|
|
137
143
|
attempt = 0;
|
|
138
144
|
publish({ status: 'valid', credential: minted });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astrale-os/kernel-client",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.20",
|
|
4
4
|
"description": "Universal Client — protocol-first, transport-agnostic",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"astrale",
|
|
@@ -65,13 +65,13 @@
|
|
|
65
65
|
"access": "public"
|
|
66
66
|
},
|
|
67
67
|
"dependencies": {
|
|
68
|
-
"@astrale-os/kernel-core": "1.0.0-beta.
|
|
69
|
-
"@astrale-os/kernel-dsl": "1.0.0-beta.
|
|
70
|
-
"@astrale-os/kernel-protocol": "1.0.0-beta.
|
|
68
|
+
"@astrale-os/kernel-core": "1.0.0-beta.17",
|
|
69
|
+
"@astrale-os/kernel-dsl": "1.0.0-beta.10",
|
|
70
|
+
"@astrale-os/kernel-protocol": "1.0.0-beta.17",
|
|
71
71
|
"@tanstack/pacer": "0.20.1"
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
|
-
"@astrale-os/kernel-server": "1.0.0-beta.
|
|
74
|
+
"@astrale-os/kernel-server": "1.0.0-beta.17",
|
|
75
75
|
"@astrale/typescript-config": "npm:@jsr/astrale__typescript-config@~1.1.0",
|
|
76
76
|
"@types/node": "^22.0.0",
|
|
77
77
|
"typescript": "7.0.2",
|