File tree Expand file tree Collapse file tree
packages/react-native-quick-crypto/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import { test } from '../util' ;
22import { expect } from 'chai' ;
3- import { subtle , getRandomValues } from 'react-native-quick-crypto' ;
4- import { CryptoKey } from 'react-native-quick-crypto' ;
5- import type { CryptoKeyPair } from 'react-native-quick-crypto' ;
3+ import { subtle , getRandomValues , Buffer } from 'react-native-quick-crypto' ;
4+ import type { CryptoKey , CryptoKeyPair } from 'react-native-quick-crypto' ;
65
76// eslint-disable-next-line @typescript-eslint/no-explicit-any
87const subtleAny = subtle as any ;
Original file line number Diff line number Diff line change 11import { test } from '../util' ;
22import { expect } from 'chai' ;
3- import { subtle , getRandomValues } from 'react-native-quick-crypto' ;
3+ import { subtle , getRandomValues , Buffer } from 'react-native-quick-crypto' ;
44import type {
55 AesOcbParams ,
66 CryptoKey ,
Original file line number Diff line number Diff line change 11import { Stream } from 'readable-stream' ;
22import { NitroModules } from 'react-native-nitro-modules' ;
33import type { TransformOptions } from 'readable-stream' ;
4+ import { Buffer } from '@craftzdog/react-native-buffer' ;
45import type { Hash as NativeHash } from './specs/hash.nitro' ;
56import type {
67 BinaryLike ,
Original file line number Diff line number Diff line change 11import { NitroModules } from 'react-native-nitro-modules' ;
2+ import { Buffer } from '@craftzdog/react-native-buffer' ;
23import type { RsaCipher } from '../specs/rsaCipher.nitro' ;
34import type { BinaryLike } from '../utils' ;
45import {
Original file line number Diff line number Diff line change 11import { NitroModules } from 'react-native-nitro-modules' ;
2+ import { Buffer } from '@craftzdog/react-native-buffer' ;
23import {
34 CryptoKey ,
45 KeyObject ,
You can’t perform that action at this time.
0 commit comments