@sap-cloud-sdk/connectivity 3.8.0 → 3.8.1

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.
@@ -48,10 +48,12 @@ export declare class AsyncCache<T> implements AsyncCacheInterface<T> {
48
48
  * Setter of entries in cache.
49
49
  * @param key - The entry's key.
50
50
  * @param item - The entry to cache.
51
+ * @returns A promise to oid.
51
52
  */
52
53
  set(key: string | undefined, item: CacheEntry<T>): Promise<void>;
53
54
  /**
54
55
  * Clear all cached items.
56
+ * @returns A promise to void.
55
57
  */
56
58
  clear(): Promise<void>;
57
59
  }
@@ -30,12 +30,14 @@ class AsyncCache {
30
30
  * Setter of entries in cache.
31
31
  * @param key - The entry's key.
32
32
  * @param item - The entry to cache.
33
+ * @returns A promise to oid.
33
34
  */
34
35
  async set(key, item) {
35
36
  return this.cache.set(key, item);
36
37
  }
37
38
  /**
38
39
  * Clear all cached items.
40
+ * @returns A promise to void.
39
41
  */
40
42
  async clear() {
41
43
  return this.cache.clear();
@@ -1 +1 @@
1
- {"version":3,"file":"async-cache.js","sourceRoot":"","sources":["../../src/scp-cf/async-cache.ts"],"names":[],"mappings":";;;AAAA,mCAA4C;AA6B5C;;;GAGG;AACH,MAAa,UAAU;IAGrB,YAAY,mBAAmB,GAAG,CAAC;QACjC,IAAI,CAAC,KAAK,GAAG,IAAI,aAAK,CAAI,mBAAmB,CAAC,CAAC;IACjD,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,MAAM,CAAC,GAAW;QACtB,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;IAChC,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,GAAG,CAAC,GAAuB;QAC/B,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAC7B,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,GAAG,CAAC,GAAuB,EAAE,IAAmB;QACpD,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;IACnC,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,KAAK;QACT,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;IAC5B,CAAC;CACF;AAxCD,gCAwCC"}
1
+ {"version":3,"file":"async-cache.js","sourceRoot":"","sources":["../../src/scp-cf/async-cache.ts"],"names":[],"mappings":";;;AAAA,mCAA4C;AA6B5C;;;GAGG;AACH,MAAa,UAAU;IAGrB,YAAY,mBAAmB,GAAG,CAAC;QACjC,IAAI,CAAC,KAAK,GAAG,IAAI,aAAK,CAAI,mBAAmB,CAAC,CAAC;IACjD,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,MAAM,CAAC,GAAW;QACtB,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;IAChC,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,GAAG,CAAC,GAAuB;QAC/B,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAC7B,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,GAAG,CAAC,GAAuB,EAAE,IAAmB;QACpD,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;IACnC,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,KAAK;QACT,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;IAC5B,CAAC;CACF;AA1CD,gCA0CC"}
@@ -34,7 +34,6 @@ export interface BasicProxyConfiguration {
34
34
  port: number;
35
35
  /**
36
36
  * The protocol used by the proxy.
37
- *
38
37
  */
39
38
  protocol: Protocol;
40
39
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap-cloud-sdk/connectivity",
3
- "version": "3.8.0",
3
+ "version": "3.8.1",
4
4
  "description": "SAP Cloud SDK for JavaScript connectivity",
5
5
  "homepage": "https://sap.github.io/cloud-sdk/docs/js/overview",
6
6
  "license": "Apache-2.0",
@@ -37,8 +37,8 @@
37
37
  "readme": "ts-node ../../scripts/replace-common-readme.ts"
38
38
  },
39
39
  "dependencies": {
40
- "@sap-cloud-sdk/resilience": "^3.8.0",
41
- "@sap-cloud-sdk/util": "^3.8.0",
40
+ "@sap-cloud-sdk/resilience": "^3.8.1",
41
+ "@sap-cloud-sdk/util": "^3.8.1",
42
42
  "@sap/xsenv": "^4.1.0",
43
43
  "@sap/xssec": "^3.5.0",
44
44
  "async-retry": "^1.3.3",