Files
427e7578-d7bf-49c8-aee9-2dd…/yjs-poll/node_modules/lib0/webcrypto.react-native.js

8 lines
215 B
JavaScript

// @ts-ignore
import webcrypto from 'isomorphic-webcrypto/src/react-native'
webcrypto.ensureSecure()
export const subtle = webcrypto.subtle
export const getRandomValues = webcrypto.getRandomValues.bind(webcrypto)