@pushwoosh/smart-components-kit 0.3.3 → 0.4.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/context/types.d.ts +2 -0
- package/package.json +3 -2
package/context/types.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { type History } from 'history';
|
|
2
2
|
import type { GrpcBridge } from '@pushwoosh/grpc-bridge';
|
|
3
3
|
import type { GrpcClient, HttpClient, RpcClient } from '@pushwoosh/http-client';
|
|
4
|
+
import type { API } from '@pushwoosh/rpc-v2-http-api-data';
|
|
4
5
|
import type { SessionStore } from '@pushwoosh/session-store';
|
|
5
6
|
export type SPAContextType = {
|
|
6
7
|
readonly history: History;
|
|
@@ -9,5 +10,6 @@ export type SPAContextType = {
|
|
|
9
10
|
readonly grpcClient: GrpcClient;
|
|
10
11
|
readonly grpcBridge: GrpcBridge;
|
|
11
12
|
readonly sessionStore: SessionStore;
|
|
13
|
+
readonly rpcGateway: API;
|
|
12
14
|
readonly __smartComponentsCache: Record<string, any>;
|
|
13
15
|
};
|
package/package.json
CHANGED
|
@@ -21,7 +21,8 @@
|
|
|
21
21
|
"@pushwoosh/kit-select": "^1.1.0",
|
|
22
22
|
"@pushwoosh/kit-skeleton": "^1.1.6",
|
|
23
23
|
"@pushwoosh/kit-spinner": "^1.5.1",
|
|
24
|
-
"@pushwoosh/kit-text-input": "^1.5.1"
|
|
24
|
+
"@pushwoosh/kit-text-input": "^1.5.1",
|
|
25
|
+
"@pushwoosh/rpc-v2-http-api-data": "^0.1.397"
|
|
25
26
|
},
|
|
26
27
|
"devDependencies": {
|
|
27
28
|
"@pushwoosh/frontend-builder-engine": "^1.0.4",
|
|
@@ -48,5 +49,5 @@
|
|
|
48
49
|
"engines": {
|
|
49
50
|
"node": ">= 18"
|
|
50
51
|
},
|
|
51
|
-
"version": "0.
|
|
52
|
+
"version": "0.4.1"
|
|
52
53
|
}
|