@sesamy/sesamy-js 1.124.0 → 1.125.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.
@@ -8,6 +8,8 @@ import { Fulfillment } from '@sesamy/sdk';
8
8
  import { PaywallAccessCheckResult } from '@sesamy/sdk';
9
9
  import { PaywallAccessResult } from '@sesamy/sdk';
10
10
  import { Profile } from '@sesamy/sdk';
11
+ import { StrategyExecutionParams } from '@sesamy/sdk';
12
+ import { StrategyExecutionResult } from '@sesamy/sdk';
11
13
  import { Subscription } from '@sesamy/sdk';
12
14
  import { TallyInsert } from '@sesamy/sdk';
13
15
  import { TallyValue } from '@sesamy/sdk';
@@ -1141,6 +1143,7 @@ declare function registerAPI(config: ApiConfig): {
1141
1143
  isReady: () => boolean;
1142
1144
  log: typeof log;
1143
1145
  paywalls: {
1146
+ executeStrategy: (strategyId: string, params?: StrategyExecutionParams) => Promise<StrategyExecutionResult>;
1144
1147
  get: (paywallId: string) => Promise<{
1145
1148
  id: string;
1146
1149
  vendorId: string;