From 842f08f3745ebe9d416f300484d020826556e9e3 Mon Sep 17 00:00:00 2001 From: Silvestre Herrera Date: Thu, 30 Mar 2023 18:07:20 -0300 Subject: [PATCH] Replace deprecated `expo-random` package (#415) * Replace deprecated `expo-random` package * Only import `getRandomBytesAsync` --- async/index.native.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/async/index.native.js b/async/index.native.js index f35e1b04..92814673 100644 --- a/async/index.native.js +++ b/async/index.native.js @@ -1,4 +1,4 @@ -import { getRandomBytesAsync } from 'expo-random' +import { getRandomBytesAsync } from 'expo-crypto' import { urlAlphabet } from '../url-alphabet/index.js'