@genesislcap/foundation-comms 14.154.3-alpha-94561a6.0 → 14.154.3-alpha-7f7d442.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- {"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../../src/auth/auth.ts"],"names":[],"mappings":"AAEA,OAAO,EAAmB,UAAU,EAAE,MAAM,MAAM,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAGL,cAAc,EAIf,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAe,IAAI,EAAE,MAAM,SAAS,CAAC;AAE5C,OAAO,EAAa,QAAQ,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE9E;;;GAGG;AACH,MAAM,WAAW,IAAI;IACnB;;;OAGG;IACH,SAAS,EAAE,OAAO,CAAC;IAEnB;;;;OAIG;IACH,QAAQ,CAAC,gBAAgB,EAAE,WAAW,CAAC;IAEvC;;;OAGG;IACH,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAC;IAE7B;;;OAGG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IAE3C;;;OAGG;IACH,QAAQ,CAAC,WAAW,EAAE,IAAI,CAAC;IAE3B;;;;;;OAMG;IACH,KAAK,CAAC,WAAW,EAAE,QAAQ,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC;IAEnD;;;;;OAKG;IACH,MAAM,IAAI,OAAO,CAAC,YAAY,CAAC,CAAC;IAEhC;;;;;OAKG;IACH,iBAAiB,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC;CACvC;AAED;;;GAGG;AACH,qBAAa,WAAY,YAAW,IAAI;IAsB3B,OAAO,CAAC,OAAO;IACf,OAAO,CAAC,OAAO;IACR,OAAO,CAAC,cAA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AAwB;IAmBhC;;;OAGG;IACH,OAAO,CAAC,gBAAgB;IAoBxB;;;OAGG;IACH,OAAO,CAAC,iBAAiB;CAI1B;AAED;;;GAGG;AACH,eAAO,MAAM,IAAI,4DAA4D,CAAC"}
@@ -121,6 +121,7 @@ export declare namespace MessageDetails {
121
121
  */
122
122
  type RefreshToken = {
123
123
  REFRESH_AUTH_TOKEN: string;
124
+ MFA_CODE?: string;
124
125
  };
125
126
  /**
126
127
  * Details type to request more rows
@@ -1 +1 @@
1
- {"version":3,"file":"message.d.ts","sourceRoot":"","sources":["../../../src/connect/message.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAY,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGrE;;;GAGG;AACH,oBAAY,WAAW;IACrB,SAAS,cAAc;IACvB,UAAU,eAAe;IAEzB,UAAU,eAAe;IACzB,WAAW,gBAAgB;IAE3B,cAAc,mBAAmB;IACjC,cAAc,mBAAmB;IAEjC,SAAS,cAAc;IAEvB,OAAO,YAAY;IACnB,QAAQ,aAAa;IAErB,UAAU,eAAe;IACzB,WAAW,gBAAgB;IAE3B,YAAY,iBAAiB;CAC9B;AAED;;;GAGG;AACH,oBAAY,gBAAgB;IAC1B,gBAAgB,qBAAqB;IACrC,oBAAoB,yBAAyB;IAC7C,qBAAqB,0BAA0B;IAE/C,YAAY,iBAAiB;IAC7B,UAAU,eAAe;IACzB,WAAW,gBAAgB;IAE3B,YAAY,iBAAiB;IAC7B,mBAAmB,wBAAwB;IAC3C,iBAAiB,sBAAsB;IAEvC,0BAA0B,+BAA+B;IACzD,iCAAiC,sCAAsC;IACvE,2BAA2B,gCAAgC;CAC5D;AAED;;;GAGG;AACH,oBAAY,WAAW;IACrB,iBAAiB,sBAAsB;IACvC,oBAAoB,yBAAyB;CAC9C;AAED;;GAEG;AACH,yBAAiB,cAAc,CAAC;IAC9B;;;OAGG;IACH,KAAY,UAAU,GAAG;QACvB,SAAS,EAAE,MAAM,CAAC;QAClB,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,EAAE,GAAG,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;IAE1D;;;;;;;;OAQG;IACH,wBAAwB,CACtB,YAAY,EAAE,MAAM,EACpB,WAAW,CAAC,EAAE,gBAAgB,GAC7B,OAAO,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC;IAEvC;;;;;;;OAOG;IACH,mBAAmB,CAAC,CAAC,GAAG,GAAG,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,YAAY,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;IAEnF;;;;;;OAMG;IACH,yBAAyB,IAAI,OAAO,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC;IAElE;;;;;;;;;OASG;IACH,2BAA2B,CACzB,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;IAE1C;;;;;;;;;OASG;IACH,2BAA2B,CACzB,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,MAAM,EACjB,SAAS,CAAC,EAAE,MAAM,GACjB,OAAO,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;IAE1C;;;;;;;;;OASG;IACH,gCAAgC,CAC9B,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,MAAM,EACnB,SAAS,CAAC,EAAE,MAAM,GACjB,OAAO,CAAC,cAAc,CAAC,mBAAmB,CAAC,CAAC;IAE/C;;;;;;;OAOG;IACH,4BAA4B,CAAC,OAAO,EAAE,OAAO,EAAE,WAAW,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC;CACnF;AAuND;;;GAGG;AACH,eAAO,MAAM,cAAc,sEAE1B,CAAC"}
@@ -181,6 +181,11 @@ export interface CredentialManager {
181
181
  * @public
182
182
  */
183
183
  removeRefreshToken(): void;
184
+ /**
185
+ * Removes the current MFA token, if any.
186
+ * @public
187
+ */
188
+ removeMFAToken(): void;
184
189
  /**
185
190
  * Removes all user crendentials data.
186
191
  * @public
@@ -222,6 +227,7 @@ export declare class DefaultCredentialManager implements CredentialManager {
222
227
  removeSSOToken(): void;
223
228
  removeUsername(): void;
224
229
  removeRefreshToken(): void;
230
+ removeMFAToken(): void;
225
231
  removeAll(): void;
226
232
  preventSilentAccess(): Promise<void>;
227
233
  }
@@ -1 +1 @@
1
- {"version":3,"file":"credentialManager.d.ts","sourceRoot":"","sources":["../../../src/credentialManager/credentialManager.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtF,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,OAAO,KAAK,EACV,qBAAqB,EACrB,cAAc,EACd,oBAAoB,EACpB,uBAAuB,EACvB,mBAAmB,EACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAcpE;;;GAGG;AACH,eAAO,MAAM,mBAAmB,MAAM,CAAC;AAqDvC;;;GAGG;AACH,eAAO,MAAM,+BAA+B,EAAE,oBAG7C,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,8BAA8B,EAAE,uBAY5C,CAAC;AAEF;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAChC;;;;;OAKG;IACH,sBAAsB,CAAC,MAAM,EAAE,qBAAqB,GAAG,aAAa,CAAC;IAErE;;;;;OAKG;IACH,wBAAwB,CAAC,MAAM,CAAC,EAAE,uBAAuB,GAAG,eAAe,CAAC;IAE5E;;;;;OAKG;IACH,oBAAoB,CAAC,MAAM,CAAC,EAAE,mBAAmB,GAAG,WAAW,CAAC;IAEhE;;;;;OAKG;IACH,wBAAwB,CAAC,WAAW,EAAE,aAAa,GAAG,OAAO,CAAC;IAE9D;;;;;OAKG;IACH,0BAA0B,CAAC,WAAW,EAAE,eAAe,GAAG,OAAO,CAAC;IAElE;;;;;OAKG;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Ac,GAAG,SAAS,CAAC;IAOzF,WAAW;IAIX,WAAW;IAOX,eAAe;IAQf,WAAW;IAKX,YAAY;IAOZ,cAAc;IAId,cAAc;IAKd,kBAAkB;IAKlB,SAAS;IAOT,mBAAmB;CAGpB;AAED;;;GAGG;AACH,eAAO,MAAM,iBAAiB,yEAE7B,CAAC"}
1
+ {"version":3,"file":"credentialManager.d.ts","sourceRoot":"","sources":["../../../src/credentialManager/credentialManager.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtF,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,OAAO,KAAK,EACV,qBAAqB,EACrB,cAAc,EACd,oBAAoB,EACpB,uBAAuB,EACvB,mBAAmB,EACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAcpE;;;GAGG;AACH,eAAO,MAAM,mBAAmB,MAAM,CAAC;AAqDvC;;;GAGG;AACH,eAAO,MAAM,+BAA+B,EAAE,oBAG7C,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,8BAA8B,EAAE,uBAY5C,CAAC;AAEF;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAChC;;;;;OAKG;IACH,sBAAsB,CAAC,MAAM,EAAE,qBAAqB,GAAG,aAAa,CAAC;IAErE;;;;;OAKG;IACH,wBAAwB,CAAC,MAAM,CAAC,EAAE,uBAAuB,GAAG,eAAe,CAAC;IAE5E;;;;;OAKG;IACH,oBAAoB,CAAC,MAAM,CAAC,EAAE,mBAAmB,GAAG,WAAW,CAAC;IAEhE;;;;;OAKG;IACH,wBAAwB,CAAC,WAAW,EAAE,aAAa,GAAG,OAAO,CAAC;IAE9D;;;;;OAKG;IACH,0BAA0B,CAAC,WAAW,EAAE,eAAe,GAAG,OAAO,CAAC;IAElE;;;;;OAKG;IACH,sBAAsB,CAAC,WAAW,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AAG,OAAO,CAAC,cAAc,GAAG,SAAS,CAAC;IAOzF,WAAW;IAIX,WAAW;IAOX,eAAe;IAQf,WAAW;IAIX,YAAY;IAOZ,cAAc;IAId,cAAc;IAKd,kBAAkB;IAKlB,cAAc;IAId,SAAS;IAQT,mBAAmB;CAGpB;AAED;;;GAGG;AACH,eAAO,MAAM,iBAAiB,yEAE7B,CAAC"}
@@ -128,8 +128,8 @@ let DefaultAuth = class DefaultAuth {
128
128
  reAuthFromSession() {
129
129
  return __awaiter(this, void 0, void 0, function* () {
130
130
  const isConnected = yield this.ensureConnection();
131
- if (isConnected &&
132
- !this.credentialManager.validateRefreshCredentials(this.credentialManager.createRefreshCredentials())) {
131
+ const cm = this.credentialManager;
132
+ if (isConnected && cm.validateRefreshCredentials(cm.createRefreshCredentials())) {
133
133
  const refreshTokenMessage = this.messageBuilder.createRefreshTokenMessage();
134
134
  const refreshTokenResult = yield this.connect.send(refreshTokenMessage);
135
135
  if ((refreshTokenResult === null || refreshTokenResult === void 0 ? void 0 : refreshTokenResult.MESSAGE_TYPE) === EventMessageType.EVENT_LOGIN_AUTH_ACK) {
@@ -158,6 +158,7 @@ let MessageBuilderService = class MessageBuilderService {
158
158
  MESSAGE_TYPE: EventMessageType.EVENT_LOGIN_AUTH,
159
159
  DETAILS: {
160
160
  REFRESH_AUTH_TOKEN: this.session.getSessionStorageItem('refreshToken'),
161
+ MFA_CODE: this.session.getSessionStorageItem('mfaToken'),
161
162
  },
162
163
  };
163
164
  }
@@ -254,8 +254,7 @@ let DefaultCredentialManager = class DefaultCredentialManager {
254
254
  this.session.getLocalStorageItem('refreshToken'));
255
255
  }
256
256
  getMFAToken() {
257
- const queryParams = new URLSearchParams(window.location.search);
258
- return queryParams.get('MFA_CODE');
257
+ return this.session.getSessionStorageItem('mfaToken');
259
258
  }
260
259
  removeCookie() {
261
260
  jsCookie.remove(this.config.cookie.name, {
@@ -274,11 +273,15 @@ let DefaultCredentialManager = class DefaultCredentialManager {
274
273
  this.session.removeSessionStorageItem('refreshToken');
275
274
  this.session.removeLocalStorageItem('refreshToken');
276
275
  }
276
+ removeMFAToken() {
277
+ this.session.removeSessionStorageItem('mfaToken');
278
+ }
277
279
  removeAll() {
278
280
  this.removeCookie();
279
281
  this.removeSSOToken();
280
282
  this.removeUsername();
281
283
  this.removeRefreshToken();
284
+ this.removeMFAToken();
282
285
  }
283
286
  preventSilentAccess() {
284
287
  return supportsCredentialsContainer() && navigator.credentials.preventSilentAccess();
@@ -2600,6 +2600,34 @@
2600
2600
  "parameters": [],
2601
2601
  "name": "removeCookie"
2602
2602
  },
2603
+ {
2604
+ "kind": "MethodSignature",
2605
+ "canonicalReference": "@genesislcap/foundation-comms!CredentialManager#removeMFAToken:member(1)",
2606
+ "docComment": "/**\n * Removes the current MFA token, if any.\n *\n * @public\n */\n",
2607
+ "excerptTokens": [
2608
+ {
2609
+ "kind": "Content",
2610
+ "text": "removeMFAToken(): "
2611
+ },
2612
+ {
2613
+ "kind": "Content",
2614
+ "text": "void"
2615
+ },
2616
+ {
2617
+ "kind": "Content",
2618
+ "text": ";"
2619
+ }
2620
+ ],
2621
+ "isOptional": false,
2622
+ "returnTypeTokenRange": {
2623
+ "startIndex": 1,
2624
+ "endIndex": 2
2625
+ },
2626
+ "releaseTag": "Public",
2627
+ "overloadIndex": 1,
2628
+ "parameters": [],
2629
+ "name": "removeMFAToken"
2630
+ },
2603
2631
  {
2604
2632
  "kind": "MethodSignature",
2605
2633
  "canonicalReference": "@genesislcap/foundation-comms!CredentialManager#removeRefreshToken:member(1)",
@@ -7935,6 +7963,37 @@
7935
7963
  "isAbstract": false,
7936
7964
  "name": "removeCookie"
7937
7965
  },
7966
+ {
7967
+ "kind": "Method",
7968
+ "canonicalReference": "@genesislcap/foundation-comms!DefaultCredentialManager#removeMFAToken:member(1)",
7969
+ "docComment": "",
7970
+ "excerptTokens": [
7971
+ {
7972
+ "kind": "Content",
7973
+ "text": "removeMFAToken(): "
7974
+ },
7975
+ {
7976
+ "kind": "Content",
7977
+ "text": "void"
7978
+ },
7979
+ {
7980
+ "kind": "Content",
7981
+ "text": ";"
7982
+ }
7983
+ ],
7984
+ "isStatic": false,
7985
+ "returnTypeTokenRange": {
7986
+ "startIndex": 1,
7987
+ "endIndex": 2
7988
+ },
7989
+ "releaseTag": "Public",
7990
+ "isProtected": false,
7991
+ "overloadIndex": 1,
7992
+ "parameters": [],
7993
+ "isOptional": false,
7994
+ "isAbstract": false,
7995
+ "name": "removeMFAToken"
7996
+ },
7938
7997
  {
7939
7998
  "kind": "Method",
7940
7999
  "canonicalReference": "@genesislcap/foundation-comms!DefaultCredentialManager#removeRefreshToken:member(1)",
@@ -15981,7 +16040,7 @@
15981
16040
  },
15982
16041
  {
15983
16042
  "kind": "Content",
15984
- "text": "{\n REFRESH_AUTH_TOKEN: string;\n }"
16043
+ "text": "{\n REFRESH_AUTH_TOKEN: string;\n MFA_CODE?: string;\n }"
15985
16044
  },
15986
16045
  {
15987
16046
  "kind": "Content",
@@ -539,6 +539,11 @@ export declare interface CredentialManager {
539
539
  * @public
540
540
  */
541
541
  removeRefreshToken(): void;
542
+ /**
543
+ * Removes the current MFA token, if any.
544
+ * @public
545
+ */
546
+ removeMFAToken(): void;
542
547
  /**
543
548
  * Removes all user crendentials data.
544
549
  * @public
@@ -1061,6 +1066,7 @@ export declare class DefaultCredentialManager implements CredentialManager {
1061
1066
  removeSSOToken(): void;
1062
1067
  removeUsername(): void;
1063
1068
  removeRefreshToken(): void;
1069
+ removeMFAToken(): void;
1064
1070
  removeAll(): void;
1065
1071
  preventSilentAccess(): Promise<void>;
1066
1072
  }
@@ -2360,6 +2366,7 @@ export declare namespace MessageDetails {
2360
2366
  */
2361
2367
  export type RefreshToken = {
2362
2368
  REFRESH_AUTH_TOKEN: string;
2369
+ MFA_CODE?: string;
2363
2370
  };
2364
2371
  /**
2365
2372
  * Details type to request more rows
@@ -30,6 +30,7 @@ export interface CredentialManager
30
30
  | [preventSilentAccess()](./foundation-comms.credentialmanager.preventsilentaccess.md) | Prevents silent access by requiring the user to authenticate before making API requests. |
31
31
  | [removeAll()](./foundation-comms.credentialmanager.removeall.md) | Removes all user crendentials data. |
32
32
  | [removeCookie()](./foundation-comms.credentialmanager.removecookie.md) | Removes the user's cookie. |
33
+ | [removeMFAToken()](./foundation-comms.credentialmanager.removemfatoken.md) | Removes the current MFA token, if any. |
33
34
  | [removeRefreshToken()](./foundation-comms.credentialmanager.removerefreshtoken.md) | Removes the current refresh token, if any. |
34
35
  | [removeSSOToken()](./foundation-comms.credentialmanager.removessotoken.md) | Removes the current SSO token, if any. |
35
36
  | [removeUsername()](./foundation-comms.credentialmanager.removeusername.md) | Removes the current username, if any. |
@@ -0,0 +1,17 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [CredentialManager](./foundation-comms.credentialmanager.md) &gt; [removeMFAToken](./foundation-comms.credentialmanager.removemfatoken.md)
4
+
5
+ ## CredentialManager.removeMFAToken() method
6
+
7
+ Removes the current MFA token, if any.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ removeMFAToken(): void;
13
+ ```
14
+ **Returns:**
15
+
16
+ void
17
+
@@ -37,6 +37,7 @@ export declare class DefaultCredentialManager implements CredentialManager
37
37
  | [preventSilentAccess()](./foundation-comms.defaultcredentialmanager.preventsilentaccess.md) | | |
38
38
  | [removeAll()](./foundation-comms.defaultcredentialmanager.removeall.md) | | |
39
39
  | [removeCookie()](./foundation-comms.defaultcredentialmanager.removecookie.md) | | |
40
+ | [removeMFAToken()](./foundation-comms.defaultcredentialmanager.removemfatoken.md) | | |
40
41
  | [removeRefreshToken()](./foundation-comms.defaultcredentialmanager.removerefreshtoken.md) | | |
41
42
  | [removeSSOToken()](./foundation-comms.defaultcredentialmanager.removessotoken.md) | | |
42
43
  | [removeUsername()](./foundation-comms.defaultcredentialmanager.removeusername.md) | | |
@@ -0,0 +1,15 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [DefaultCredentialManager](./foundation-comms.defaultcredentialmanager.md) &gt; [removeMFAToken](./foundation-comms.defaultcredentialmanager.removemfatoken.md)
4
+
5
+ ## DefaultCredentialManager.removeMFAToken() method
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ removeMFAToken(): void;
11
+ ```
12
+ **Returns:**
13
+
14
+ void
15
+
@@ -11,5 +11,6 @@ Details type for a refresh-token message
11
11
  ```typescript
12
12
  type RefreshToken = {
13
13
  REFRESH_AUTH_TOKEN: string;
14
+ MFA_CODE?: string;
14
15
  };
15
16
  ```
@@ -256,6 +256,7 @@ export interface CredentialManager {
256
256
  preventSilentAccess(): Promise<void>;
257
257
  removeAll(): void;
258
258
  removeCookie(): void;
259
+ removeMFAToken(): void;
259
260
  removeRefreshToken(): void;
260
261
  removeSSOToken(): void;
261
262
  removeUsername(): void;
@@ -562,6 +563,8 @@ export class DefaultCredentialManager implements CredentialManager {
562
563
  // (undocumented)
563
564
  removeCookie(): void;
564
565
  // (undocumented)
566
+ removeMFAToken(): void;
567
+ // (undocumented)
565
568
  removeRefreshToken(): void;
566
569
  // (undocumented)
567
570
  removeSSOToken(): void;
@@ -1265,6 +1268,7 @@ export namespace MessageDetails {
1265
1268
  };
1266
1269
  export type RefreshToken = {
1267
1270
  REFRESH_AUTH_TOKEN: string;
1271
+ MFA_CODE?: string;
1268
1272
  };
1269
1273
  export type ResetPassword = {
1270
1274
  USER_NAME: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-comms",
3
3
  "description": "Genesis Foundation UI Comms",
4
- "version": "14.154.3-alpha-94561a6.0",
4
+ "version": "14.154.3-alpha-7f7d442.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -59,13 +59,13 @@
59
59
  "test:debug": "genx test --debug"
60
60
  },
61
61
  "devDependencies": {
62
- "@genesislcap/foundation-testing": "14.154.3-alpha-94561a6.0",
63
- "@genesislcap/genx": "14.154.3-alpha-94561a6.0",
64
- "@genesislcap/rollup-builder": "14.154.3-alpha-94561a6.0",
65
- "@genesislcap/ts-builder": "14.154.3-alpha-94561a6.0",
66
- "@genesislcap/uvu-playwright-builder": "14.154.3-alpha-94561a6.0",
67
- "@genesislcap/vite-builder": "14.154.3-alpha-94561a6.0",
68
- "@genesislcap/webpack-builder": "14.154.3-alpha-94561a6.0",
62
+ "@genesislcap/foundation-testing": "14.154.3-alpha-7f7d442.0",
63
+ "@genesislcap/genx": "14.154.3-alpha-7f7d442.0",
64
+ "@genesislcap/rollup-builder": "14.154.3-alpha-7f7d442.0",
65
+ "@genesislcap/ts-builder": "14.154.3-alpha-7f7d442.0",
66
+ "@genesislcap/uvu-playwright-builder": "14.154.3-alpha-7f7d442.0",
67
+ "@genesislcap/vite-builder": "14.154.3-alpha-7f7d442.0",
68
+ "@genesislcap/webpack-builder": "14.154.3-alpha-7f7d442.0",
69
69
  "@types/js-cookie": "^3.0.2",
70
70
  "@types/json-schema": "^7.0.11",
71
71
  "@types/webappsec-credential-management": "^0.6.2",
@@ -73,8 +73,8 @@
73
73
  },
74
74
  "dependencies": {
75
75
  "@finos/fdc3": "^1.2.0",
76
- "@genesislcap/foundation-logger": "14.154.3-alpha-94561a6.0",
77
- "@genesislcap/foundation-utils": "14.154.3-alpha-94561a6.0",
76
+ "@genesislcap/foundation-logger": "14.154.3-alpha-7f7d442.0",
77
+ "@genesislcap/foundation-utils": "14.154.3-alpha-7f7d442.0",
78
78
  "@microsoft/fast-element": "^1.12.0",
79
79
  "@microsoft/fast-foundation": "^2.49.4",
80
80
  "analytics": "^0.8.0",
@@ -91,5 +91,5 @@
91
91
  "publishConfig": {
92
92
  "access": "public"
93
93
  },
94
- "gitHead": "f002e740bda8b88ea620dfb1c7b5ff32a72ec2ae"
94
+ "gitHead": "59fbb6e751367a05a5c025a82991366529d7b0f9"
95
95
  }