@amplitude/plugin-session-replay-browser 1.6.17 → 1.6.19

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.
Binary file
@@ -1,19 +1,17 @@
1
- import { BrowserClient, BrowserConfig, DestinationPlugin, Event, Result } from '@amplitude/analytics-types';
1
+ import { BrowserConfig, EnrichmentPlugin, Event } from '@amplitude/analytics-types';
2
2
  import { SessionReplayOptions } from './typings/session-replay';
3
- export declare class SessionReplayPlugin implements DestinationPlugin {
3
+ export declare class SessionReplayPlugin implements EnrichmentPlugin {
4
4
  name: string;
5
- type: "destination";
6
- clientRemove: BrowserClient['remove'];
5
+ type: "enrichment";
7
6
  config: BrowserConfig;
8
7
  options: SessionReplayOptions;
9
8
  constructor(options?: SessionReplayOptions);
10
- setup(config: BrowserConfig, client?: BrowserClient): Promise<void>;
11
- execute(event: Event): Promise<Result>;
12
- flush(): Promise<void>;
9
+ setup(config: BrowserConfig): Promise<void>;
10
+ execute(event: Event): Promise<Event>;
13
11
  teardown(): Promise<void>;
14
12
  getSessionReplayProperties(): {
15
13
  [key: string]: string | boolean | null;
16
14
  };
17
15
  }
18
- export declare const sessionReplayPlugin: (options?: SessionReplayOptions) => DestinationPlugin;
16
+ export declare const sessionReplayPlugin: (options?: SessionReplayOptions) => EnrichmentPlugin;
19
17
  //# sourceMappingURL=session-replay.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"session-replay.d.ts","sourceRoot":"","sources":["../../src/session-replay.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,aAAa,EACb,iBAAiB,EAEjB,KAAK,EACL,MAAM,EACP,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAqChE,qBAAa,mBAAoB,YAAW,iBAAiB;IAC3D,IAAI,SAA8C;IAClD,IAAI,gBAA0B;IAI9B,YAAY,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;IAItC,MAAM,EAAE,aAAa,CAAC;IACtB,OAAO,EAAE,oBAAoB,CAAC;gBAElB,OAAO,CAAC,EAAE,oBAAoB;IAQpC,KAAK,CAAC,MAAM,EAAE,aAAa,EAAE,MAAM,CAAC,EAAE,aAAa;IAuDnD,OAAO,CAAC,KAAK,EAAE,KAAK,GAAG,OAAO,CAAC,MAAM,CAAC;IAQtC,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAItB,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;IAa/B,0BAA0B;;;CAG3B;AAED,eAAO,MAAM,mBAAmB,EAAE,CAAC,OAAO,CAAC,EAAE,oBAAoB,KAAK,iBAIrE,CAAC"}
1
+ {"version":3,"file":"session-replay.d.ts","sourceRoot":"","sources":["../../src/session-replay.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAC;AAEpF,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAGhE,qBAAa,mBAAoB,YAAW,gBAAgB;IAC1D,IAAI,SAA8C;IAClD,IAAI,eAAyB;IAI7B,MAAM,EAAE,aAAa,CAAC;IACtB,OAAO,EAAE,oBAAoB,CAAC;gBAElB,OAAO,CAAC,EAAE,oBAAoB;IAQpC,KAAK,CAAC,MAAM,EAAE,aAAa;IA8C3B,OAAO,CAAC,KAAK,EAAE,KAAK;IAmBpB,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;IAS/B,0BAA0B;;;CAG3B;AAED,eAAO,MAAM,mBAAmB,EAAE,CAAC,OAAO,CAAC,EAAE,oBAAoB,KAAK,gBAIrE,CAAC"}
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "1.6.17";
1
+ export declare const VERSION = "1.6.19";
2
2
  //# sourceMappingURL=version.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amplitude/plugin-session-replay-browser",
3
- "version": "1.6.17",
3
+ "version": "1.6.19",
4
4
  "description": "",
5
5
  "author": "Amplitude Inc",
6
6
  "homepage": "https://github.com/amplitude/Amplitude-TypeScript",
@@ -41,7 +41,7 @@
41
41
  "@amplitude/analytics-client-common": ">=1 <3",
42
42
  "@amplitude/analytics-core": ">=1 <3",
43
43
  "@amplitude/analytics-types": ">=1 <3",
44
- "@amplitude/session-replay-browser": "^1.13.1",
44
+ "@amplitude/session-replay-browser": "^1.13.3",
45
45
  "idb-keyval": "^6.2.1",
46
46
  "tslib": "^2.4.1"
47
47
  },
@@ -61,5 +61,5 @@
61
61
  "files": [
62
62
  "lib"
63
63
  ],
64
- "gitHead": "bec7a72759f8830aaad99256dc521d2f9fd2e0a7"
64
+ "gitHead": "ddf3e702ae2480d2049900a73b6f062e7c628cdb"
65
65
  }