diff --git a/packages/optimizely-sdk/lib/utils/fns/index.ts b/packages/optimizely-sdk/lib/utils/fns/index.ts index db4123939..514bdc0dd 100644 --- a/packages/optimizely-sdk/lib/utils/fns/index.ts +++ b/packages/optimizely-sdk/lib/utils/fns/index.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import v4 from 'uuid'; +import _uuid from 'uuid'; const MAX_SAFE_INTEGER_LIMIT = Math.pow(2, 53); @@ -62,7 +62,7 @@ function isNumber(value: unknown): boolean { } export function uuid(): string { - return v4() + return _uuid.v4() } export type Omit = Pick>