@pushwoosh/spa-context 1.0.3 → 1.0.4

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 +2 -1
  2. package/types.d.ts +2 -0
package/package.json CHANGED
@@ -30,9 +30,10 @@
30
30
  "@pushwoosh/http-client": "^2.5.0",
31
31
  "@pushwoosh/rpc-gateway-journey-data": "^0.26.206",
32
32
  "@pushwoosh/rpc-gateway-payment-data": "^0.2.135",
33
+ "@pushwoosh/rpc-gateway-subscription-form": "^0.0.3",
33
34
  "@pushwoosh/rpc-v2-http-api-data": "^0.1.566",
34
35
  "@pushwoosh/session-store": "^2.5.0",
35
36
  "react": "^16.14.0 || ^18.0.0"
36
37
  },
37
- "version": "1.0.3"
38
+ "version": "1.0.4"
38
39
  }
package/types.d.ts CHANGED
@@ -2,6 +2,7 @@ import { type History } from 'history';
2
2
  import type { HttpClient, RpcClient } from '@pushwoosh/http-client';
3
3
  import type { API as RpcGatewayJourneyAPI } from '@pushwoosh/rpc-gateway-journey-data';
4
4
  import type { API as RpcGatewayPaymentAPI } from '@pushwoosh/rpc-gateway-payment-data';
5
+ import type { API as RpcGatewaySubscriptionFormAPI } from '@pushwoosh/rpc-gateway-subscription-form';
5
6
  import type { API as RpcGatewayAPI } from '@pushwoosh/rpc-v2-http-api-data';
6
7
  import type { SessionStore } from '@pushwoosh/session-store';
7
8
  import type { SimpleEventEmitter } from './SimpleEventEmitter';
@@ -21,6 +22,7 @@ export type SPAContextType = {
21
22
  readonly rpcGateway: RpcGatewayAPI;
22
23
  readonly rpcGatewayJourney: RpcGatewayJourneyAPI;
23
24
  readonly rpcGatewayPayment: RpcGatewayPaymentAPI;
25
+ readonly rpcGatewaySubscriptionForm: RpcGatewaySubscriptionFormAPI;
24
26
  readonly language: string;
25
27
  readonly helpers: {
26
28
  readonly getApiOrigin: (name: string) => string;