@stigg/js-client-sdk 3.65.1 → 3.67.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/dist/client.d.ts +6 -2
- package/dist/index.esm.js +79 -20
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +79 -20
- package/dist/index.js.map +1 -1
- package/dist/models.d.ts +2 -1
- package/dist/offlineClient.d.ts +1 -1
- package/dist/src/client.d.ts +6 -2
- package/dist/src/models.d.ts +2 -1
- package/dist/src/offlineClient.d.ts +1 -1
- package/package.json +2 -2
package/dist/client.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import { LoggerService } from './services/loggerService';
|
|
|
6
6
|
export interface StiggClient {
|
|
7
7
|
isCustomerLoaded: boolean;
|
|
8
8
|
isResourceLoaded: boolean;
|
|
9
|
+
/** @deprecated Use {@link getShowWatermark} instead */
|
|
9
10
|
isWidgetWatermarkEnabled: boolean;
|
|
10
11
|
getBooleanEntitlement: (params: GetBooleanEntitlement) => BooleanEntitlement;
|
|
11
12
|
getNumericEntitlement: (params: GetNumericEntitlement) => NumericEntitlement;
|
|
@@ -42,6 +43,7 @@ export interface StiggClient {
|
|
|
42
43
|
getCreditLedger(input?: GetCreditLedgerInput): Promise<CreditLedgerFragment[]>;
|
|
43
44
|
getCreditUsage(input: GetCreditUsageInput): Promise<CreditUsageFragment>;
|
|
44
45
|
createPaymentSession(input: CreatePaymentSessionInput): Promise<PaymentSessionFragment>;
|
|
46
|
+
getShowWatermark(): boolean;
|
|
45
47
|
}
|
|
46
48
|
export declare class Stigg implements StiggClient {
|
|
47
49
|
private readonly apiGateway;
|
|
@@ -54,7 +56,9 @@ export declare class Stigg implements StiggClient {
|
|
|
54
56
|
private readonly modelMapper;
|
|
55
57
|
private readonly eventEmitter;
|
|
56
58
|
private readonly initializationStateTracker;
|
|
57
|
-
private
|
|
59
|
+
private showWatermark;
|
|
60
|
+
/** @deprecated Use {@link getShowWatermark} instead */
|
|
61
|
+
isWidgetWatermarkEnabled: boolean;
|
|
58
62
|
protected constructor(configuration: Required<ClientConfiguration>, loggerService: LoggerService);
|
|
59
63
|
/**
|
|
60
64
|
* Creates an instance of Stigg client.
|
|
@@ -75,7 +79,7 @@ export declare class Stigg implements StiggClient {
|
|
|
75
79
|
private static initializeSdk;
|
|
76
80
|
get isCustomerLoaded(): boolean;
|
|
77
81
|
get isResourceLoaded(): boolean;
|
|
78
|
-
|
|
82
|
+
getShowWatermark(): boolean;
|
|
79
83
|
/**
|
|
80
84
|
* Add a listener to handle updates of entitlements changes
|
|
81
85
|
* @param eventName
|