@abtnode/core 1.17.3-beta-20251117-130331-b2ce7065 → 1.17.3-beta-20251118-061144-335cd35d
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.
|
@@ -575,7 +575,7 @@ class DiskBlockletManager extends BaseBlockletManager {
|
|
|
575
575
|
context.headers = Object.assign(context?.headers || {}, {
|
|
576
576
|
'x-server-did': info.did,
|
|
577
577
|
'x-server-public-key': info.pk,
|
|
578
|
-
'x-server-signature': sign(info.did, info.sk, {
|
|
578
|
+
'x-server-signature': await sign(info.did, info.sk, {
|
|
579
579
|
exp: (Date.now() + 5 * 60 * 1000) / 1000,
|
|
580
580
|
}),
|
|
581
581
|
});
|
|
@@ -62,7 +62,7 @@ const installComponentFromUrl = async ({
|
|
|
62
62
|
headers: {
|
|
63
63
|
'x-server-did': info.did,
|
|
64
64
|
'x-server-public-key': info.pk,
|
|
65
|
-
'x-server-signature': sign(info.did, info.sk, {
|
|
65
|
+
'x-server-signature': await sign(info.did, info.sk, {
|
|
66
66
|
exp: (Date.now() + 5 * 60 * 1000) / 1000,
|
|
67
67
|
}),
|
|
68
68
|
},
|