8000 [FSSDK-10464] update import for uuid (#961) · optimizely/javascript-sdk@bfcdc49 · GitHub
[go: up one dir, main page]

Skip to content

Commit bfcdc49

Browse files
authored
[FSSDK-10464] update import for uuid (#961)
1 parent 16cda94 commit bfcdc49

File tree

1 file changed

+2
-2
lines changed
  • packages/optimizely-sdk/lib/utils/fns

1 file changed

+2
-2
lines changed

packages/optimizely-sdk/lib/utils/fns/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
import v4 from 'uuid';
16+
import _uuid from 'uuid';
1717

1818
const MAX_SAFE_INTEGER_LIMIT = Math.pow(2, 53);
1919

@@ -62,7 +62,7 @@ function isNumber(value: unknown): boolean {
6262
}
6363

6464
export function uuid(): string {
65-
return v4()
65+
return _uuid.v4()
6666
}
6767

6868
export type Omit<T, K> = Pick<T, Exclude<keyof T, K>>

0 commit comments

Comments
 (0)
0