atproto utils for zig zat.dev
atproto sdk zig
26
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: pass io to websocket.Client.init for 0.16 compat

websocket.zig 0.16 requires io as first parameter to Client.init.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

+4 -4
+3 -3
build.zig.zon
··· 1 1 .{ 2 2 .name = .zat, 3 - .version = "0.3.0-alpha.1", 3 + .version = "0.3.0-alpha.2", 4 4 .fingerprint = 0x8da9db57ee82fbe4, 5 5 .minimum_zig_version = "0.16.0", 6 6 .dependencies = .{ 7 7 .websocket = .{ 8 - .url = "https://github.com/zzstoatzz/websocket.zig/archive/b6eb671ecdfbc02fbdbf45a384f38fbbceb5fac7.tar.gz", 9 - .hash = "websocket-0.1.0-ZPISdZinAwCEIdIg2GcJ7RIgpR8GddRl2SI2dVgfenT6", 8 + .url = "https://github.com/zzstoatzz/websocket.zig/archive/add0960.tar.gz", 9 + .hash = "websocket-0.1.0-ZPISdbunAwBBlC_bfYeEU4aSFXSrpDeiM2wk2z6dNDqX", 10 10 }, 11 11 .@"atproto-interop-tests" = .{ 12 12 .url = "https://github.com/bluesky-social/atproto-interop-tests/archive/35bb5638ab1e5ce71fb88a0c95953fc557ef1925.tar.gz",
+1 -1
src/internal/streaming/jetstream.zig
··· 192 192 193 193 log.info("connecting to wss://{s}{s}", .{ host, path }); 194 194 195 - var client = try websocket.Client.init(self.allocator, .{ 195 + var client = try websocket.Client.init(std.Options.debug_io, self.allocator, .{ 196 196 .host = host, 197 197 .port = 443, 198 198 .tls = true,