@pushwoosh/spa-context 1.2.1 → 1.4.0
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/package.json +3 -1
- package/types.d.ts +4 -0
package/package.json
CHANGED
|
@@ -30,12 +30,14 @@
|
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"@pushwoosh/http-client": "^2.5.0",
|
|
32
32
|
"@pushwoosh/rpc-gateway-ai-assistant": "^0.1.101",
|
|
33
|
+
"@pushwoosh/rpc-gateway-apple-passkit": "^0.1.25",
|
|
33
34
|
"@pushwoosh/rpc-gateway-journey-data": "^0.26.206",
|
|
35
|
+
"@pushwoosh/rpc-gateway-messaging": "^0.6.31",
|
|
34
36
|
"@pushwoosh/rpc-gateway-payment-data": "^0.2.135",
|
|
35
37
|
"@pushwoosh/rpc-gateway-subscription-form": "^0.1.0",
|
|
36
38
|
"@pushwoosh/rpc-v2-http-api-data": "^0.1.838",
|
|
37
39
|
"@pushwoosh/session-store": "^2.5.0",
|
|
38
40
|
"react": "^16.14.0 || ^18.0.0"
|
|
39
41
|
},
|
|
40
|
-
"version": "1.
|
|
42
|
+
"version": "1.4.0"
|
|
41
43
|
}
|
package/types.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { type History } from 'history';
|
|
2
2
|
import type { HttpClient, RpcClient } from '@pushwoosh/http-client';
|
|
3
3
|
import type { API as RpcGatewayAIAssistant } from '@pushwoosh/rpc-gateway-ai-assistant';
|
|
4
|
+
import type { API as RpcGatewayApplePasskit } from '@pushwoosh/rpc-gateway-apple-passkit';
|
|
4
5
|
import type { API as RpcGatewayJourneyAPI } from '@pushwoosh/rpc-gateway-journey-data';
|
|
6
|
+
import type { API as RpcGatewayMessagingAPI } from '@pushwoosh/rpc-gateway-messaging';
|
|
5
7
|
import type { API as RpcGatewayPaymentAPI } from '@pushwoosh/rpc-gateway-payment-data';
|
|
6
8
|
import type { API as RpcGatewaySubscriptionFormAPI } from '@pushwoosh/rpc-gateway-subscription-form';
|
|
7
9
|
import type { API as RpcGatewayAPI } from '@pushwoosh/rpc-v2-http-api-data';
|
|
@@ -23,7 +25,9 @@ export type SPAContextType = {
|
|
|
23
25
|
readonly sessionStore: SessionStore;
|
|
24
26
|
readonly rpcGateway: RpcGatewayAPI;
|
|
25
27
|
readonly rpcGatewayAIAssistant: RpcGatewayAIAssistant;
|
|
28
|
+
readonly rpcGatewayApplePasskit: RpcGatewayApplePasskit;
|
|
26
29
|
readonly rpcGatewayJourney: RpcGatewayJourneyAPI;
|
|
30
|
+
readonly rpcGatewayMessaging: RpcGatewayMessagingAPI;
|
|
27
31
|
readonly rpcGatewayPayment: RpcGatewayPaymentAPI;
|
|
28
32
|
readonly rpcGatewaySubscriptionForm: RpcGatewaySubscriptionFormAPI;
|
|
29
33
|
readonly language: string;
|