@genesislcap/foundation-comms 14.218.2 → 14.218.3-alpha-42754ce.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -42,6 +42,9 @@ export declare class DefaultHttpConnect implements Connect {
42
42
  private checkHost;
43
43
  send<T>(message: Message<any>, needsHandling?: boolean): Promise<any>;
44
44
  httpMode(): boolean;
45
+ /**
46
+ * @deprecated - Please reference {@link @genesislcap/foundation-user#User} instead.',
47
+ */
45
48
  setValidSession(valid: boolean): void;
46
49
  connect(host: string): Promise<boolean>;
47
50
  disconnect(): void;
@@ -1 +1 @@
1
- {"version":3,"file":"http.connect.d.ts","sourceRoot":"","sources":["../../../src/connect/http.connect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAG/D,OAAO,EACL,eAAe,EAKf,UAAU,EAIX,MAAM,MAAM,CAAC;AACd,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EACL,YAAY,EAEZ,OAAO,EACP,cAAc,EAGd,aAAa,EACb,gBAAgB,EACjB,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAiB5C;;;GAGG;AACH,qBAAa,kBAAmB,YAAW,OAAO;IAqCjC,IAAI,EAAE,IAAI;IACP,OAAO,CAAC,cAAc;IAC7B,OAAO,CAAC,OAAO;IACb,OAAO,CAAC,SAAS;IACZ,OAAO,CAAC,UAAU;IACf,OAAO,CAAC,MAAM;IAxC5B,IAAI,EAAE,MAAM,CAAC;IAGb,SA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C,MAAM,EAAE,sBAAsB,GAAG,OAAO;IAgCxE;;OAEG;IACH,SAAS,CAAC,qBAAqB,CAAC,YAAY,EAAE,MAAM;IAIpD;;OAEG;IACH,SAAS,CAAC,eAAe;IAIzB;;OAEG;IACH,SAAS,CAAC,gBAAgB;IAK1B;;OAEG;IACH,SAAS,CAAC,wBAAwB;CAOnC;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc,sEAE1B,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,iBAAiB,IAAI,cAAc,CAElD"}
@@ -17,7 +17,8 @@ import { KeyValue, KeyValueTransfer, KVValue, KVEventFailureResponse } from './k
17
17
  */
18
18
  export interface KVStorage {
19
19
  delete(keys: string[]): Promise<true | KVEventFailureResponse>;
20
- get<T = KVValue>(key?: string): Promise<KeyValueTransfer<T>[]>;
20
+ get<T = KVValue>(): Promise<KeyValueTransfer<T>[]>;
21
+ get<T = KVValue>(key: string): Promise<KeyValueTransfer<T>>;
21
22
  list(): Promise<string[]>;
22
23
  put(kvs: KeyValue<KVValue>[]): Promise<true | KVEventFailureResponse>;
23
24
  }
@@ -67,7 +68,8 @@ export declare class DefaultKVStorage implements KVStorage {
67
68
  * ...
68
69
  * ```
69
70
  */
70
- get<T = KVValue>(key?: string): Promise<KeyValueTransfer<T>[]>;
71
+ get<T = KVValue>(): Promise<KeyValueTransfer<T>[]>;
72
+ get<T = KVValue>(key: string): Promise<KeyValueTransfer<T>>;
71
73
  /**
72
74
  * Lists all keys for the user.
73
75
  * @alpha
@@ -1 +1 @@
1
- {"version":3,"file":"kv.service.d.ts","sourceRoot":"","sources":["../../../../src/storage/kv/kv.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AAEpD,OAAO,EAAgB,OAAO,EAA0B,MAAM,eAAe,CAAC;AAE9E,OAAO,EAA0B,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC9E,OAAO,EACL,QAAQ,EAC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AC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,GAAG,sBAAsB,CAAC;IAmBpE;;;;;;;;;;;;;;;;;OAiBG;IACG,GAAG,CAAC,CAAC,GAAG,OAAO,KAAK,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAAE,CAAC;IAClD,GAAG,CAAC,CAAC,GAAG,OAAO,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC;IAwBjE;;;;;;;;;;;OAWG;IACG,IAAI,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC;IAiB/B;;;;;;;;;;;;OAYG;IACG,GAAG,CAAC,GAAG,EAAE,QAAQ,CAAC,OAAO,CAAC,EAAE,GAAG,OAAO,CAAC,IAAI,GAAG,sBAAsB,CAAC;CAoB5E;AAED;;;GAGG;AACH,eAAO,MAAM,SAAS,iEAAsE,CAAC;AAE7F;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,YAAY,IAAI,SAAS,CAExC"}
@@ -75,8 +75,11 @@ let DefaultHttpConnect = class DefaultHttpConnect {
75
75
  httpMode() {
76
76
  return true;
77
77
  }
78
+ /**
79
+ * @deprecated - Please reference {@link @genesislcap/foundation-user#User} instead.',
80
+ */
78
81
  setValidSession(valid) {
79
- logger.warn(`setValidSession() called while in http polling mode.`);
82
+ logger.deprecated('setValidSession', 'Please refrain from calling this API as this state is managed internally.', '15.0.0');
80
83
  }
81
84
  connect(host) {
82
85
  return __awaiter(this, void 0, void 0, function* () {
@@ -303,9 +303,6 @@ let DefaultSocket = class DefaultSocket {
303
303
  }
304
304
  this.heartbeatIsEnabled =
305
305
  pong.MESSAGE_TYPE === MessageType.HEARTBEAT_PONG && pong.SOURCE_REF === ping.SOURCE_REF;
306
- if (pong.IS_AUTHENTICATED !== undefined) {
307
- this.hasValidSession = pong.IS_AUTHENTICATED;
308
- }
309
306
  });
310
307
  if ((_b = (_a = this.connectOptions) === null || _a === void 0 ? void 0 : _a.enableHeartbeat) !== null && _b !== void 0 ? _b : this.heartbeatIsEnabled) {
311
308
  const intervalInMillisecocnds = (_d = (_c = this.connectOptions) === null || _c === void 0 ? void 0 : _c.heartbeatInterval) !== null && _d !== void 0 ? _d : this.heartbeatInterval;
@@ -396,12 +396,6 @@ export class DefaultNetworkMonitor {
396
396
  normaliseSerializedSocketStatus(socketStatus, isOnline = true) {
397
397
  const isConnected = isOnline ? socketStatus.isConnected : false;
398
398
  const isDisconnected = !isConnected;
399
- /**
400
- * I think hasValidSession might be best left as is given there are transient network issues. If we toggle it to
401
- * false, consumers may try to move the app to the login screen.
402
- *
403
- * const hasValidSession = isOnline ? socketStatus.hasValidSession : false;
404
- */
405
399
  return Object.assign(Object.assign({}, socketStatus), { isConnected,
406
400
  isDisconnected });
407
401
  }
@@ -1,5 +1,6 @@
1
1
  import { __awaiter, __decorate, __param } from "tslib";
2
2
  import { User } from '@genesislcap/foundation-user';
3
+ import { decodeFromBase64WithPrefix, encodeToBase64WithPrefix, } from '@genesislcap/foundation-utils';
3
4
  import { DI, optional } from '@microsoft/fast-foundation';
4
5
  import { Connect } from '../../connect';
5
6
  import { logger } from '../../utils';
@@ -59,24 +60,6 @@ let DefaultKVStorage = class DefaultKVStorage {
59
60
  }
60
61
  });
61
62
  }
62
- /**
63
- * Gets the specified key-value pairs from the KV storage.
64
- * @remarks If no key is specified, all key-value pairs for the current user are returned.
65
- * @alpha
66
- * @param kv - The single key-value pair to get.
67
- * @returns A promise that resolves to an array of key-value pairs.
68
- *
69
- * @example
70
- * ```ts
71
- * ...
72
- * const result = await this.kvStorage.get({ key: 'myKey' });
73
- * logger.debug(result); // [{ key: 'myKey', value: 'myValue' }]
74
- *
75
- * const result2 = await this.kvStorage.get();
76
- * logger.debug(result); // [{ key: 'myKey', value: 'myValue' }, { key: 'myOtherKey', value: 'myOtherValue' }]
77
- * ...
78
- * ```
79
- */
80
63
  get(key) {
81
64
  var _a;
82
65
  return __awaiter(this, void 0, void 0, function* () {
@@ -88,11 +71,13 @@ let DefaultKVStorage = class DefaultKVStorage {
88
71
  };
89
72
  const result = yield this.connect.request(KVMessageType.REQ_KEY_VALUE_READ, params);
90
73
  if (result && result.REPLY && result.REPLY.length > 0) {
91
- const kvs = result.REPLY.map((kv) => ({ kv: { key: kv.KEY, value: kv.VALUE } }));
92
- return kvs;
74
+ const kvs = result.REPLY.map((kv) => ({
75
+ kv: { key: kv.KEY, value: decodeFromBase64WithPrefix(kv.VALUE) },
76
+ }));
77
+ return key ? kvs[0] : kvs;
93
78
  }
94
79
  else {
95
- return [];
80
+ return key ? undefined : [];
96
81
  }
97
82
  });
98
83
  }
@@ -143,10 +128,12 @@ let DefaultKVStorage = class DefaultKVStorage {
143
128
  return __awaiter(this, void 0, void 0, function* () {
144
129
  const params = {
145
130
  DETAILS: {
146
- RECORDS: kvs.map((kv) => ({
147
- KEY: kv.key,
148
- VALUE: kv.value,
149
- })),
131
+ RECORDS: kvs.map((kv) => {
132
+ return {
133
+ KEY: kv.key,
134
+ VALUE: kv.base64 ? encodeToBase64WithPrefix(kv.value) : kv.value,
135
+ };
136
+ }),
150
137
  },
151
138
  };
152
139
  const result = yield this.connect.commitEvent(KVEventMessageType.EVENT_KEY_VALUE_PUT, params);
@@ -16981,7 +16981,7 @@
16981
16981
  {
16982
16982
  "kind": "Method",
16983
16983
  "canonicalReference": "@genesislcap/foundation-comms!DefaultHttpConnect#setValidSession:member(1)",
16984
- "docComment": "",
16984
+ "docComment": "/**\n * @deprecated\n *\n * - Please reference {@link @genesislcap/foundation-user#User} instead.',\n */\n",
16985
16985
  "excerptTokens": [
16986
16986
  {
16987
16987
  "kind": "Content",
@@ -1953,6 +1953,9 @@ export declare class DefaultHttpConnect implements Connect {
1953
1953
  private checkHost;
1954
1954
  send<T>(message: Message<any>, needsHandling?: boolean): Promise<any>;
1955
1955
  httpMode(): boolean;
1956
+ /**
1957
+ * @deprecated - Please reference {@link @genesislcap/foundation-user#User} instead.',
1958
+ */
1956
1959
  setValidSession(valid: boolean): void;
1957
1960
  connect(host: string): Promise<boolean>;
1958
1961
  disconnect(): void;
@@ -2022,7 +2025,8 @@ export declare class DefaultKVStorage implements KVStorage {
2022
2025
  * ...
2023
2026
  * ```
2024
2027
  */
2025
- get<T = KVValue>(key?: string): Promise<KeyValueTransfer<T>[]>;
2028
+ get<T = KVValue>(): Promise<KeyValueTransfer<T>[]>;
2029
+ get<T = KVValue>(key: string): Promise<KeyValueTransfer<T>>;
2026
2030
  /**
2027
2031
  * Lists all keys for the user.
2028
2032
  * @alpha
@@ -3117,7 +3121,8 @@ export declare enum KVMessageType {
3117
3121
  */
3118
3122
  export declare interface KVStorage {
3119
3123
  delete(keys: string[]): Promise<true | KVEventFailureResponse>;
3120
- get<T = KVValue>(key?: string): Promise<KeyValueTransfer<T>[]>;
3124
+ get<T = KVValue>(): Promise<KeyValueTransfer<T>[]>;
3125
+ get<T = KVValue>(key: string): Promise<KeyValueTransfer<T>>;
3121
3126
  list(): Promise<string[]>;
3122
3127
  put(kvs: KeyValue<KVValue>[]): Promise<true | KVEventFailureResponse>;
3123
3128
  }
@@ -4,6 +4,11 @@
4
4
 
5
5
  ## DefaultHttpConnect.setValidSession() method
6
6
 
7
+ > Warning: This API is now obsolete.
8
+ >
9
+ > - Please reference instead.',
10
+ >
11
+
7
12
  **Signature:**
8
13
 
9
14
  ```typescript
@@ -1302,7 +1302,7 @@ export class DefaultHttpConnect implements Connect {
1302
1302
  request(resourceName: string, params?: RequestParams): Promise<Message>;
1303
1303
  // (undocumented)
1304
1304
  send<T>(message: Message<any>, needsHandling?: boolean): Promise<any>;
1305
- // (undocumented)
1305
+ // @deprecated (undocumented)
1306
1306
  setValidSession(valid: boolean): void;
1307
1307
  // (undocumented)
1308
1308
  snapshot(resourceName: string, params?: any): Promise<Message>;
@@ -1318,7 +1318,9 @@ export class DefaultHttpConnect implements Connect {
1318
1318
  export class DefaultKVStorage implements KVStorage {
1319
1319
  constructor(connect: Connect, user: User_2, kvStorageConfig?: KVStorageConfig);
1320
1320
  delete(keys: string[]): Promise<true | KVEventFailureResponse>;
1321
- get<T = KVValue>(key?: string): Promise<KeyValueTransfer<T>[]>;
1321
+ get<T = KVValue>(): Promise<KeyValueTransfer<T>[]>;
1322
+ // (undocumented)
1323
+ get<T = KVValue>(key: string): Promise<KeyValueTransfer<T>>;
1322
1324
  list(): Promise<string[]>;
1323
1325
  put(kvs: KeyValue<KVValue>[]): Promise<true | KVEventFailureResponse>;
1324
1326
  // (undocumented)
@@ -1908,7 +1910,9 @@ export interface KVStorage {
1908
1910
  // (undocumented)
1909
1911
  delete(keys: string[]): Promise<true | KVEventFailureResponse>;
1910
1912
  // (undocumented)
1911
- get<T = KVValue>(key?: string): Promise<KeyValueTransfer<T>[]>;
1913
+ get<T = KVValue>(): Promise<KeyValueTransfer<T>[]>;
1914
+ // (undocumented)
1915
+ get<T = KVValue>(key: string): Promise<KeyValueTransfer<T>>;
1912
1916
  // (undocumented)
1913
1917
  list(): Promise<string[]>;
1914
1918
  // (undocumented)
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.218.2",
4
+ "version": "14.218.3-alpha-42754ce.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -75,23 +75,23 @@
75
75
  }
76
76
  },
77
77
  "devDependencies": {
78
- "@genesislcap/foundation-testing": "14.218.2",
79
- "@genesislcap/genx": "14.218.2",
80
- "@genesislcap/rollup-builder": "14.218.2",
81
- "@genesislcap/ts-builder": "14.218.2",
82
- "@genesislcap/uvu-playwright-builder": "14.218.2",
83
- "@genesislcap/vite-builder": "14.218.2",
84
- "@genesislcap/webpack-builder": "14.218.2",
78
+ "@genesislcap/foundation-testing": "14.218.3-alpha-42754ce.0",
79
+ "@genesislcap/genx": "14.218.3-alpha-42754ce.0",
80
+ "@genesislcap/rollup-builder": "14.218.3-alpha-42754ce.0",
81
+ "@genesislcap/ts-builder": "14.218.3-alpha-42754ce.0",
82
+ "@genesislcap/uvu-playwright-builder": "14.218.3-alpha-42754ce.0",
83
+ "@genesislcap/vite-builder": "14.218.3-alpha-42754ce.0",
84
+ "@genesislcap/webpack-builder": "14.218.3-alpha-42754ce.0",
85
85
  "@types/js-cookie": "^3.0.2",
86
86
  "@types/json-schema": "^7.0.11",
87
87
  "@types/webappsec-credential-management": "^0.6.2",
88
88
  "rimraf": "^5.0.0"
89
89
  },
90
90
  "dependencies": {
91
- "@genesislcap/foundation-broadcast-channel": "14.218.2",
92
- "@genesislcap/foundation-logger": "14.218.2",
93
- "@genesislcap/foundation-user": "14.218.2",
94
- "@genesislcap/foundation-utils": "14.218.2",
91
+ "@genesislcap/foundation-broadcast-channel": "14.218.3-alpha-42754ce.0",
92
+ "@genesislcap/foundation-logger": "14.218.3-alpha-42754ce.0",
93
+ "@genesislcap/foundation-user": "14.218.3-alpha-42754ce.0",
94
+ "@genesislcap/foundation-utils": "14.218.3-alpha-42754ce.0",
95
95
  "@microsoft/fast-element": "^1.12.0",
96
96
  "@microsoft/fast-foundation": "2.49.6",
97
97
  "analytics": "^0.8.0",
@@ -111,5 +111,5 @@
111
111
  "publishConfig": {
112
112
  "access": "public"
113
113
  },
114
- "gitHead": "4a9ced163c8b35ad4361a13540cdb242c854d2e7"
114
+ "gitHead": "39887d6184cce3f1713c5a91e7f119a9e0a8e0c8"
115
115
  }