🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

@datadog/mobile-react-native-apollo-client

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@datadog/mobile-react-native-apollo-client - npm Package Compare versions

Comparing version

to
2.6.4

@@ -16,2 +16,4 @@ import type { GestureResponderEvent } from 'react-native';

private timeProvider;
private currentRumSessionId;
constructor();
startView: (key: string, name: string, context?: object, timestampMs?: number) => Promise<void>;

@@ -32,5 +34,7 @@ stopView: (key: string, context?: object, timestampMs?: number) => Promise<void>;

addTiming: (name: string) => Promise<void>;
addViewLoadingTime: (overwrite: boolean) => Promise<void>;
stopSession: () => Promise<void>;
addFeatureFlagEvaluation: (name: string, value: unknown) => Promise<void>;
getCurrentSessionId(): Promise<string | undefined>;
getCachedSessionId(): string | null;
getTracingContext: (url: string, tracingSamplingRate: number, firstPartyHosts: FirstPartyHost[]) => DatadogTracingContext;

@@ -37,0 +41,0 @@ getTracingContextForPropagators: (propagators: PropagatorType[], tracingSamplingRate: number) => DatadogTracingContext;

@@ -1,2 +0,2 @@

import type EventsInterceptor from './EventsInterceptor';
import type { EventsInterceptor } from './EventsInterceptor';
export declare const UNKNOWN_TARGET_NAME = "unknown_target";

@@ -3,0 +3,0 @@ export type DdEventsInterceptorOptions = {

@@ -1,4 +0,4 @@

export default interface EventsInterceptor {
export interface EventsInterceptor {
interceptOnPress(...args: any[]): void;
}
//# sourceMappingURL=EventsInterceptor.d.ts.map

@@ -1,5 +0,5 @@

import type EventsInterceptor from './EventsInterceptor';
export default class NoOpEventsInterceptor implements EventsInterceptor {
import type { EventsInterceptor } from './EventsInterceptor';
export declare class NoOpEventsInterceptor implements EventsInterceptor {
interceptOnPress(..._args: any[]): void;
}
//# sourceMappingURL=NoOpEventsInterceptor.d.ts.map

@@ -12,2 +12,3 @@ import type { PropagatorType } from '../../../types';

propagatorTypes: PropagatorType[];
rumSessionId: string | null;
} | {

@@ -19,8 +20,9 @@ tracingStrategy: 'DISCARD';

};
export declare const getTracingAttributes: ({ hostname, firstPartyHostsRegexMap, tracingSamplingRate }: {
export declare const getTracingAttributes: ({ hostname, firstPartyHostsRegexMap, tracingSamplingRate, rumSessionId }: {
hostname: Hostname | null;
firstPartyHostsRegexMap: RegexMap;
tracingSamplingRate: number;
rumSessionId: string | null;
}) => DdRumResourceTracingAttributes;
export declare const generateTracingAttributesWithSampling: (tracingSamplingRate: number, propagatorTypes: PropagatorType[]) => DdRumResourceTracingAttributes;
export declare const generateTracingAttributesWithSampling: (tracingSamplingRate: number, propagatorTypes: PropagatorType[], rumSessionId: string | null) => DdRumResourceTracingAttributes;
//# sourceMappingURL=distributedTracing.d.ts.map

@@ -15,2 +15,3 @@ import { PropagatorType } from '../../../types';

export declare const DD_TRACE_ID_TAG = "_dd.p.tid";
export declare const DD_RUM_SESSION_ID_TAG = "_dd.p.rsid";
/**

@@ -29,4 +30,4 @@ * OTel headers

}[];
export declare const getTracingContext: (url: string, tracingSamplingRate: number, firstPartyHosts: FirstPartyHost[]) => DatadogTracingContext;
export declare const getTracingContextForPropagators: (propagators: PropagatorType[], tracingSamplingRate: number) => DatadogTracingContext;
export declare const getTracingContext: (url: string, tracingSamplingRate: number, firstPartyHosts: FirstPartyHost[], rumSessionId: string | null) => DatadogTracingContext;
export declare const getTracingContextForPropagators: (propagators: PropagatorType[], tracingSamplingRate: number, rumSessionId: string | null) => DatadogTracingContext;
//# sourceMappingURL=distributedTracingHeaders.d.ts.map

@@ -90,2 +90,8 @@ import type { DatadogTracingContext } from './instrumentation/resourceTracking/distributedTracing/DatadogTracingContext';

/**
* Adds the loading time of the view to the active view.
* It is calculated as the difference between the current time and the start time of the view.
* @param overwrite: If true, overwrites the previously calculated view loading time.
*/
addViewLoadingTime(overwrite: boolean): Promise<void>;
/**
* Stops the current RUM Session.

@@ -92,0 +98,0 @@ */

@@ -81,2 +81,8 @@ import type { TurboModule } from 'react-native';

/**
* Adds the loading time of the view to the active view.
* It is calculated as the difference between the current time and the start time of the view.
* @param overwrite: If true, overwrites the previously calculated view loading time.
*/
addViewLoadingTime(overwrite: boolean): Promise<void>;
/**
* Stops the current RUM Session.

@@ -83,0 +89,0 @@ */

@@ -48,2 +48,8 @@ import type { TurboModule } from 'react-native';

clearAllData(): Promise<void>;
/**
* Required definitions, because of:
* https://github.com/react-native-community/RNNewArchitectureLibraries/tree/feat/swift-event-emitter?tab=readme-ov-file#codegen-update-codegen-specs)
*/
addListener: (eventType: string) => void;
removeListeners: (count: number) => void;
}

@@ -50,0 +56,0 @@ declare const _default: Spec | null;

@@ -6,3 +6,3 @@ import type { TimeProvider } from './time-provider/TimeProvider';

*/
export default class Timer {
export declare class Timer {
private timeProvider;

@@ -9,0 +9,0 @@ private times;

@@ -1,2 +0,2 @@

export declare const version = "2.6.3";
export declare const version = "2.6.4";
//# sourceMappingURL=version.d.ts.map
{
"name": "@datadog/mobile-react-native-apollo-client",
"version": "2.6.3",
"version": "2.6.4",
"description": "A client-side React Native module to interact with Apollo Client and Datadog",

@@ -81,3 +81,3 @@ "keywords": [

},
"gitHead": "1870ee0f82b7773c107dce3b16766526401e7a56"
"gitHead": "8c31bf4d2a3fb6e1f1596b36cd61fa27c41b8576"
}

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