@reventlessdev/reventless-gwt 1.0.0-alpha.259 → 1.0.0-alpha.261

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
@@ -3,6 +3,29 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # 1.0.0-alpha.261 (2026-10-29)
7
+
8
+ **Note:** Version bump only for package @reventlessdev/reventless-gwt
9
+
10
+
11
+
12
+
13
+
14
+ # 1.0.0-alpha.260 (2026-10-29)
15
+
16
+ * feat(registration)!: the ledger tags an address by its keyed fingerprint ([ccafddf](https://github.com/ReventlessDev/reventless-core/commit/ccafddfc7eb8039687afc62a483ce34b8e7081dd))
17
+
18
+ ### BREAKING CHANGES
19
+
20
+ * `Secrets.t` has a third field, `fingerprint`; a hand-built provider
21
+ adds it. `Register` and `Invite` take `address`, and their `email` is the
22
+ fingerprint from `ContactAddressId.fingerprint`, not `makeFromString(address)`.
23
+
24
+ Step PD5 of docs/plans/a-personal-field-is-marked-redacted-and-encrypted-at-the-seam.md.
25
+ Claude-Session: https://claude.ai/code/session_01HiQfdxVEsHwLHRoHSUcus1
26
+
27
+
28
+
6
29
  # 1.0.0-alpha.259 (2026-10-29)
7
30
 
8
31
  **Note:** Version bump only for package @reventlessdev/reventless-gwt
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reventlessdev/reventless-gwt",
3
- "version": "1.0.0-alpha.259",
3
+ "version": "1.0.0-alpha.261",
4
4
  "description": "Given-When-Then DSLs and test harness for Reventless slice testing",
5
5
  "license": "Apache-2.0",
6
6
  "jest": {
@@ -15,11 +15,11 @@
15
15
  "dependencies": {
16
16
  "sury": "11.0.0",
17
17
  "@reventlessdev/rescript-effect": "1.0.0-alpha.1",
18
- "@reventlessdev/rescript-jest": "1.0.0-alpha.13",
19
18
  "@reventlessdev/rescript-node": "2.0.0-alpha.23",
20
- "@reventlessdev/reventless-core": "3.0.0-alpha.311",
21
- "@reventlessdev/reventless-infra": "3.0.0-alpha.208",
22
- "@reventlessdev/reventless-spec": "3.0.0-alpha.179"
19
+ "@reventlessdev/reventless-core": "3.0.0-alpha.313",
20
+ "@reventlessdev/rescript-jest": "1.0.0-alpha.13",
21
+ "@reventlessdev/reventless-infra": "3.0.0-alpha.210",
22
+ "@reventlessdev/reventless-spec": "3.0.0-alpha.181"
23
23
  },
24
24
  "devDependencies": {
25
25
  "rescript": "12.3.1",
@@ -120,6 +120,11 @@ let make = (
120
120
  | None => Ok(hash->Option.mapOr(`hash:${input}`, f => f(input)))
121
121
  }
122
122
  },
123
+ fingerprint: (~purpose, input) =>
124
+ switch secrets {
125
+ | Some(s) => s.fingerprint(~purpose, input)
126
+ | None => Ok(Reventless.Secrets.fixedFingerprint(~purpose, input))
127
+ },
123
128
  },
124
129
  stash: {
125
130
  put: async (~key, ~value, ~ttl) => {
@@ -3,6 +3,7 @@
3
3
  import * as Belt_Array from "@rescript/runtime/lib/es6/Belt_Array.js";
4
4
  import * as Stdlib_Dict from "@rescript/runtime/lib/es6/Stdlib_Dict.js";
5
5
  import * as Stdlib_Option from "@rescript/runtime/lib/es6/Stdlib_Option.js";
6
+ import * as Secrets$Reventless from "@reventlessdev/reventless-spec/src/semantic/Secrets.res.mjs";
6
7
  import * as Messaging$Reventless from "@reventlessdev/reventless-spec/src/semantic/Messaging.res.mjs";
7
8
  import * as IdentityProvider$Reventless from "@reventlessdev/reventless-spec/src/semantic/IdentityProvider.res.mjs";
8
9
 
@@ -129,6 +130,16 @@ function make(geocode, send, channelsOpt, pushServicesOpt, createPrincipal, toke
129
130
  _0: Stdlib_Option.mapOr(hash, `hash:` + input, f => f(input))
130
131
  };
131
132
  }
133
+ },
134
+ fingerprint: (purpose, input) => {
135
+ if (secrets !== undefined) {
136
+ return secrets.fingerprint(purpose, input);
137
+ } else {
138
+ return {
139
+ TAG: "Ok",
140
+ _0: Secrets$Reventless.fixedFingerprint(purpose, input)
141
+ };
142
+ }
132
143
  }
133
144
  };
134
145
  let capabilities_stash = {