@helyx/bot 1.3.0 → 1.3.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.3.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Add optional bounded worker-owned module-record recovery. Configure ownership in
8
+ single-worker and sharded bots without exposing deployment topology to modules
9
+ or relaxing ordinary record-query filters.
10
+ - Updated dependencies
11
+ - Updated dependencies
12
+ - @helyx/database@2.3.0
13
+ - @helyx/sdk@0.14.0
14
+ - @helyx/platform@1.2.0
15
+ - @helyx/module-automod@1.0.2
16
+ - @helyx/module-moderation@1.0.2
17
+
3
18
  ## 1.3.0
4
19
 
5
20
  ### Minor Changes
package/dist/index.js CHANGED
@@ -370,6 +370,7 @@ async function startUnshardedBot(processEnvironment) {
370
370
  const serviceOptions = platformServiceOptions(environment, publicModules);
371
371
  for (const [name, service] of createPlatformServices(database, publicModules, {
372
372
  ...serviceOptions,
373
+ recordRecoveryOwnership: { mode: "single-worker" },
373
374
  activationServices: serviceAccess,
374
375
  })) {
375
376
  platformServices.set(name, service);
@@ -223,6 +223,11 @@ export async function startShardWorker(processEnvironment = process.env, identit
223
223
  const serviceOptions = platformServiceOptions(environment, publicModules);
224
224
  for (const [name, service] of createPlatformServices(database, publicModules, {
225
225
  ...serviceOptions,
226
+ recordRecoveryOwnership: {
227
+ mode: "shard",
228
+ shardId: identity.shardId,
229
+ shardCount: identity.shardCount,
230
+ },
226
231
  activationServices: serviceAccess,
227
232
  })) {
228
233
  platformServices.set(name, service);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@helyx/bot",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "Production Discord runtime for the modular Helyx platform.",
5
5
  "keywords": [
6
6
  "helyx",
@@ -53,11 +53,11 @@
53
53
  "@helyx/config": ">=1.0.0 <2.0.0",
54
54
  "@helyx/control-protocol": ">=0.5.0 <0.6.0",
55
55
  "@helyx/core": ">=0.1.0 <0.2.0",
56
- "@helyx/database": ">=2.0.0 <3.0.0",
56
+ "@helyx/database": ">=2.3.0",
57
57
  "@helyx/framework": ">=0.1.0 <0.2.0",
58
58
  "@helyx/module-manifest": ">=0.11.0 <0.12.0",
59
- "@helyx/platform": ">=1.0.0 <2.0.0",
60
- "@helyx/sdk": ">=0.13.0 <0.14.0",
59
+ "@helyx/platform": ">=1.2.0",
60
+ "@helyx/sdk": ">=0.14.0",
61
61
  "@helyx/status-client": ">=0.2.0 <0.3.0",
62
62
  "@helyx/verification-contracts": ">=0.3.0 <0.4.0",
63
63
  "discord.js": "14.27.0",
@@ -69,8 +69,8 @@
69
69
  "zod": "4.4.3"
70
70
  },
71
71
  "peerDependencies": {
72
- "@helyx/module-automod": ">=1.0.0 <2.0.0",
73
- "@helyx/module-moderation": ">=1.0.0 <2.0.0"
72
+ "@helyx/module-automod": ">=1.0.2",
73
+ "@helyx/module-moderation": ">=1.0.2"
74
74
  },
75
75
  "peerDependenciesMeta": {
76
76
  "@helyx/module-automod": {