@indiegems/gem-web-sdk 14.0.2 → 14.0.3

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/CHANGELOG.md CHANGED
@@ -16,6 +16,12 @@ Its entries are grouped under up to five headings:
16
16
  - **Rebuild**: a type changed. Recompile against the new version; code that compiles today keeps compiling unless the entry says otherwise.
17
17
  - **New capability**: something a game can now do. Nothing changes unless you use it.
18
18
 
19
+ ## 14.0.3
20
+
21
+ Upgrading from 14.0.2. Impact: none.
22
+
23
+ Nothing in this release asks anything of a game.
24
+
19
25
  ## 14.0.2
20
26
 
21
27
  Upgrading from 14.0.1. Impact: none.
package/dist/game.d.ts CHANGED
@@ -148,6 +148,12 @@ type AffixSelection = {
148
148
  "pool": AffixPoolRef;
149
149
  "respect_groups"?: boolean;
150
150
  };
151
+ type AnalyticsFunnelFilteredStep = {
152
+ "event": string;
153
+ "where": Record<string, unknown>;
154
+ };
155
+ type AnalyticsFunnelKind = "funnel" | "ladder";
156
+ type AnalyticsFunnelStepSpec = string | AnalyticsFunnelFilteredStep;
151
157
  type BackfillPolicy = "fill_existing_first" | "prefer_new_match";
152
158
  type BackfillSettings = {
153
159
  "enabled": boolean;
@@ -401,7 +407,8 @@ type SnapshotAnalyticsEvent = {
401
407
  };
402
408
  type SnapshotAnalyticsFunnel = {
403
409
  "id": string;
404
- "steps": string[];
410
+ "kind"?: AnalyticsFunnelKind;
411
+ "steps": AnalyticsFunnelStepSpec[];
405
412
  };
406
413
  type SnapshotAsyncOpponentType = {
407
414
  "display_name"?: string | null;