@pushwoosh/spa-context 1.5.0 → 1.6.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.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/types.d.ts +1 -3
package/package.json CHANGED
@@ -20,8 +20,8 @@
20
20
  "idb-keyval": "^6.2.2"
21
21
  },
22
22
  "devDependencies": {
23
- "@pushwoosh/frontend-builder-engine": "^2.0.4",
24
- "@pushwoosh/http-client": "^2.5.0",
23
+ "@pushwoosh/frontend-builder-engine": "^2.1.1",
24
+ "@pushwoosh/http-client": "^2.9.1",
25
25
  "@pushwoosh/session-store": "^2.7.0",
26
26
  "@types/history": "^4.7.11",
27
27
  "@types/react": "^18.3.27",
@@ -40,5 +40,5 @@
40
40
  "@pushwoosh/session-store": "^2.7.0",
41
41
  "react": "^16.14.0 || ^18.0.0"
42
42
  },
43
- "version": "1.5.0"
43
+ "version": "1.6.0"
44
44
  }
package/types.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { type History } from 'history';
2
- import type { HttpClient, RpcClient } from '@pushwoosh/http-client';
2
+ import type { HttpClient } from '@pushwoosh/http-client';
3
3
  import type { API as RpcGatewayAIAssistantAPI } from '@pushwoosh/rpc-gateway-ai-assistant';
4
4
  import type { API as RpcGatewayApplePasskitAPI } from '@pushwoosh/rpc-gateway-apple-passkit';
5
5
  import type { API as RpcGatewayJourneyAPI } from '@pushwoosh/rpc-gateway-journey-data';
@@ -21,8 +21,6 @@ export type Environment = {
21
21
  export type SPAContextType = {
22
22
  readonly history: History;
23
23
  readonly httpClient: HttpClient;
24
- /** deprecated */
25
- readonly rpcClient: RpcClient;
26
24
  readonly sessionStore: SessionStore;
27
25
  readonly rpcGateway: RpcGatewayAPI;
28
26
  readonly rpcGatewayAIAssistant: RpcGatewayAIAssistantAPI;