@open-e2ee/signal-protocol-sdk 0.1.0-alpha.6 → 0.1.0-alpha.7

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 (179) hide show
  1. package/ARCHITECTURE.md +1 -1
  2. package/CHANGELOG.md +196 -1
  3. package/dist/client/client.d.ts +32 -28
  4. package/dist/client/client.d.ts.map +1 -1
  5. package/dist/client/client.js +120 -72
  6. package/dist/client/client.js.map +1 -1
  7. package/dist/client/compose.d.ts +6 -1
  8. package/dist/client/compose.d.ts.map +1 -1
  9. package/dist/client/compose.js +2 -0
  10. package/dist/client/compose.js.map +1 -1
  11. package/dist/client/config.d.ts +41 -17
  12. package/dist/client/config.d.ts.map +1 -1
  13. package/dist/client/config.js.map +1 -1
  14. package/dist/client/endorsement-manager.d.ts +4 -0
  15. package/dist/client/endorsement-manager.d.ts.map +1 -1
  16. package/dist/client/endorsement-manager.js +9 -0
  17. package/dist/client/endorsement-manager.js.map +1 -1
  18. package/dist/client/groups.d.ts +29 -29
  19. package/dist/client/groups.d.ts.map +1 -1
  20. package/dist/client/groups.js +54 -37
  21. package/dist/client/groups.js.map +1 -1
  22. package/dist/client/signal-service-cipher.d.ts +5 -1
  23. package/dist/client/signal-service-cipher.d.ts.map +1 -1
  24. package/dist/client/signal-service-cipher.js +7 -1
  25. package/dist/client/signal-service-cipher.js.map +1 -1
  26. package/dist/groups/index.d.ts +4 -4
  27. package/dist/groups/index.d.ts.map +1 -1
  28. package/dist/groups/index.js +3 -3
  29. package/dist/groups/index.js.map +1 -1
  30. package/dist/index.d.ts +5 -5
  31. package/dist/index.d.ts.map +1 -1
  32. package/dist/index.js +3 -3
  33. package/dist/index.js.map +1 -1
  34. package/dist/internal/groups/access-control.d.ts +170 -0
  35. package/dist/internal/groups/access-control.d.ts.map +1 -0
  36. package/dist/internal/groups/access-control.js +284 -0
  37. package/dist/internal/groups/access-control.js.map +1 -0
  38. package/dist/internal/groups/change-actions.d.ts +57 -0
  39. package/dist/internal/groups/change-actions.d.ts.map +1 -0
  40. package/dist/internal/groups/change-actions.js +827 -0
  41. package/dist/internal/groups/change-actions.js.map +1 -0
  42. package/dist/internal/groups/change-authorization.d.ts +16 -0
  43. package/dist/internal/groups/change-authorization.d.ts.map +1 -0
  44. package/dist/internal/groups/change-authorization.js +120 -0
  45. package/dist/internal/groups/change-authorization.js.map +1 -0
  46. package/dist/internal/{groups-v2 → groups}/encrypted-state.d.ts +12 -2
  47. package/dist/internal/groups/encrypted-state.d.ts.map +1 -0
  48. package/dist/internal/{groups-v2 → groups}/encrypted-state.js +122 -22
  49. package/dist/internal/groups/encrypted-state.js.map +1 -0
  50. package/dist/internal/groups/group-id.d.ts +9 -9
  51. package/dist/internal/groups/group-id.d.ts.map +1 -1
  52. package/dist/internal/groups/group-id.js +11 -12
  53. package/dist/internal/groups/group-id.js.map +1 -1
  54. package/dist/internal/groups/index.d.ts +16 -6
  55. package/dist/internal/groups/index.d.ts.map +1 -1
  56. package/dist/internal/groups/index.js +9 -1
  57. package/dist/internal/groups/index.js.map +1 -1
  58. package/dist/internal/groups/invite-link.d.ts.map +1 -0
  59. package/dist/internal/groups/invite-link.js.map +1 -0
  60. package/dist/internal/{groups-v2 → groups}/manager.d.ts +175 -40
  61. package/dist/internal/groups/manager.d.ts.map +1 -0
  62. package/dist/internal/groups/manager.js +1862 -0
  63. package/dist/internal/groups/manager.js.map +1 -0
  64. package/dist/internal/groups/sdk-store.d.ts +32 -0
  65. package/dist/internal/groups/sdk-store.d.ts.map +1 -0
  66. package/dist/internal/groups/sdk-store.js +111 -0
  67. package/dist/internal/groups/sdk-store.js.map +1 -0
  68. package/dist/internal/groups/server-engine.d.ts +52 -0
  69. package/dist/internal/groups/server-engine.d.ts.map +1 -0
  70. package/dist/internal/groups/server-engine.js +1126 -0
  71. package/dist/internal/groups/server-engine.js.map +1 -0
  72. package/dist/internal/groups/trust-root.d.ts +32 -0
  73. package/dist/internal/groups/trust-root.d.ts.map +1 -0
  74. package/dist/internal/groups/trust-root.js +91 -0
  75. package/dist/internal/groups/trust-root.js.map +1 -0
  76. package/dist/internal/{groups-v2 → groups}/types.d.ts +188 -46
  77. package/dist/internal/groups/types.d.ts.map +1 -0
  78. package/dist/internal/{groups-v2 → groups}/types.js +3 -2
  79. package/dist/internal/groups/types.js.map +1 -0
  80. package/dist/internal/groups/wire.d.ts +68 -0
  81. package/dist/internal/groups/wire.d.ts.map +1 -0
  82. package/dist/internal/groups/wire.js +708 -0
  83. package/dist/internal/groups/wire.js.map +1 -0
  84. package/dist/internal/protocol/sender-keys/index.d.ts +1 -1
  85. package/dist/internal/protocol/sender-keys/manager.d.ts +1 -1
  86. package/dist/internal/protocol/sender-keys/manager.js +1 -1
  87. package/dist/internal/protocol/zk/groups/auth-credential.d.ts +9 -7
  88. package/dist/internal/protocol/zk/groups/auth-credential.d.ts.map +1 -1
  89. package/dist/internal/protocol/zk/groups/auth-credential.js +68 -29
  90. package/dist/internal/protocol/zk/groups/auth-credential.js.map +1 -1
  91. package/dist/internal/protocol/zk/groups/server-params.d.ts +1 -1
  92. package/dist/internal/protocol/zk/groups/server-params.d.ts.map +1 -1
  93. package/dist/internal/protocol/zk/groups/server-params.js.map +1 -1
  94. package/dist/internal/protocol/zk/groups/uid-struct.d.ts +2 -0
  95. package/dist/internal/protocol/zk/groups/uid-struct.d.ts.map +1 -1
  96. package/dist/internal/protocol/zk/groups/uid-struct.js +4 -0
  97. package/dist/internal/protocol/zk/groups/uid-struct.js.map +1 -1
  98. package/dist/layers.d.ts +1 -1
  99. package/dist/layers.js +3 -3
  100. package/dist/layers.js.map +1 -1
  101. package/dist/remote/relay/convex/group-server.d.ts +23 -21
  102. package/dist/remote/relay/convex/group-server.d.ts.map +1 -1
  103. package/dist/remote/relay/convex/group-server.js +49 -21
  104. package/dist/remote/relay/convex/group-server.js.map +1 -1
  105. package/dist/remote/relay/convex/relay.d.ts +16 -8
  106. package/dist/remote/relay/convex/relay.d.ts.map +1 -1
  107. package/dist/remote/relay/convex/relay.js +72 -13
  108. package/dist/remote/relay/convex/relay.js.map +1 -1
  109. package/dist/remote/relay/convex/server/index.d.ts +2 -0
  110. package/dist/remote/relay/convex/server/index.d.ts.map +1 -0
  111. package/dist/remote/relay/convex/server/index.js +2 -0
  112. package/dist/remote/relay/convex/server/index.js.map +1 -0
  113. package/dist/remote/relay/convex/server.d.ts +150 -0
  114. package/dist/remote/relay/convex/server.d.ts.map +1 -0
  115. package/dist/remote/relay/convex/server.js +506 -0
  116. package/dist/remote/relay/convex/server.js.map +1 -0
  117. package/dist/remote/relay/index.d.ts +1 -1
  118. package/dist/remote/relay/index.d.ts.map +1 -1
  119. package/dist/remote/relay/index.js.map +1 -1
  120. package/dist/remote/relay/mock/adapter.d.ts +31 -13
  121. package/dist/remote/relay/mock/adapter.d.ts.map +1 -1
  122. package/dist/remote/relay/mock/adapter.js +66 -61
  123. package/dist/remote/relay/mock/adapter.js.map +1 -1
  124. package/dist/remote/relay/mock/group-server.d.ts +9 -0
  125. package/dist/remote/relay/mock/group-server.d.ts.map +1 -0
  126. package/dist/remote/relay/mock/group-server.js +9 -0
  127. package/dist/remote/relay/mock/group-server.js.map +1 -0
  128. package/dist/remote/relay/types.d.ts +45 -14
  129. package/dist/remote/relay/types.d.ts.map +1 -1
  130. package/dist/types/api.d.ts +2 -2
  131. package/dist/types/api.d.ts.map +1 -1
  132. package/docs/DEVIATIONS.md +35 -32
  133. package/docs/PACKAGE_SURFACE.md +5 -0
  134. package/docs/api/classes/EndorsementManager.md +18 -0
  135. package/docs/api/classes/SignalProtocolClient.md +77 -77
  136. package/docs/api/functions/createGroupId.md +1 -1
  137. package/docs/api/functions/decodeGroupTrustRoot.md +21 -0
  138. package/docs/api/functions/encodeGroupTrustRoot.md +28 -0
  139. package/docs/api/functions/extractGroupId.md +2 -2
  140. package/docs/api/functions/isGroupId.md +1 -1
  141. package/docs/api/interfaces/GroupTrustRoot.md +33 -0
  142. package/docs/api/interfaces/IRelayGroupServer.md +60 -0
  143. package/docs/api/interfaces/ISignalProtocolClient.md +1 -1
  144. package/docs/api/interfaces/ISignalProtocolRelayServer.md +8 -0
  145. package/docs/api/interfaces/SignalProtocolClientCompositionOptions.md +66 -28
  146. package/docs/api/interfaces/SignalProtocolClientConfig.md +82 -26
  147. package/docs/api/interfaces/SignalProtocolClientIdentityConfig.md +16 -0
  148. package/docs/api/type-aliases/GroupId.md +2 -2
  149. package/docs/api/variables/GROUP_ID_PREFIX.md +11 -0
  150. package/docs/api/variables/GROUP_TRUST_ROOT_VERSION.md +11 -0
  151. package/groups/README.md +16 -5
  152. package/package.json +13 -2
  153. package/remote/relay/convex/README.md +6 -0
  154. package/remote/relay/convex/server/README.md +146 -0
  155. package/scripts/oe-groups.mjs +142 -0
  156. package/dist/internal/groups-v2/access-control.d.ts +0 -108
  157. package/dist/internal/groups-v2/access-control.d.ts.map +0 -1
  158. package/dist/internal/groups-v2/access-control.js +0 -191
  159. package/dist/internal/groups-v2/access-control.js.map +0 -1
  160. package/dist/internal/groups-v2/change-actions.d.ts +0 -40
  161. package/dist/internal/groups-v2/change-actions.d.ts.map +0 -1
  162. package/dist/internal/groups-v2/change-actions.js +0 -363
  163. package/dist/internal/groups-v2/change-actions.js.map +0 -1
  164. package/dist/internal/groups-v2/encrypted-state.d.ts.map +0 -1
  165. package/dist/internal/groups-v2/encrypted-state.js.map +0 -1
  166. package/dist/internal/groups-v2/index.d.ts +0 -19
  167. package/dist/internal/groups-v2/index.d.ts.map +0 -1
  168. package/dist/internal/groups-v2/index.js +0 -11
  169. package/dist/internal/groups-v2/index.js.map +0 -1
  170. package/dist/internal/groups-v2/invite-link.d.ts.map +0 -1
  171. package/dist/internal/groups-v2/invite-link.js.map +0 -1
  172. package/dist/internal/groups-v2/manager.d.ts.map +0 -1
  173. package/dist/internal/groups-v2/manager.js +0 -1095
  174. package/dist/internal/groups-v2/manager.js.map +0 -1
  175. package/dist/internal/groups-v2/types.d.ts.map +0 -1
  176. package/dist/internal/groups-v2/types.js.map +0 -1
  177. package/docs/api/variables/GROUP_V2_PREFIX.md +0 -11
  178. /package/dist/internal/{groups-v2 → groups}/invite-link.d.ts +0 -0
  179. /package/dist/internal/{groups-v2 → groups}/invite-link.js +0 -0
package/ARCHITECTURE.md CHANGED
@@ -90,7 +90,7 @@ The executable layer map lives in [layers.ts](./layers.ts).
90
90
  | Layer | Name | Runtime directories | Responsibility |
91
91
  | ----- | ----------------- | -------------------------------------------------------------- | ----------------------------------------------------------------- |
92
92
  | 1 | API | `client/` | Public client boundary and application-facing workflows |
93
- | 2 | Orchestration | `internal/manager/`, `internal/sesame/`, `internal/groups-v2/` | Coordinate sessions, devices, groups, retries, relay/store ports |
93
+ | 2 | Orchestration | `internal/manager/`, `internal/sesame/`, `internal/groups/` | Coordinate sessions, devices, groups, retries, relay/store ports |
94
94
  | 3 | Domain/Session | `internal/session/`, `safety/` | Session records, handshake, cipher, safety numbers |
95
95
  | 4 | Domain/Algorithms | `internal/protocol/` | Key agreement, ratchets, sender keys, sealed sender, ZK protocols |
96
96
  | 5 | Domain/Keys | `keys/` | Key types and generation |
package/CHANGELOG.md CHANGED
@@ -1,5 +1,200 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.0-alpha.7
4
+
5
+ - **Security (Convex group server):** structured rejection data now survives
6
+ real deployments. Engine rejections and the adapter's own conflict and
7
+ missing-group rejections are thrown as `ConvexError` values carrying
8
+ `{ code, status, message }`; production Convex strips custom properties
9
+ from plain errors, which silently disabled the client's documented
10
+ `VERSION_CONFLICT` rebase-and-retry path on live deployments.
11
+ - Fixed the Convex group server reading snapshots and changes through a
12
+ partial index range with a post-filter, which scanned every stored row for
13
+ the group on each lookup; catch-up reads for long-lived groups could exceed
14
+ Convex transaction limits and permanently fail. Snapshot lookups now use
15
+ the full compound index and change reads constrain the version range in
16
+ the index.
17
+ - **Security (groups):** the pending-member, requesting-member, and
18
+ banned-member collections are now bounded by the same 1000-entry limit as
19
+ full members, enforced during change application and on every validated
20
+ state, with the client-side structural validation mirroring the caps. A
21
+ single change could previously inflate a group's stored state without
22
+ bound.
23
+ - The Convex group server now derives its server parameters once per isolate
24
+ and caches them keyed by the environment secret, instead of re-deriving on
25
+ every request; the deployment seed is also zeroized when validation of the
26
+ configured secret fails, and `identify()` returning no identity is
27
+ rejected with a structured `UNAUTHORIZED` error instead of a `TypeError`.
28
+ - Fixed `oe-groups trust-root` failing on Windows by importing its runtime
29
+ modules via `file://` URLs.
30
+ - **Security (relay group bridge):** `ConvexSignalProtocolRelayServer.submitGroupChange`
31
+ now rejects legacy six-argument submissions carrying a caller-selected
32
+ epoch, matching `ConvexGroupServer`'s S13 guard; the relay bridge is now
33
+ certified by its own run of the §14 conformance suite, and endorsement
34
+ issuance is cryptographically verified against the reference server in the
35
+ parity suite.
36
+ - Documented that the Convex group-server modules must be mounted inside the
37
+ relay's generated `api.signal` namespace (`convex/signal/groups.ts` and
38
+ `convex/signal/zkAuth.ts`); the previous top-level placement compiled
39
+ cleanly but never enabled the relay's `groupServer` capability. Also
40
+ documented snapshot-retention growth, the placeholder-PNI prohibition for
41
+ `identify()`, and updated `docs/DEVIATIONS.md` to describe the enforcing
42
+ group server and its unblinded profile-key issuance deviation.
43
+ - Added the production `defineConvexGroupServer` integration at
44
+ `@open-e2ee/signal-protocol-sdk/remote/relay/convex/server`, including
45
+ package-scoped canonical-state, signed-change, and historical-snapshot
46
+ tables; S1–S14 enforcement; auth/profile-key credential issuance;
47
+ group-send endorsements; environment-secret custody; and the
48
+ `oe-groups trust-root` CLI. Profile-key credential issuance receives the
49
+ raw profile key and is not blinded. The public
50
+ `ConvexSignalProtocolRelayApi` now makes `groups` and `zkAuth` optional,
51
+ and the relay advertises its `groupServer` capability only when both API
52
+ modules are configured.
53
+ - **Breaking (groups):** client configuration now accepts one versioned,
54
+ serialized `trustRoot` instead of separate credential, change-signing,
55
+ profile-key credential, and endorsement trust fields. Group identities are
56
+ derived from the client's own identity configuration, and group state
57
+ defaults to the SDK storage layer. Relays may expose an optional
58
+ `groupServer` capability containing the server and credential-issuance
59
+ transports; clients use it automatically while retaining explicit server
60
+ and issuer overrides for custom deployments. Configuring groups without
61
+ either the relay capability or complete explicit overrides now fails with a
62
+ targeted configuration error, and configured endorsement verification must
63
+ match the endorsement root in the pinned blob. No compatibility aliases are
64
+ provided.
65
+ - **Breaking (groups): removed the borrowed `v2` naming from the group
66
+ system.** `GroupsV2Manager` is now `GroupManager`,
67
+ `GroupsV2ManagerOptions` is now `GroupManagerOptions`, the client
68
+ configuration key is now `groups`, and the client group methods no longer
69
+ carry a `V2` suffix. The implementation now lives entirely under
70
+ `internal/groups/`. No compatibility aliases are provided.
71
+ - **Breaking (group identifiers):** `GROUP_V2_PREFIX` is now
72
+ `GROUP_ID_PREFIX`, and group IDs use the package-owned
73
+ `open-e2ee:group:` prefix. The pre-launch prefix has no migration or
74
+ dual-read path.
75
+ - **Breaking (group validation):** `validateChange` is now
76
+ `validateChangeStructure` to make clear that it checks well-formedness, not
77
+ authorization. It now rejects already-banned additions and promotion
78
+ targets that are absent after explicit ACI/PNI-to-ServiceId widening.
79
+ - **Breaking (group membership):** group setup now requires the account's
80
+ profile-key credential issuer, trust root, and 32-byte profile key.
81
+ `createGroup()` and `addGroupMember()` accept either a target with verified
82
+ presentation material for an immediate add or a ServiceId-only invitation;
83
+ invited targets call `acceptGroupMemberInvitation()` and present their own
84
+ profile key. The old `{ aciBytes, profileKey }` direct-add path is removed,
85
+ and runtime inputs must match exactly one variant's complete field and byte
86
+ domains instead of being omitted, partially discarded, or processed
87
+ ambiguously.
88
+ - Fixed pending-member promotion comparing 16-byte ACI/PNI values directly
89
+ with 17-byte ServiceIds, silently skipping valid promotions. Promotions now
90
+ fail when the pending entry is absent or the destination is already a
91
+ member, preserve the invited role, and apply in the normative action order.
92
+ - Fixed `AccessRequired.ANY` excluding non-members, and implemented the full
93
+ target-sensitive group authorization table including self-leave,
94
+ self-decline, self-withdraw, invite-link requests, and member-label access.
95
+ - Fixed group mutations encoding their editor as a raw 16-byte ACI instead of
96
+ a canonical 17-byte ServiceId, and consistently use full ServiceIds for
97
+ authorization principals and banned-member checks.
98
+ - Fixed encrypted group state storing only the 32-byte group identifier in
99
+ `publicKey`; it now stores the canonical 96-byte serialized
100
+ `GroupPublicParams` required for credential verification.
101
+ - **Breaking (group server contract):** group changes now carry exact
102
+ server-accepted `actions`, `changeEpoch`, and the independently presented
103
+ invite-link password; clients no longer submit a replacement encrypted
104
+ snapshot. Group servers must also implement the password-gated reduced
105
+ `getGroupJoinInfo` read and exact-version `getGroup` snapshots for race-safe
106
+ post-join baselines. Every full-state response now carries a
107
+ `baselineSignature` over its group ID, version, and exact encrypted-state
108
+ bytes; clients accept signed snapshots only for a first baseline or after
109
+ their own verified revocation ends an entitlement span. Change submissions
110
+ no longer carry a caller-selected epoch: the server derives epoch 0, 5, or
111
+ 6 from the canonical accepted actions and signs it, and clients recompute
112
+ the same value exactly before applying the change.
113
+ - **Security (groups):** every applied change is now checked for its server
114
+ signature, group binding, strict sequence, pre-state authorization, and
115
+ structural validity. Signatures bind the exact accepted actions together
116
+ with their compatibility epoch.
117
+ - **Breaking (group state storage):** `IGroupStateStore` now atomically stores
118
+ accepted state with a durable sender-key rotation barrier and exposes
119
+ revision-checked barrier read/clear methods. Removal, ban, and termination
120
+ block every group-send path until rotation succeeds, including after
121
+ callback failure or client reconstruction. Endorsement invalidation remains
122
+ non-fatal.
123
+ - **Security (group sending):** managed groups now require verified accepted
124
+ state at send time showing an unterminated group, current ACI membership,
125
+ and no ban on either of the sender's own identifiers. A stored master key
126
+ with missing state fails closed until sync restores a verified baseline;
127
+ ad-hoc sender-key groups with no group master key remain unaffected.
128
+ - **Security (group governance):** every non-terminated group must retain at
129
+ least one stored administrator. Creation, server-side atomic application,
130
+ complete-state client transitions, and signed baselines enforce the same
131
+ result-state invariant; last administrators may leave only while installing
132
+ a successor atomically. The deliberately member-free invite-link projection
133
+ remains private and is exempt only for its single additive self-join or
134
+ self-request action, with direct membership installed through the complete
135
+ signed baseline that follows.
136
+ - **Security (groups):** authentication credentials now represent a missing
137
+ PNI as true absence instead of a shared nil-UUID principal. Issuance and
138
+ client encryption/decryption reject nil identifiers; the reference server
139
+ applies ACI/PNI alias matching to roles, reads, bans, deterministic
140
+ attribution, and requester-specific pending status without attempting to
141
+ decrypt opaque identifiers.
142
+ - **Security (groups):** access-control fields now enforce their
143
+ specification-defined domains on creation, mutation, and decryption.
144
+ Out-of-domain hostile state fails closed, so `members = ANY` cannot become a
145
+ password-free self-add or third-party recruitment path.
146
+ - **Security (groups):** every creation or action path that introduces or
147
+ changes a profile-key ciphertext now requires a credential presentation
148
+ bound to the submitted ACI, profile key, and group. Missing, empty, or
149
+ mismatched proofs are rejected, pending invitations carry no profile
150
+ material, and verified request credentials are stripped before state or
151
+ signed history is persisted.
152
+ - **Security (group creation):** creation submissions no longer carry
153
+ client-asserted invitation provenance or pre-existing requesting and banned
154
+ entries. The enforcing server derives the creator and timestamp, signs only
155
+ canonical version zero, and the creator verifies and caches that exact
156
+ baseline instead of its optimistic submission.
157
+ - **Security (groups):** group actions now have exact per-action field
158
+ surfaces. The reference relay rejects client-asserted inviters, timestamps,
159
+ join revisions, labels, and PNIs where those fields are not defined; derives
160
+ accepted provenance and join metadata itself; and signs only that canonical
161
+ form. One shared exhaustive wire-domain validator makes the reference server
162
+ reject malformed submissions before applying or signing and makes clients
163
+ reject malformed signed actions and baselines before decrypting or
164
+ installing them, including wrong primitive, container, byte, enum,
165
+ timestamp, and join-revision types.
166
+ - **Security (groups):** nil or undecryptable pending, requesting, and banned
167
+ entry targets are now retained byte-for-byte as inert quarantined entries
168
+ instead of making a signed revision permanently unappliable. Activation
169
+ targets remain strict, and administrator delete actions can remove
170
+ quarantined entries by their preserved ciphertext.
171
+ - **Security (groups):** change-log reads in the executable reference server
172
+ are authorized at the requested historical snapshot and include the first
173
+ signed transition that removes, bans, or un-invites the requester, while
174
+ withholding every later transition.
175
+ - Fixed PNI-to-ACI promotion when both ACI- and PNI-keyed invitations exist.
176
+ Equal-role aliases are consumed atomically into one ACI member; conflicting
177
+ roles are rejected by both authorization monitors and can be resolved by
178
+ declining either invitation before promotion. Self-decline attribution now
179
+ follows the invitation alias named by the action, including when the same
180
+ requester also matches an ACI membership.
181
+ - **Breaking (groups):** omitting `serverSigningPublicKey` no longer silently
182
+ selects unsigned group history. Deployments without a conforming signing
183
+ server must explicitly set `allowUnauthenticatedGroupHistory: true`, which
184
+ continues to emit the documented security warning.
185
+ - The development-only in-memory relay is now the executable reference for the
186
+ complete encrypted group-server authorization contract: zk presentation
187
+ verification, server-derived requester attribution, pre-state authorization,
188
+ atomic sequencing, group binding, exact-byte signing, reduced invite reads,
189
+ independent invite-password checks, ACI/PNI field separation, and
190
+ representation-independent structural validation. Repeated invite joins are
191
+ idempotent. No production enforcing group server is supplied; explicitly
192
+ opting into operation without a pinned signing key emits the documented
193
+ non-conforming-deployment warning.
194
+ - Fixed `deserializeGroupPublicParams()` calling CommonJS `require()` from the
195
+ ESM package, which crashed the first real server-side group credential
196
+ verification before the proof could be checked.
197
+
3
198
  ## 0.1.0-alpha.6
4
199
 
5
200
  - **Breaking (key derivation): the X3DH and PQXDH info strings now name this
@@ -67,7 +262,7 @@
67
262
  Protocol " prefix; it now reads `Expo storage DB bindings not configured.
68
263
  Configure them from the host app before using Expo storage.` Anything
69
264
  matching on that text must be updated.
70
- - Corrected GroupsV2 source comments that described the permission model as
265
+ - Corrected group-system source comments that described the permission model as
71
266
  server-enforced. The checks in `access-control.ts` run on the client over
72
267
  already-decrypted state and bind an honest client, not a hostile one — the
73
268
  server sees only opaque state and a version number. Change application order
@@ -57,7 +57,7 @@ import { TypingAction } from './types.js';
57
57
  import * as PreKeyOps from './prekeys.js';
58
58
  import { type MediaAttachmentPointer } from '../media/index.js';
59
59
  import { type SignalProtocolClientMedia } from './media.js';
60
- import type { DecryptedGroup, AccessControl } from '../internal/groups-v2/index.js';
60
+ import type { DecryptedGroup, AccessControl, GroupMemberInput } from '../internal/groups/index.js';
61
61
  import type { GroupId } from '../internal/groups/group-id.js';
62
62
  export {};
63
63
  export { IMPLICIT_ENVELOPE_TYPES } from './constants.js';
@@ -96,7 +96,8 @@ export declare class SignalProtocolClient implements ISignalProtocolClient {
96
96
  private readonly sesameManager;
97
97
  private readonly _address;
98
98
  private readonly senderKeyManager;
99
- private groupsV2Manager?;
99
+ private groupManager?;
100
+ private groupStore?;
100
101
  private readonly cipher;
101
102
  /**
102
103
  * Durable media job facade backed by the configured Signal Protocol local store.
@@ -155,9 +156,9 @@ export declare class SignalProtocolClient implements ISignalProtocolClient {
155
156
  */
156
157
  fetchSenderCertificate(): Promise<string>;
157
158
  /**
158
- * Get GroupsV2Manager, throwing if not configured.
159
+ * Get GroupManager, throwing if not configured.
159
160
  */
160
- private get groupsV2();
161
+ private get groups();
161
162
  /**
162
163
  * Get retry configuration for retry operations
163
164
  */
@@ -551,7 +552,7 @@ export declare class SignalProtocolClient implements ISignalProtocolClient {
551
552
  *
552
553
  * All inputs are normalized to Uint8Array before reaching the cipher layer.
553
554
  *
554
- * @param recipientId - User ID or group ID (groups use the V2 group ID prefix)
555
+ * @param recipientId - User ID or group ID (groups use the package group ID prefix)
555
556
  * @param content - DataMessageInput, string, or Uint8Array to encrypt and send
556
557
  * @param options - Optional send options (isBinary for blob encryption, etc.)
557
558
  * @returns SendResult with messageId, timestamp, and device count
@@ -1219,12 +1220,9 @@ export declare class SignalProtocolClient implements ISignalProtocolClient {
1219
1220
  distributionMessage?: SenderKeyDistributionMessage;
1220
1221
  }>;
1221
1222
  /**
1222
- * Create a new GroupsV2 group.
1223
+ * Create a new group.
1223
1224
  */
1224
- createGroupV2(creatorAci: Uint8Array, creatorProfileKey: Uint8Array, members: Array<{
1225
- aciBytes: Uint8Array;
1226
- profileKey: Uint8Array;
1227
- }>, title: string, options?: {
1225
+ createGroup(creatorAci: Uint8Array, creatorProfileKey: Uint8Array, members: GroupMemberInput[], title: string, options?: {
1228
1226
  description?: string;
1229
1227
  accessControl?: Partial<AccessControl>;
1230
1228
  avatarUrl?: string;
@@ -1236,43 +1234,49 @@ export declare class SignalProtocolClient implements ISignalProtocolClient {
1236
1234
  /**
1237
1235
  * Get decrypted group state (from cache or server).
1238
1236
  */
1239
- getGroupStateV2(groupId: GroupId): Promise<DecryptedGroup>;
1237
+ getGroupState(groupId: GroupId): Promise<DecryptedGroup>;
1240
1238
  /**
1241
1239
  * Sync group state from server.
1242
1240
  */
1243
- syncGroupV2(groupId: GroupId): Promise<DecryptedGroup>;
1241
+ syncGroup(groupId: GroupId): Promise<DecryptedGroup>;
1244
1242
  /**
1245
- * Add a member to a GroupsV2 group.
1243
+ * Add a member to a group.
1246
1244
  */
1247
- addGroupMemberV2(groupId: GroupId, editorAci: Uint8Array, newMemberAci: Uint8Array, newMemberProfileKey: Uint8Array): Promise<void>;
1245
+ addGroupMember(groupId: GroupId, editorAci: Uint8Array, member: GroupMemberInput): Promise<void>;
1246
+ /** Accept this client's pending profile-key invitation. */
1247
+ acceptGroupMemberInvitation(groupId: GroupId): Promise<void>;
1248
1248
  /**
1249
- * Remove a member from a GroupsV2 group. Triggers sender key rotation.
1249
+ * Decline this account's ACI- or PNI-keyed pending invitation.
1250
1250
  */
1251
- removeGroupMemberV2(groupId: GroupId, editorAci: Uint8Array, targetAci: Uint8Array): Promise<void>;
1251
+ declineGroupMemberInvitation(groupId: GroupId, identity?: 'aci' | 'pni'): Promise<void>;
1252
1252
  /**
1253
- * Leave a GroupsV2 group.
1253
+ * Remove a member from a group. Triggers sender key rotation.
1254
1254
  */
1255
- leaveGroupV2(groupId: GroupId, userAci: Uint8Array): Promise<void>;
1255
+ removeGroupMember(groupId: GroupId, editorAci: Uint8Array, targetAci: Uint8Array): Promise<void>;
1256
1256
  /**
1257
- * Update GroupsV2 group title.
1257
+ * Leave a group.
1258
1258
  */
1259
- updateGroupTitleV2(groupId: GroupId, editorAci: Uint8Array, title: string): Promise<void>;
1259
+ leaveGroup(groupId: GroupId, userAci: Uint8Array): Promise<void>;
1260
1260
  /**
1261
- * Update GroupsV2 group description.
1261
+ * Update a group's title.
1262
1262
  */
1263
- updateGroupDescriptionV2(groupId: GroupId, editorAci: Uint8Array, description: string): Promise<void>;
1263
+ updateGroupTitle(groupId: GroupId, editorAci: Uint8Array, title: string): Promise<void>;
1264
1264
  /**
1265
- * Update GroupsV2 group access control.
1265
+ * Update a group's description.
1266
1266
  */
1267
- updateGroupAccessControlV2(groupId: GroupId, editorAci: Uint8Array, updates: Partial<AccessControl>): Promise<void>;
1267
+ updateGroupDescription(groupId: GroupId, editorAci: Uint8Array, description: string): Promise<void>;
1268
1268
  /**
1269
- * Create an invite link for a GroupsV2 group.
1269
+ * Update a group's access control.
1270
1270
  */
1271
- createGroupInviteLinkV2(groupId: GroupId, editorAci: Uint8Array): Promise<string>;
1271
+ updateGroupAccessControl(groupId: GroupId, editorAci: Uint8Array, updates: Partial<AccessControl>): Promise<void>;
1272
1272
  /**
1273
- * Join a GroupsV2 group via invite link.
1273
+ * Create an invite link for a group.
1274
1274
  */
1275
- joinGroupViaInviteLinkV2(url: string, userAci: Uint8Array, userProfileKey: Uint8Array): Promise<{
1275
+ createGroupInviteLink(groupId: GroupId, editorAci: Uint8Array): Promise<string>;
1276
+ /**
1277
+ * Join a group via invite link.
1278
+ */
1279
+ joinGroupViaInviteLink(url: string, userAci: Uint8Array, userProfileKey: Uint8Array): Promise<{
1276
1280
  groupId: GroupId;
1277
1281
  status: 'joined' | 'pending_approval';
1278
1282
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../client/client.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AAOH,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEjF,OAAO,KAAK,EACV,qBAAqB,EAItB,MAAM,UAAU,CAAC;AAIlB,OAAO,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