seyfert 3.1.3-dev-15196748977.0 → 3.1.3-dev-15208450766.0

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.
@@ -43,7 +43,7 @@ export declare class WorkerClient<Ready extends boolean = boolean> extends BaseC
43
43
  private generateSendPromise;
44
44
  tellWorker<R, V extends Record<string, unknown>>(workerId: number, func: (_: this, vars: V) => R, vars: V): Promise<R>;
45
45
  tellWorkers<R, V extends Record<string, unknown>>(func: (_: this, vars: V) => R, vars: V): Promise<Awaited<R>[]>;
46
- createShard(id: number, data: Pick<ManagerSpawnShards, 'info' | 'compress'>): Shard;
46
+ createShard(id: number, data: Pick<ManagerSpawnShards, 'info' | 'compress' | 'properties'>): Shard;
47
47
  resumeShard(shardId: number, shardData: MakeRequired<ShardData>): Promise<unknown>;
48
48
  protected onPacket(packet: GatewayDispatchPayload, shardId: number): Promise<void>;
49
49
  }
@@ -397,6 +397,7 @@ class WorkerClient extends base_1.BaseClient {
397
397
  debugger: this.debugger,
398
398
  properties: {
399
399
  ...websocket_1.properties,
400
+ ...data.properties,
400
401
  ...this.options.gateway?.properties,
401
402
  },
402
403
  async handlePayload(shardId, payload) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "seyfert",
3
- "version": "3.1.3-dev-15196748977.0",
3
+ "version": "3.1.3-dev-15208450766.0",
4
4
  "description": "The most advanced framework for discord bots",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",