@pushwoosh/smart-components-kit 1.0.47 → 1.0.48
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 +2 -1
package/context/types.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { type History } from 'history';
|
|
2
2
|
import type { GrpcClient, HttpClient, RpcClient } from '@pushwoosh/http-client';
|
|
3
3
|
import type { API as RpcGatewayJourneyAPI } from '@pushwoosh/rpc-gateway-journey-data';
|
|
4
|
+
import type { API as RpcGatewayPaymentAPI } from '@pushwoosh/rpc-gateway-payment-data';
|
|
4
5
|
import type { API as RpcGatewayAPI } from '@pushwoosh/rpc-v2-http-api-data';
|
|
5
6
|
import type { SessionStore } from '@pushwoosh/session-store';
|
|
6
7
|
export type SPAContextType = {
|
|
@@ -16,6 +17,7 @@ export type SPAContextType = {
|
|
|
16
17
|
readonly sessionStore: SessionStore;
|
|
17
18
|
readonly rpcGateway: RpcGatewayAPI;
|
|
18
19
|
readonly rpcGatewayJourney: RpcGatewayJourneyAPI;
|
|
20
|
+
readonly rpcGatewayPayment: RpcGatewayPaymentAPI;
|
|
19
21
|
readonly language: string;
|
|
20
22
|
readonly helpers: {
|
|
21
23
|
getApiOrigin: (name: string) => string;
|
package/package.json
CHANGED
|
@@ -41,6 +41,7 @@
|
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"@pushwoosh/http-client": "^2.5.0",
|
|
43
43
|
"@pushwoosh/rpc-gateway-journey-data": "^0.26.206",
|
|
44
|
+
"@pushwoosh/rpc-gateway-payment-data": "^0.2.135",
|
|
44
45
|
"@pushwoosh/rpc-v2-http-api-data": "^0.1.566",
|
|
45
46
|
"@pushwoosh/session-store": "^2.5.0",
|
|
46
47
|
"react": "^16.14.0 || ^18.0.0",
|
|
@@ -49,5 +50,5 @@
|
|
|
49
50
|
"engines": {
|
|
50
51
|
"node": ">= 18"
|
|
51
52
|
},
|
|
52
|
-
"version": "1.0.
|
|
53
|
+
"version": "1.0.48"
|
|
53
54
|
}
|