@frockbot/plugin-routines 0.3.12 → 0.3.14

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/package.json +7 -7
  2. 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.12",
3
+ "version": "0.3.14",
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.12",
36
- "@frockbot/client-ui": "0.3.12",
37
- "@frockbot/configuration-core": "0.3.12",
38
- "@frockbot/kernel-agent-loop": "0.3.12",
39
- "@frockbot/kernel-contracts": "0.3.12",
40
- "@frockbot/plugin-shell": "0.3.12",
35
+ "@frockbot/client-core": "0.3.14",
36
+ "@frockbot/client-ui": "0.3.14",
37
+ "@frockbot/configuration-core": "0.3.14",
38
+ "@frockbot/kernel-agent-loop": "0.3.14",
39
+ "@frockbot/kernel-contracts": "0.3.14",
40
+ "@frockbot/plugin-shell": "0.3.14",
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${routineId}${trimmed}`),
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${routineId}${crypto.randomUUID()}`),
328
+ TEXT.encode(`delivery\u0000${routineId}\u0000${crypto.randomUUID()}`),
329
329
  ),
330
330
  );
331
331
  }