@reventlessdev/reventless-aws 3.0.0-alpha.394 → 3.0.0-alpha.395

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,20 @@
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
+ # 3.0.0-alpha.395 (2026-10-22)
7
+
8
+ * feat(aws)!: the host shell's config.json names the identity provider under the neutral keys only ([6ce24ba](https://github.com/ReventlessDev/reventless-core/commit/6ce24ba7dde27da02f76f7f9f6284ad09a48f15a))
9
+ ### Features
10
+
11
+ * **local:** the local platform provisions an identity provider over the accounts file ([1a46867](https://github.com/ReventlessDev/reventless-core/commit/1a46867ac391b3b4a2d6973606d782547190dcb8))
12
+
13
+ ### BREAKING CHANGES
14
+
15
+ * a reader of the host shell's config.json that only knows cognitoClientId
16
+ or cognitoUserPoolId finds neither; read identityProviderClientId and identityProviderId.
17
+
18
+
19
+
6
20
  # 3.0.0-alpha.394 (2026-10-22)
7
21
 
8
22
  ### Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reventlessdev/reventless-aws",
3
- "version": "3.0.0-alpha.394",
3
+ "version": "3.0.0-alpha.395",
4
4
  "description": "AWS adapters for Reventless",
5
5
  "license": "Apache-2.0",
6
6
  "bin": {
@@ -23,18 +23,18 @@
23
23
  "uuid": "^13.0.0",
24
24
  "yaml": "^2.8.3",
25
25
  "@reventlessdev/rescript-aws-sdk": "3.0.0-alpha.33",
26
+ "@reventlessdev/rescript-effect": "1.0.0-alpha.1",
26
27
  "@reventlessdev/rescript-jest": "1.0.0-alpha.13",
27
28
  "@reventlessdev/rescript-node": "2.0.0-alpha.23",
28
- "@reventlessdev/rescript-effect": "1.0.0-alpha.1",
29
29
  "@reventlessdev/rescript-pulumi-aws": "3.0.0-alpha.31",
30
30
  "@reventlessdev/rescript-pulumi-pulumi": "3.0.0-alpha.0",
31
31
  "@reventlessdev/rescript-uuid": "2.0.0-alpha.1",
32
32
  "@reventlessdev/rescript-web": "1.0.0-alpha.8",
33
- "@reventlessdev/reventless-infra": "3.0.0-alpha.202",
34
- "@reventlessdev/reventless-core": "3.0.0-alpha.305",
35
- "@reventlessdev/reventless-postgres": "3.0.0-alpha.169",
33
+ "@reventlessdev/reventless-core": "3.0.0-alpha.306",
36
34
  "@reventlessdev/reventless-interop": "3.0.0-alpha.42",
37
- "@reventlessdev/reventless-spec": "3.0.0-alpha.174"
35
+ "@reventlessdev/reventless-spec": "3.0.0-alpha.175",
36
+ "@reventlessdev/reventless-infra": "3.0.0-alpha.203",
37
+ "@reventlessdev/reventless-postgres": "3.0.0-alpha.170"
38
38
  },
39
39
  "devDependencies": {
40
40
  "rescript": "12.3.1",
@@ -5,7 +5,6 @@ import * as Stdlib_JSON from "@rescript/runtime/lib/es6/Stdlib_JSON.js";
5
5
  import * as Stdlib_Array from "@rescript/runtime/lib/es6/Stdlib_Array.js";
6
6
  import * as Stdlib_Option from "@rescript/runtime/lib/es6/Stdlib_Option.js";
7
7
  import * as Role$Reventless from "@reventlessdev/reventless-spec/src/types/Role.res.mjs";
8
- import * as Primitive_object from "@rescript/runtime/lib/es6/Primitive_object.js";
9
8
  import * as Primitive_string from "@rescript/runtime/lib/es6/Primitive_string.js";
10
9
  import * as Primitive_exceptions from "@rescript/runtime/lib/es6/Primitive_exceptions.js";
11
10
  import * as Util_ShellConfig$ReventlessAws from "../src/util/Util_ShellConfig.res.mjs";
@@ -351,7 +350,7 @@ globalThis.describe("Util_ShellConfig.fields — shellConfig passthrough", () =>
351
350
  globalThis.describe("Util_ShellConfig.identityFields", () => {
352
351
  let fields = Util_ShellConfig$ReventlessAws.identityFields("eu-west-1_x", "7cl13nt");
353
352
  let get = key => Stdlib_Option.map(fields.find(param => param[0] === key), param => param[1]);
354
- globalThis.test("the new spelling is present", () => {
353
+ globalThis.test("the identity keys carry the pool and the client", () => {
355
354
  globalThis.expect([
356
355
  get("identityProviderId"),
357
356
  get("identityProviderClientId")
@@ -360,28 +359,8 @@ globalThis.describe("Util_ShellConfig.identityFields", () => {
360
359
  "7cl13nt"
361
360
  ]);
362
361
  });
363
- globalThis.test("the deprecated spelling is present too", () => {
364
- globalThis.expect([
365
- get("cognitoUserPoolId"),
366
- get("cognitoClientId")
367
- ]).toEqual([
368
- "eu-west-1_x",
369
- "7cl13nt"
370
- ]);
371
- });
372
- globalThis.test("both spellings carry identical values", () => {
373
- globalThis.expect([
374
- Primitive_object.equal(get("identityProviderId"), get("cognitoUserPoolId")),
375
- Primitive_object.equal(get("identityProviderClientId"), get("cognitoClientId"))
376
- ]).toEqual([
377
- true,
378
- true
379
- ]);
380
- });
381
362
  globalThis.test("nothing else sneaks into the identity field set", () => {
382
363
  globalThis.expect(fields.map(param => param[0]).toSorted(Primitive_string.compare)).toEqual([
383
- "cognitoClientId",
384
- "cognitoUserPoolId",
385
364
  "identityProviderClientId",
386
365
  "identityProviderId"
387
366
  ]);