@walkhi/code-relax 0.1.0-beta.20 → 0.1.0-beta.21

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.
@@ -517,7 +517,7 @@ export async function startSelfRelay({ port = 0, hostKey = secret(), pairingTtlM
517
517
  (message.turnKind === 'start' || message.active === true)) {
518
518
  const task = await meter.turnOrigin(room.id, key);
519
519
  if (task) {
520
- await meter.pulse(task, true, room.id, task.clientId, key);
520
+ await meter.pulse(task, true, room.id, task.clientId, counted ? key : randomUUID());
521
521
  room.usageTasks.set(key, task);
522
522
  }
523
523
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@walkhi/code-relax",
3
- "version": "0.1.0-beta.20",
3
+ "version": "0.1.0-beta.21",
4
4
  "license": "UNLICENSED",
5
5
  "type": "module",
6
6
  "scripts": {