felix-client 0.6.0-preview → 0.6.0-preview.3

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 (3) hide show
  1. package/README.md +5 -3
  2. package/index.d.ts +14 -0
  3. package/package.json +9 -9
package/README.md CHANGED
@@ -16,10 +16,12 @@ npm install felix-client
16
16
 
17
17
  The binary ships as one package per platform, declared as optional
18
18
  dependencies, so npm fetches only the one your machine needs. Nothing is
19
- compiled at install time. Linux (x86-64 and arm64, glibc), macOS (Intel and
20
- Apple silicon) and Windows x86-64 are covered. Node 18 or newer.
19
+ compiled at install time. Linux (x86-64 and arm64, glibc 2.28 or newer, so
20
+ Debian bookworm, RHEL 8 and Amazon Linux 2023), macOS (Intel and Apple silicon)
21
+ and Windows x86-64 are covered. Alpine and other musl systems are not. Node 18
22
+ or newer.
21
23
 
22
- Full documentation: https://gabloe.github.io/felix/clients/typescript/
24
+ Full documentation: https://docs.getfelix.dev/clients/typescript/
23
25
 
24
26
  ## One surface, and it is asynchronous
25
27
 
package/index.d.ts CHANGED
@@ -37,6 +37,12 @@ export interface GroupRecord {
37
37
  * treat a retry differently. `0` means the broker did not report it.
38
38
  */
39
39
  attempts: number;
40
+ /**
41
+ * How many offsets directly below this one were settled without being
42
+ * delivered (generation starts, records retention removed). A hole with this
43
+ * count will not fill. `0n` from a broker that predates it.
44
+ */
45
+ skippedBefore: bigint;
40
46
  }
41
47
 
42
48
  /** One change observed by a cache watch. */
@@ -512,6 +518,14 @@ export declare class Client {
512
518
  group: string,
513
519
  maxRecords?: number,
514
520
  waitMs?: number,
521
+ /**
522
+ * This member's name, stable across its restarts, 1 to 128 bytes. With
523
+ * `reclaim`, the records a previous process under the same name still
524
+ * held come back first, instead of after the visibility timeout. Only a
525
+ * connection's first such poll reclaims, so it is safe to leave set.
526
+ */
527
+ consumer?: string,
528
+ reclaim?: boolean,
515
529
  ): Promise<GroupRecord[]>;
516
530
 
517
531
  /** Finish a record: it will not be handed out again. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "felix-client",
3
- "version": "0.6.0-preview",
3
+ "version": "0.6.0-preview.3",
4
4
  "description": "Node.js/TypeScript bindings for the Felix client, over the Rust client rather than a reimplementation of it",
5
5
  "keywords": [
6
6
  "felix",
@@ -14,14 +14,14 @@
14
14
  ],
15
15
  "license": "Apache-2.0",
16
16
  "author": "Gabriel Loewen",
17
- "homepage": "https://gabloe.github.io/felix/clients/typescript/",
17
+ "homepage": "https://docs.getfelix.dev/clients/typescript/",
18
18
  "repository": {
19
19
  "type": "git",
20
- "url": "https://github.com/gabloe/felix.git",
20
+ "url": "https://github.com/GetFelix/felix.git",
21
21
  "directory": "crates/sdk/felix-typescript"
22
22
  },
23
23
  "bugs": {
24
- "url": "https://github.com/gabloe/felix/issues"
24
+ "url": "https://github.com/GetFelix/felix/issues"
25
25
  },
26
26
  "main": "index.js",
27
27
  "types": "index.d.ts",
@@ -54,10 +54,10 @@
54
54
  "test": "node --test test/errors.test.mjs test/conformance.test.mjs"
55
55
  },
56
56
  "optionalDependencies": {
57
- "felix-client-darwin-arm64": "0.6.0-preview",
58
- "felix-client-darwin-x64": "0.6.0-preview",
59
- "felix-client-linux-arm64-gnu": "0.6.0-preview",
60
- "felix-client-linux-x64-gnu": "0.6.0-preview",
61
- "felix-client-win32-x64-msvc": "0.6.0-preview"
57
+ "felix-client-darwin-arm64": "0.6.0-preview.3",
58
+ "felix-client-darwin-x64": "0.6.0-preview.3",
59
+ "felix-client-linux-arm64-gnu": "0.6.0-preview.3",
60
+ "felix-client-linux-x64-gnu": "0.6.0-preview.3",
61
+ "felix-client-win32-x64-msvc": "0.6.0-preview.3"
62
62
  }
63
63
  }