@frockbot/plugin-routines 0.3.12 → 0.3.13
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/package.json +7 -7
- package/src/hook.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frockbot/plugin-routines",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.13",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"typecheck": "vue-tsc --noEmit -p tsconfig.json"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@frockbot/client-core": "0.3.
|
|
36
|
-
"@frockbot/client-ui": "0.3.
|
|
37
|
-
"@frockbot/configuration-core": "0.3.
|
|
38
|
-
"@frockbot/kernel-agent-loop": "0.3.
|
|
39
|
-
"@frockbot/kernel-contracts": "0.3.
|
|
40
|
-
"@frockbot/plugin-shell": "0.3.
|
|
35
|
+
"@frockbot/client-core": "0.3.13",
|
|
36
|
+
"@frockbot/client-ui": "0.3.13",
|
|
37
|
+
"@frockbot/configuration-core": "0.3.13",
|
|
38
|
+
"@frockbot/kernel-agent-loop": "0.3.13",
|
|
39
|
+
"@frockbot/kernel-contracts": "0.3.13",
|
|
40
|
+
"@frockbot/plugin-shell": "0.3.13",
|
|
41
41
|
"cordis": "4.0.0-rc.8",
|
|
42
42
|
"croner": "10.0.1",
|
|
43
43
|
"vue": "3.5.41"
|
package/src/hook.ts
CHANGED
|
@@ -318,14 +318,14 @@ export async function routineDeliveryIdV1(
|
|
|
318
318
|
return hex(
|
|
319
319
|
await crypto.subtle.digest(
|
|
320
320
|
"SHA-256",
|
|
321
|
-
TEXT.encode(`key
|
|
321
|
+
TEXT.encode(`key\u0000${routineId}\u0000${trimmed}`),
|
|
322
322
|
),
|
|
323
323
|
);
|
|
324
324
|
}
|
|
325
325
|
return hex(
|
|
326
326
|
await crypto.subtle.digest(
|
|
327
327
|
"SHA-256",
|
|
328
|
-
TEXT.encode(`delivery
|
|
328
|
+
TEXT.encode(`delivery\u0000${routineId}\u0000${crypto.randomUUID()}`),
|
|
329
329
|
),
|
|
330
330
|
);
|
|
331
331
|
}
|