@limetech/lime-web-components 5.2.0 → 5.2.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.
package/dist/index.d.ts CHANGED
@@ -2,6 +2,22 @@
2
2
  * This is the public API for Lime Web Components. It contains helper functions
3
3
  * and interfaces for all services available in the Lime CRM platform.
4
4
  *
5
+ * Everything that is exported from this package is marked with one of the
6
+ * following statuses
7
+ *
8
+ * - `@public` - Released and ready to be used. The interface is stable and
9
+ * should not have any breaking changes without triggering a new major release.
10
+ * - `@beta` - The interface is fairly stable and can be used by those willing
11
+ * to accept breaking changes without notice. Breaking changes may still happen
12
+ * without notice, and without triggering a new major release. Feedback on the
13
+ * interfaces are welcome.
14
+ * - `@alpha` - Still under development and is likely to have frequent breaking
15
+ * changes without notice.
16
+ * - `@deprecated` - Can be used for the time being, but will be removed in the
17
+ * future. Has likely been replaced by something better. Do not use when
18
+ * writing new code.
19
+ * - `@internal` - Do not use!
20
+ *
5
21
  * @packageDocumentation
6
22
  */
7
23
  export * from './core';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC"}
package/dist/index.js CHANGED
@@ -2,6 +2,22 @@
2
2
  * This is the public API for Lime Web Components. It contains helper functions
3
3
  * and interfaces for all services available in the Lime CRM platform.
4
4
  *
5
+ * Everything that is exported from this package is marked with one of the
6
+ * following statuses
7
+ *
8
+ * - `@public` - Released and ready to be used. The interface is stable and
9
+ * should not have any breaking changes without triggering a new major release.
10
+ * - `@beta` - The interface is fairly stable and can be used by those willing
11
+ * to accept breaking changes without notice. Breaking changes may still happen
12
+ * without notice, and without triggering a new major release. Feedback on the
13
+ * interfaces are welcome.
14
+ * - `@alpha` - Still under development and is likely to have frequent breaking
15
+ * changes without notice.
16
+ * - `@deprecated` - Can be used for the time being, but will be removed in the
17
+ * future. Has likely been replaced by something better. Do not use when
18
+ * writing new code.
19
+ * - `@internal` - Do not use!
20
+ *
5
21
  * @packageDocumentation
6
22
  */
7
23
  export * from './core';
@@ -25,7 +25,8 @@ export interface UserDataRepository extends StateRepository {
25
25
  *
26
26
  * @param key - name of the key for the data
27
27
  * @param data - the data to save, will delete the data if undefined
28
+ * @returns a promise that will be resolved when the data has been saved
28
29
  */
29
- set<T = any>(key: string, data?: T): void;
30
+ set<T = any>(key: string, data?: T): Promise<void>;
30
31
  }
31
32
  //# sourceMappingURL=repository.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"repository.d.ts","sourceRoot":"","sources":["../../src/userdata/repository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C;;;;;GAKG;AACH,MAAM,WAAW,kBAAmB,SAAQ,eAAe;IACvD;;;;;OAKG;IACH,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IAE1B;;;;;OAKG;IACH,GAAG,CAAC,CAAC,GAAG,GAAG,EAAE,GAAG,EAAE,MAAM,GAAG,CAAC,CAAC;IAE7B;;;;;OAKG;IACH,GAAG,CAAC,CAAC,GAAG,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC;CAC7C"}
1
+ {"version":3,"file":"repository.d.ts","sourceRoot":"","sources":["../../src/userdata/repository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C;;;;;GAKG;AACH,MAAM,WAAW,kBAAmB,SAAQ,eAAe;IACvD;;;;;OAKG;IACH,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IAE1B;;;;;OAKG;IACH,GAAG,CAAC,CAAC,GAAG,GAAG,EAAE,GAAG,EAAE,MAAM,GAAG,CAAC,CAAC;IAE7B;;;;;;OAMG;IACH,GAAG,CAAC,CAAC,GAAG,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACtD"}
@@ -17,8 +17,9 @@ export interface UserPreferencesRepository {
17
17
  *
18
18
  * @param key - The key to store the value under.
19
19
  * @param data - The data to save. Leave undefined to instead delete the currently stored value.
20
+ * @returns a promise that will be resolved when the data has been saved
20
21
  */
21
- set<T = any>(key: string, data?: T): void;
22
+ set<T = any>(key: string, data?: T): Promise<void>;
22
23
  /**
23
24
  * Get the schema for the user preferences.
24
25
  */
@@ -1 +1 @@
1
- {"version":3,"file":"repository.d.ts","sourceRoot":"","sources":["../../src/userpreferences/repository.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,yBAAyB;IACtC;;;;;OAKG;IACH,GAAG,CAAC,CAAC,GAAG,GAAG,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC;IAE9B;;;;;;;OAOG;IACH,GAAG,CAAC,CAAC,GAAG,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC;IAE1C;;OAEG;IACH,SAAS,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACxC"}
1
+ {"version":3,"file":"repository.d.ts","sourceRoot":"","sources":["../../src/userpreferences/repository.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,yBAAyB;IACtC;;;;;OAKG;IACH,GAAG,CAAC,CAAC,GAAG,GAAG,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC;IAE9B;;;;;;;;OAQG;IACH,GAAG,CAAC,CAAC,GAAG,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEnD;;OAEG;IACH,SAAS,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACxC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@limetech/lime-web-components",
3
- "version": "5.2.0",
3
+ "version": "5.2.1",
4
4
  "description": "Lime Web Components",
5
5
  "author": "Lime Technologies",
6
6
  "license": "Apache-2.0",
@@ -37,7 +37,7 @@
37
37
  "@commitlint/config-conventional": "^16.2.4",
38
38
  "@microsoft/api-extractor": "^7.33.7",
39
39
  "@types/jest": "^27.5.0",
40
- "@typescript-eslint/eslint-plugin": "^5.48.2",
40
+ "@typescript-eslint/eslint-plugin": "^5.49.0",
41
41
  "@typescript-eslint/parser": "^5.49.0",
42
42
  "commitizen": "^4.2.6",
43
43
  "cz-conventional-changelog": "^3.3.0",