@sprig-technologies/sprig-browser 2.21.7 → 2.22.1

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/index.d.ts CHANGED
@@ -696,6 +696,8 @@ interface Config {
696
696
  pageUrlEvents: PageUrlEvent[];
697
697
  path?: string;
698
698
  platform?: Platform;
699
+ replayNonce?: string;
700
+ replaySettings?: object;
699
701
  requireUserIdForTracking: boolean;
700
702
  responseGroupUid: UUID;
701
703
  showStripes: boolean;
@@ -917,9 +919,11 @@ declare namespace sprigConfig {
917
919
  locale?: string;
918
920
  localStorageAvailable: boolean;
919
921
  maxHeight?: number | string;
922
+ maxInflightReplayRequests?: number;
920
923
  mobileHeadersJSON?: string;
921
924
  nonce?: string;
922
925
  partnerAnonymousId: string | null;
926
+ replayNonce?: string;
923
927
  reportError: (name: string, err: Error) => void;
924
928
  sampleRate?: unknown; // TODO: determine type
925
929
  token: string | null;
@@ -946,6 +950,7 @@ declare global {
946
950
  _Sprig?: sprigConfig.WindowSprig;
947
951
  Sprig: sprigConfig.WindowSprig;
948
952
  UserLeap: sprigConfig.WindowSprig;
953
+ sprigAPI?: object;
949
954
  }
950
955
 
951
956
  type WindowSprig = sprigConfig.WindowSprig;