@funnelsgrove/runtime 0.7.15 → 0.7.16

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,7 @@ export type FunnelRuntimeConfig = {
8
8
  enabled?: unknown;
9
9
  sampleRate?: unknown;
10
10
  };
11
+ defaultOfferSetId?: string | null;
11
12
  offerSets: unknown[];
12
13
  experiments: unknown[];
13
14
  };
@@ -21,6 +22,7 @@ export type ResolvedFunnelRuntimeConfig = {
21
22
  sourceVersionId: string;
22
23
  publishedAt: string;
23
24
  sessionReplay?: FunnelSessionReplayConfig;
25
+ defaultOfferSetId?: string | null;
24
26
  offerSets: readonly GeneratedOfferSet[];
25
27
  experiments: readonly FunnelExperimentDefinition[];
26
28
  };
@@ -248,6 +248,7 @@ export const resolvePublishedFunnelRuntimeConfig = (published, options = {}) =>
248
248
  sourceVersionId: published.sourceVersionId,
249
249
  publishedAt: published.publishedAt,
250
250
  sessionReplay: normalizeSessionReplay(published.config.sessionReplay),
251
+ defaultOfferSetId: readString(published.config.defaultOfferSetId),
251
252
  offerSets,
252
253
  experiments: normalizePublishedExperiments(published.config, published.publishedAt, offerSets),
253
254
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funnelsgrove/runtime",
3
- "version": "0.7.15",
3
+ "version": "0.7.16",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/The-Solid-Grove/funnelsgrove.git",