@wildix/xbees-connect 1.2.23 → 1.2.26
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-cjs/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/xbees-connect",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.24",
|
|
4
4
|
"description": "This library provides easy communication between x-bees and integrated web applications",
|
|
5
5
|
"author": "dimitri.chernykh <dimitri.chernykh@wildix.com>",
|
|
6
6
|
"homepage": "",
|
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
"build:docs": "typedoc",
|
|
18
18
|
"lint": "eslint . && tsc --noEmit",
|
|
19
19
|
"lint:fix": "eslint . --fix",
|
|
20
|
-
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo"
|
|
20
|
+
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
21
|
+
"build:api-extractor": "api-extractor run --local"
|
|
21
22
|
},
|
|
22
23
|
"files": [
|
|
23
24
|
"dist-*/**"
|
|
@@ -30,6 +31,7 @@
|
|
|
30
31
|
"access": "public"
|
|
31
32
|
},
|
|
32
33
|
"devDependencies": {
|
|
34
|
+
"@microsoft/api-extractor": "^7.47.9",
|
|
33
35
|
"@wildix/eslint-config-style-guide": "^1.2.2",
|
|
34
36
|
"eslint": "^8.55.0",
|
|
35
37
|
"rimraf": "^5.0.5",
|
package/dist-es/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/xbees-connect",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.24",
|
|
4
4
|
"description": "This library provides easy communication between x-bees and integrated web applications",
|
|
5
5
|
"author": "dimitri.chernykh <dimitri.chernykh@wildix.com>",
|
|
6
6
|
"homepage": "",
|
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
"build:docs": "typedoc",
|
|
18
18
|
"lint": "eslint . && tsc --noEmit",
|
|
19
19
|
"lint:fix": "eslint . --fix",
|
|
20
|
-
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo"
|
|
20
|
+
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
21
|
+
"build:api-extractor": "api-extractor run --local"
|
|
21
22
|
},
|
|
22
23
|
"files": [
|
|
23
24
|
"dist-*/**"
|
|
@@ -30,6 +31,7 @@
|
|
|
30
31
|
"access": "public"
|
|
31
32
|
},
|
|
32
33
|
"devDependencies": {
|
|
34
|
+
"@microsoft/api-extractor": "^7.47.9",
|
|
33
35
|
"@wildix/eslint-config-style-guide": "^1.2.2",
|
|
34
36
|
"eslint": "^8.55.0",
|
|
35
37
|
"rimraf": "^5.0.5",
|
|
@@ -146,7 +146,7 @@ export interface ConnectClient {
|
|
|
146
146
|
off: (callback: Callback | StorageEventCallback) => void;
|
|
147
147
|
/**
|
|
148
148
|
* saves data to localStorage */
|
|
149
|
-
saveToStorage: <SavingType>(key: string, value: SavingType
|
|
149
|
+
saveToStorage: <SavingType>(key: string, value: SavingType) => void;
|
|
150
150
|
/**
|
|
151
151
|
* Retrieves data from localStorage */
|
|
152
152
|
getFromStorage: <Type>(key: string) => Type | null;
|
|
@@ -173,7 +173,7 @@ export interface ConnectClient {
|
|
|
173
173
|
onVisibilityChange: (callback: Callback<EventType.VISIBILITY>) => RemoveEventListener;
|
|
174
174
|
/**
|
|
175
175
|
* Send data to save in x-bees storage */
|
|
176
|
-
saveInXbeesStorage: (key: string, value:
|
|
176
|
+
saveInXbeesStorage: <SavingType>(key: string, value: SavingType) => void;
|
|
177
177
|
/**
|
|
178
178
|
* Request stored data from x-bees storage */
|
|
179
179
|
getFromXbeesStorage: (key: string) => Promise<ResponseMessage<ClientEventType.GET_FROM_STORAGE>>;
|
|
@@ -17,12 +17,13 @@ export interface IPayloadToast {
|
|
|
17
17
|
severity: ToastSeverity;
|
|
18
18
|
message: string;
|
|
19
19
|
}
|
|
20
|
+
interface ThemeOptions {
|
|
21
|
+
typography?: unknown;
|
|
22
|
+
palette?: unknown;
|
|
23
|
+
}
|
|
20
24
|
export interface IPayloadThemeChange {
|
|
21
25
|
mode: 'light' | 'dark';
|
|
22
|
-
themeOptions?:
|
|
23
|
-
typography?: unknown;
|
|
24
|
-
palette?: unknown;
|
|
25
|
-
};
|
|
26
|
+
themeOptions?: ThemeOptions;
|
|
26
27
|
}
|
|
27
28
|
export interface IPayloadCallStartedInfo {
|
|
28
29
|
destination: string;
|
|
@@ -66,3 +67,4 @@ export interface IPayloadTechSupport {
|
|
|
66
67
|
message: string;
|
|
67
68
|
data?: JSONObject | JSONArray;
|
|
68
69
|
}
|
|
70
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/xbees-connect",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.26",
|
|
4
4
|
"description": "This library provides easy communication between x-bees and integrated web applications",
|
|
5
5
|
"author": "dimitri.chernykh <dimitri.chernykh@wildix.com>",
|
|
6
6
|
"homepage": "",
|
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
"build:docs": "typedoc",
|
|
18
18
|
"lint": "eslint . && tsc --noEmit",
|
|
19
19
|
"lint:fix": "eslint . --fix",
|
|
20
|
-
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo"
|
|
20
|
+
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
21
|
+
"build:api-extractor": "api-extractor run --local"
|
|
21
22
|
},
|
|
22
23
|
"files": [
|
|
23
24
|
"dist-*/**"
|
|
@@ -30,6 +31,7 @@
|
|
|
30
31
|
"access": "public"
|
|
31
32
|
},
|
|
32
33
|
"devDependencies": {
|
|
34
|
+
"@microsoft/api-extractor": "^7.47.9",
|
|
33
35
|
"@wildix/eslint-config-style-guide": "^1.2.2",
|
|
34
36
|
"eslint": "^8.55.0",
|
|
35
37
|
"rimraf": "^5.0.5",
|
|
@@ -43,5 +45,5 @@
|
|
|
43
45
|
"engines": {
|
|
44
46
|
"node": ">=16"
|
|
45
47
|
},
|
|
46
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "acab5b6f294733e962771fb56acc9ba3f7d98232"
|
|
47
49
|
}
|