Skip to content

Commit

Permalink
fix: revert temp utility
Browse files Browse the repository at this point in the history
  • Loading branch information
saikumarrs committed Nov 22, 2024
1 parent cb44e69 commit 2f60cae
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { isObjectLiteralAndNotNull, mergeDeepRight } from './object';
import { isDefined, isDefinedAndNotNull, isFunction, isNull, isString } from './checks';
import { tryStringify } from './string';
import type { IdentifyTraits } from '../types/traits';
import { tempUtil } from './json';

export type PageCallOptions = {
category?: string;
Expand Down Expand Up @@ -57,7 +56,6 @@ const pageArgumentsToCallOptions = (
options?: Nullable<ApiOptions> | ApiCallback,
callback?: ApiCallback,
): PageCallOptions => {
tempUtil();
const payload: PageCallOptions = {
category: category as string,
name: name as string,
Expand Down
4 changes: 1 addition & 3 deletions packages/analytics-js-common/src/utilities/json.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,4 @@ const getSanitizedValue = <T = any>(value: T, logger?: ILogger): T => {
return newValue;
};

const tempUtil = () => { stringifyData(); };

export { stringifyWithoutCircular, stringifyData, getSanitizedValue, tempUtil };
export { stringifyWithoutCircular, stringifyData, getSanitizedValue };

0 comments on commit 2f60cae

Please sign in to comment.