@amplitude/plugin-network-capture-browser
Advanced tools
Comparing version
@@ -1,2 +0,2 @@ | ||
import { BrowserClient, BrowserConfig, EnrichmentPlugin, ElementInteractionsOptions, NetworkRequestEvent, NetworkTrackingOptions } from '@amplitude/analytics-core'; | ||
import { BrowserClient, BrowserConfig, EnrichmentPlugin, NetworkRequestEvent, NetworkTrackingOptions } from '@amplitude/analytics-core'; | ||
import { Observable } from 'rxjs'; | ||
@@ -10,3 +10,2 @@ import { HasEventTargetAddRemove } from 'rxjs/internal/observable/fromEvent'; | ||
export type BrowserEnrichmentPlugin = EnrichmentPlugin<BrowserClient, BrowserConfig>; | ||
export type AutoCaptureOptionsWithDefaults = Required<Pick<ElementInteractionsOptions, 'debounceTime' | 'cssSelectorAllowlist' | 'actionClickAllowlist'>> & ElementInteractionsOptions; | ||
export declare enum ObservablesEnum { | ||
@@ -13,0 +12,0 @@ NetworkObservable = "networkObservable" |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "1.1.8"; | ||
export declare const VERSION = "1.1.9"; | ||
//# sourceMappingURL=version.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.VERSION = void 0; | ||
exports.VERSION = '1.1.8'; | ||
exports.VERSION = '1.1.9'; | ||
//# sourceMappingURL=version.js.map |
@@ -1,2 +0,2 @@ | ||
import { BrowserClient, BrowserConfig, EnrichmentPlugin, ElementInteractionsOptions, NetworkRequestEvent, NetworkTrackingOptions } from '@amplitude/analytics-core'; | ||
import { BrowserClient, BrowserConfig, EnrichmentPlugin, NetworkRequestEvent, NetworkTrackingOptions } from '@amplitude/analytics-core'; | ||
import { Observable } from 'rxjs'; | ||
@@ -10,3 +10,2 @@ import { HasEventTargetAddRemove } from 'rxjs/internal/observable/fromEvent'; | ||
export type BrowserEnrichmentPlugin = EnrichmentPlugin<BrowserClient, BrowserConfig>; | ||
export type AutoCaptureOptionsWithDefaults = Required<Pick<ElementInteractionsOptions, 'debounceTime' | 'cssSelectorAllowlist' | 'actionClickAllowlist'>> & ElementInteractionsOptions; | ||
export declare enum ObservablesEnum { | ||
@@ -13,0 +12,0 @@ NetworkObservable = "networkObservable" |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "1.1.8"; | ||
export declare const VERSION = "1.1.9"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -1,2 +0,2 @@ | ||
export var VERSION = '1.1.8'; | ||
export var VERSION = '1.1.9'; | ||
//# sourceMappingURL=version.js.map |
@@ -1,2 +0,2 @@ | ||
import { BrowserClient, BrowserConfig, EnrichmentPlugin, ElementInteractionsOptions, NetworkRequestEvent, NetworkTrackingOptions } from '@amplitude/analytics-core'; | ||
import { BrowserClient, BrowserConfig, EnrichmentPlugin, NetworkRequestEvent, NetworkTrackingOptions } from '@amplitude/analytics-core'; | ||
import { Observable } from 'rxjs'; | ||
@@ -10,3 +10,2 @@ import { HasEventTargetAddRemove } from 'rxjs/internal/observable/fromEvent'; | ||
export type BrowserEnrichmentPlugin = EnrichmentPlugin<BrowserClient, BrowserConfig>; | ||
export type AutoCaptureOptionsWithDefaults = Required<Pick<ElementInteractionsOptions, 'debounceTime' | 'cssSelectorAllowlist' | 'actionClickAllowlist'>> & ElementInteractionsOptions; | ||
export declare enum ObservablesEnum { | ||
@@ -13,0 +12,0 @@ NetworkObservable = "networkObservable" |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "1.1.8"; | ||
export declare const VERSION = "1.1.9"; | ||
//# sourceMappingURL=version.d.ts.map |
{ | ||
"name": "@amplitude/plugin-network-capture-browser", | ||
"version": "1.1.8", | ||
"version": "1.1.9", | ||
"description": "", | ||
@@ -43,3 +43,3 @@ "author": "Amplitude Inc", | ||
"dependencies": { | ||
"@amplitude/analytics-core": "^2.12.2", | ||
"@amplitude/analytics-core": "^2.12.3", | ||
"rxjs": "^7.8.1", | ||
@@ -49,3 +49,2 @@ "tslib": "^2.4.1" | ||
"devDependencies": { | ||
"@amplitude/analytics-browser": "^2.17.8", | ||
"@rollup/plugin-commonjs": "^23.0.4", | ||
@@ -63,3 +62,3 @@ "@rollup/plugin-node-resolve": "^15.0.1", | ||
], | ||
"gitHead": "acadfba5202966d6168d551e124511a9313ab006" | ||
"gitHead": "16c45a70df22880b2568231e9ae1ddfc65ddfbf4" | ||
} |
@@ -13,3 +13,3 @@ <p align="center"> | ||
Browser SDK plugin for autocapture. | ||
Browser SDK plugin for network capture. | ||
@@ -30,5 +30,5 @@ ## Installation | ||
This plugin works on top of the Amplitude Browser SDK, generating auto-tracked events and sending to Amplitude. | ||
This plugin works on top of the Amplitude Browser SDK, and tracks network request events | ||
To use this plugin, you need to install `@amplitude/analytics-browser` version `v1.9.1` or later. | ||
To use this plugin, you need to install `@amplitude/plugin-network-capture-browser` | ||
@@ -35,0 +35,0 @@ ### 1. Import Amplitude packages |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
8
-11.11%364008
-0.49%979
-0.31%