Skip to content

Commit

Permalink
Replace deprecated expo-random package (#415)
Browse files Browse the repository at this point in the history
* Replace deprecated `expo-random` package

* Only import `getRandomBytesAsync`
  • Loading branch information
silvestreh authored Mar 30, 2023
1 parent cabeabe commit 842f08f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion async/index.native.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getRandomBytesAsync } from 'expo-random'
import { getRandomBytesAsync } from 'expo-crypto'

import { urlAlphabet } from '../url-alphabet/index.js'

Expand Down

0 comments on commit 842f08f

Please # to comment.