@stigg/js-client-sdk 3.47.0 → 3.48.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.
@@ -1,11 +1,10 @@
1
1
  import { ApolloClient, NormalizedCacheObject } from '@apollo/client/core';
2
2
  import { EdgeApiClient } from './EdgeApiClient';
3
- import { GetEntitlementsQuery, EntitlementCheckResult } from '@stigg/api-client-js/src/generated/sdk';
3
+ import { GetEntitlementsQuery } from '@stigg/api-client-js/src/generated/sdk';
4
4
  declare class EntitlementsApi {
5
5
  private readonly client;
6
6
  private readonly edgeApiClient;
7
7
  constructor(client: ApolloClient<NormalizedCacheObject>, edgeApiClient: EdgeApiClient | null);
8
8
  getEntitlements(customerId: string, skipEdge?: boolean, resourceId?: string): Promise<import("@apollo/client/core").ApolloQueryResult<GetEntitlementsQuery>>;
9
- reportEntitlementRequested(featureId: string, customerId: string, entitlementCheckResult: EntitlementCheckResult, resourceId?: string, requestedUsage?: number, requestedValues?: string[]): Promise<void>;
10
9
  }
11
10
  export default EntitlementsApi;
@@ -8,5 +8,4 @@ declare type ApolloClientConfiguration = {
8
8
  clientVersion?: string;
9
9
  };
10
10
  declare const initApolloClient: (config: Partial<ApolloClientConfiguration>) => ApolloClient<import("@apollo/client/core").NormalizedCacheObject>;
11
- export declare const initBatchedApolloClient: (config: ApolloClientConfiguration) => ApolloClient<import("@apollo/client/core").NormalizedCacheObject>;
12
11
  export default initApolloClient;
package/dist/client.d.ts CHANGED
@@ -42,7 +42,6 @@ export declare class Stigg implements StiggClient {
42
42
  private readonly apiGateway;
43
43
  private readonly edgeApiClient;
44
44
  private readonly graphClient;
45
- private readonly batchedGraphClient;
46
45
  protected readonly configuration: Required<ClientConfiguration>;
47
46
  private readonly loggerService;
48
47
  private globalEntitlementsService;