@privateaim/core-realtime-kit 0.7.4 → 0.7.5
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/CHANGELOG.md +19 -0
- package/dist/index.cjs +8 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +6 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.7.5](https://github.com/PrivateAIM/hub/compare/v0.7.4...v0.7.5) (2024-10-24)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* adjusted code references for core -> core-kit package renaming ([321b8ac](https://github.com/PrivateAIM/hub/commit/321b8acb33e4fdd93252c72da34fac34cc86cd9f))
|
|
9
|
+
* initial core -> core-kit package renaming ([9ac9709](https://github.com/PrivateAIM/hub/commit/9ac970999922bc76e3f88381f4d3351a51147a46))
|
|
10
|
+
* initial implementation & usage refactoring ([#426](https://github.com/PrivateAIM/hub/issues/426)) ([85ff83f](https://github.com/PrivateAIM/hub/commit/85ff83f40dc129f7f1e28b41f445f60bb6d6fcfe))
|
|
11
|
+
* realtime library/service split ([#474](https://github.com/PrivateAIM/hub/issues/474)) ([43c2dfa](https://github.com/PrivateAIM/hub/commit/43c2dfad654cc61ca9784914cbad56c684434088))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Dependencies
|
|
15
|
+
|
|
16
|
+
* The following workspace dependencies were updated
|
|
17
|
+
* devDependencies
|
|
18
|
+
* @privateaim/core-kit bumped from ^0.8.3 to ^0.8.4
|
|
19
|
+
* peerDependencies
|
|
20
|
+
* @privateaim/core-kit bumped from ^0.8.3 to ^0.8.4
|
|
21
|
+
|
|
3
22
|
## [0.7.4](https://github.com/PrivateAIM/hub/compare/v0.7.3...v0.7.4) (2024-09-19)
|
|
4
23
|
|
|
5
24
|
|
package/dist/index.cjs
CHANGED
|
@@ -5,22 +5,22 @@
|
|
|
5
5
|
* Author Peter Placzek (tada5hi)
|
|
6
6
|
* For the full copyright and license information,
|
|
7
7
|
* view the LICENSE file that was distributed with this source code.
|
|
8
|
-
*/
|
|
9
|
-
(function(STCEventName) {
|
|
8
|
+
*/ var STCEventName = /*#__PURE__*/ function(STCEventName) {
|
|
10
9
|
STCEventName["USER_CONNECTED"] = "userConnected";
|
|
11
10
|
STCEventName["USER_DISCONNECTED"] = "userDisconnected";
|
|
12
11
|
STCEventName["ROBOT_CONNECTED"] = "robotConnected";
|
|
13
12
|
STCEventName["ROBOT_DISCONNECTED"] = "robotDisconnected";
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
return STCEventName;
|
|
14
|
+
}({});
|
|
15
|
+
var CTSEventName = /*#__PURE__*/ function(CTSEventName) {
|
|
17
16
|
CTSEventName["USER_CONNECTIONS"] = "userConnections";
|
|
18
17
|
CTSEventName["USER_CONNECTION_SUBSCRIBE"] = "userConnectionSubscribe";
|
|
19
18
|
CTSEventName["USER_CONNECTION_UNSUBSCRIBE"] = "userConnectionUnsubscribe";
|
|
20
19
|
CTSEventName["ROBOT_CONNECTIONS"] = "robotConnections";
|
|
21
20
|
CTSEventName["ROBOT_CONNECTION_SUBSCRIBE"] = "robotConnectionSubscribe";
|
|
22
21
|
CTSEventName["ROBOT_CONNECTION_UNSUBSCRIBE"] = "robotConnectionUnsubscribe";
|
|
23
|
-
|
|
22
|
+
return CTSEventName;
|
|
23
|
+
}({});
|
|
24
24
|
|
|
25
25
|
/*
|
|
26
26
|
* Copyright (c) 2021-2024.
|
|
@@ -37,6 +37,8 @@ function isEventTarget(input) {
|
|
|
37
37
|
return typeof input === 'number' || typeof input === 'string' || typeof input === 'undefined';
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
+
exports.CTSEventName = CTSEventName;
|
|
41
|
+
exports.STCEventName = STCEventName;
|
|
40
42
|
exports.isEventCallback = isEventCallback;
|
|
41
43
|
exports.isEventTarget = isEventTarget;
|
|
42
44
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../src/constants.ts","../src/utils.ts"],"sourcesContent":["/*\n * Copyright (c) 2024.\n * Author Peter Placzek (tada5hi)\n * For the full copyright and license information,\n * view the LICENSE file that was distributed with this source code.\n */\n\nexport enum STCEventName {\n USER_CONNECTED = 'userConnected',\n USER_DISCONNECTED = 'userDisconnected',\n\n ROBOT_CONNECTED = 'robotConnected',\n ROBOT_DISCONNECTED = 'robotDisconnected',\n}\n\nexport enum CTSEventName {\n USER_CONNECTIONS = 'userConnections',\n USER_CONNECTION_SUBSCRIBE = 'userConnectionSubscribe',\n USER_CONNECTION_UNSUBSCRIBE = 'userConnectionUnsubscribe',\n\n ROBOT_CONNECTIONS = 'robotConnections',\n ROBOT_CONNECTION_SUBSCRIBE = 'robotConnectionSubscribe',\n ROBOT_CONNECTION_UNSUBSCRIBE = 'robotConnectionUnsubscribe',\n}\n","/*\n * Copyright (c) 2021-2024.\n * Author Peter Placzek (tada5hi)\n * For the full copyright and license information,\n * view the LICENSE file that was distributed with this source code.\n */\n\nimport type { EventCallback } from './types';\n\nexport function isEventCallback(\n input: unknown,\n fnArgs?: number,\n) : input is EventCallback {\n if (typeof fnArgs === 'undefined') {\n return typeof input === 'function';\n }\n\n return typeof input === 'function' &&\n input.length >= fnArgs;\n}\n\nexport function isEventTarget(\n input: unknown,\n) : input is EventTarget {\n return typeof input === 'number' ||\n typeof input === 'string' ||\n typeof input === 'undefined';\n}\n"],"names":["STCEventName","CTSEventName","isEventCallback","input","fnArgs","length","isEventTarget"],"mappings":";;AAAA;;;;;
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../src/constants.ts","../src/utils.ts"],"sourcesContent":["/*\n * Copyright (c) 2024.\n * Author Peter Placzek (tada5hi)\n * For the full copyright and license information,\n * view the LICENSE file that was distributed with this source code.\n */\n\nexport enum STCEventName {\n USER_CONNECTED = 'userConnected',\n USER_DISCONNECTED = 'userDisconnected',\n\n ROBOT_CONNECTED = 'robotConnected',\n ROBOT_DISCONNECTED = 'robotDisconnected',\n}\n\nexport enum CTSEventName {\n USER_CONNECTIONS = 'userConnections',\n USER_CONNECTION_SUBSCRIBE = 'userConnectionSubscribe',\n USER_CONNECTION_UNSUBSCRIBE = 'userConnectionUnsubscribe',\n\n ROBOT_CONNECTIONS = 'robotConnections',\n ROBOT_CONNECTION_SUBSCRIBE = 'robotConnectionSubscribe',\n ROBOT_CONNECTION_UNSUBSCRIBE = 'robotConnectionUnsubscribe',\n}\n","/*\n * Copyright (c) 2021-2024.\n * Author Peter Placzek (tada5hi)\n * For the full copyright and license information,\n * view the LICENSE file that was distributed with this source code.\n */\n\nimport type { EventCallback } from './types';\n\nexport function isEventCallback(\n input: unknown,\n fnArgs?: number,\n) : input is EventCallback {\n if (typeof fnArgs === 'undefined') {\n return typeof input === 'function';\n }\n\n return typeof input === 'function' &&\n input.length >= fnArgs;\n}\n\nexport function isEventTarget(\n input: unknown,\n) : input is EventTarget {\n return typeof input === 'number' ||\n typeof input === 'string' ||\n typeof input === 'undefined';\n}\n"],"names":["STCEventName","CTSEventName","isEventCallback","input","fnArgs","length","isEventTarget"],"mappings":";;AAAA;;;;;IAOO,IAAKA,YAAAA,iBAAAA,SAAAA,YAAAA,EAAAA;;;;;AAAAA,IAAAA,OAAAA,YAAAA,CAAAA;AAMX,CAAA,CAAA,EAAA,EAAA;AAEM,IAAA,YAAKC,iBAAAA,SAAAA,YAAAA,EAAAA;;;;;;;AAAAA,IAAAA,OAAAA,YAAAA,CAAAA;AAQX,CAAA,CAAA,EAAA;;ACvBD;;;;;AAKC,IAIM,SAASC,eACZC,CAAAA,KAAc,EACdC,MAAe,EAAA;IAEf,IAAI,OAAOA,WAAW,WAAa,EAAA;AAC/B,QAAA,OAAO,OAAOD,KAAU,KAAA,UAAA,CAAA;AAC5B,KAAA;AAEA,IAAA,OAAO,OAAOA,KAAAA,KAAU,UACpBA,IAAAA,KAAAA,CAAME,MAAM,IAAID,MAAAA,CAAAA;AACxB,CAAA;AAEO,SAASE,cACZH,KAAc,EAAA;AAEd,IAAA,OAAO,OAAOA,KAAU,KAAA,QAAA,IACpB,OAAOA,KAAU,KAAA,QAAA,IACjB,OAAOA,KAAU,KAAA,WAAA,CAAA;AACzB;;;;;;;"}
|
package/dist/index.mjs
CHANGED
|
@@ -3,22 +3,22 @@
|
|
|
3
3
|
* Author Peter Placzek (tada5hi)
|
|
4
4
|
* For the full copyright and license information,
|
|
5
5
|
* view the LICENSE file that was distributed with this source code.
|
|
6
|
-
*/ var STCEventName
|
|
7
|
-
(function(STCEventName) {
|
|
6
|
+
*/ var STCEventName = /*#__PURE__*/ function(STCEventName) {
|
|
8
7
|
STCEventName["USER_CONNECTED"] = "userConnected";
|
|
9
8
|
STCEventName["USER_DISCONNECTED"] = "userDisconnected";
|
|
10
9
|
STCEventName["ROBOT_CONNECTED"] = "robotConnected";
|
|
11
10
|
STCEventName["ROBOT_DISCONNECTED"] = "robotDisconnected";
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
return STCEventName;
|
|
12
|
+
}({});
|
|
13
|
+
var CTSEventName = /*#__PURE__*/ function(CTSEventName) {
|
|
15
14
|
CTSEventName["USER_CONNECTIONS"] = "userConnections";
|
|
16
15
|
CTSEventName["USER_CONNECTION_SUBSCRIBE"] = "userConnectionSubscribe";
|
|
17
16
|
CTSEventName["USER_CONNECTION_UNSUBSCRIBE"] = "userConnectionUnsubscribe";
|
|
18
17
|
CTSEventName["ROBOT_CONNECTIONS"] = "robotConnections";
|
|
19
18
|
CTSEventName["ROBOT_CONNECTION_SUBSCRIBE"] = "robotConnectionSubscribe";
|
|
20
19
|
CTSEventName["ROBOT_CONNECTION_UNSUBSCRIBE"] = "robotConnectionUnsubscribe";
|
|
21
|
-
|
|
20
|
+
return CTSEventName;
|
|
21
|
+
}({});
|
|
22
22
|
|
|
23
23
|
/*
|
|
24
24
|
* Copyright (c) 2021-2024.
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../src/constants.ts","../src/utils.ts"],"sourcesContent":["/*\n * Copyright (c) 2024.\n * Author Peter Placzek (tada5hi)\n * For the full copyright and license information,\n * view the LICENSE file that was distributed with this source code.\n */\n\nexport enum STCEventName {\n USER_CONNECTED = 'userConnected',\n USER_DISCONNECTED = 'userDisconnected',\n\n ROBOT_CONNECTED = 'robotConnected',\n ROBOT_DISCONNECTED = 'robotDisconnected',\n}\n\nexport enum CTSEventName {\n USER_CONNECTIONS = 'userConnections',\n USER_CONNECTION_SUBSCRIBE = 'userConnectionSubscribe',\n USER_CONNECTION_UNSUBSCRIBE = 'userConnectionUnsubscribe',\n\n ROBOT_CONNECTIONS = 'robotConnections',\n ROBOT_CONNECTION_SUBSCRIBE = 'robotConnectionSubscribe',\n ROBOT_CONNECTION_UNSUBSCRIBE = 'robotConnectionUnsubscribe',\n}\n","/*\n * Copyright (c) 2021-2024.\n * Author Peter Placzek (tada5hi)\n * For the full copyright and license information,\n * view the LICENSE file that was distributed with this source code.\n */\n\nimport type { EventCallback } from './types';\n\nexport function isEventCallback(\n input: unknown,\n fnArgs?: number,\n) : input is EventCallback {\n if (typeof fnArgs === 'undefined') {\n return typeof input === 'function';\n }\n\n return typeof input === 'function' &&\n input.length >= fnArgs;\n}\n\nexport function isEventTarget(\n input: unknown,\n) : input is EventTarget {\n return typeof input === 'number' ||\n typeof input === 'string' ||\n typeof input === 'undefined';\n}\n"],"names":["STCEventName","CTSEventName","isEventCallback","input","fnArgs","length","isEventTarget"],"mappings":"AAAA;;;;;
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../src/constants.ts","../src/utils.ts"],"sourcesContent":["/*\n * Copyright (c) 2024.\n * Author Peter Placzek (tada5hi)\n * For the full copyright and license information,\n * view the LICENSE file that was distributed with this source code.\n */\n\nexport enum STCEventName {\n USER_CONNECTED = 'userConnected',\n USER_DISCONNECTED = 'userDisconnected',\n\n ROBOT_CONNECTED = 'robotConnected',\n ROBOT_DISCONNECTED = 'robotDisconnected',\n}\n\nexport enum CTSEventName {\n USER_CONNECTIONS = 'userConnections',\n USER_CONNECTION_SUBSCRIBE = 'userConnectionSubscribe',\n USER_CONNECTION_UNSUBSCRIBE = 'userConnectionUnsubscribe',\n\n ROBOT_CONNECTIONS = 'robotConnections',\n ROBOT_CONNECTION_SUBSCRIBE = 'robotConnectionSubscribe',\n ROBOT_CONNECTION_UNSUBSCRIBE = 'robotConnectionUnsubscribe',\n}\n","/*\n * Copyright (c) 2021-2024.\n * Author Peter Placzek (tada5hi)\n * For the full copyright and license information,\n * view the LICENSE file that was distributed with this source code.\n */\n\nimport type { EventCallback } from './types';\n\nexport function isEventCallback(\n input: unknown,\n fnArgs?: number,\n) : input is EventCallback {\n if (typeof fnArgs === 'undefined') {\n return typeof input === 'function';\n }\n\n return typeof input === 'function' &&\n input.length >= fnArgs;\n}\n\nexport function isEventTarget(\n input: unknown,\n) : input is EventTarget {\n return typeof input === 'number' ||\n typeof input === 'string' ||\n typeof input === 'undefined';\n}\n"],"names":["STCEventName","CTSEventName","isEventCallback","input","fnArgs","length","isEventTarget"],"mappings":"AAAA;;;;;IAOO,IAAKA,YAAAA,iBAAAA,SAAAA,YAAAA,EAAAA;;;;;AAAAA,IAAAA,OAAAA,YAAAA,CAAAA;AAMX,CAAA,CAAA,EAAA,EAAA;AAEM,IAAA,YAAKC,iBAAAA,SAAAA,YAAAA,EAAAA;;;;;;;AAAAA,IAAAA,OAAAA,YAAAA,CAAAA;AAQX,CAAA,CAAA,EAAA;;ACvBD;;;;;AAKC,IAIM,SAASC,eACZC,CAAAA,KAAc,EACdC,MAAe,EAAA;IAEf,IAAI,OAAOA,WAAW,WAAa,EAAA;AAC/B,QAAA,OAAO,OAAOD,KAAU,KAAA,UAAA,CAAA;AAC5B,KAAA;AAEA,IAAA,OAAO,OAAOA,KAAAA,KAAU,UACpBA,IAAAA,KAAAA,CAAME,MAAM,IAAID,MAAAA,CAAAA;AACxB,CAAA;AAEO,SAASE,cACZH,KAAc,EAAA;AAEd,IAAA,OAAO,OAAOA,KAAU,KAAA,QAAA,IACpB,OAAOA,KAAU,KAAA,QAAA,IACjB,OAAOA,KAAU,KAAA,WAAA,CAAA;AACzB;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@privateaim/core-realtime-kit",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.5",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "",
|
|
6
6
|
"exports": {
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
"build-watch": "rimraf ./dist && tsc -p tsconfig.build.json --watch"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@privateaim/core-kit": "^0.8.
|
|
29
|
+
"@privateaim/core-kit": "^0.8.4"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
|
-
"@privateaim/core-kit": "^0.8.
|
|
32
|
+
"@privateaim/core-kit": "^0.8.4"
|
|
33
33
|
},
|
|
34
34
|
"publishConfig": {
|
|
35
35
|
"access": "public"
|