Merge branch 'hailey/oauth' into hailey/expo-oauth-helper

# Conflicts:
#	modules/expo-bluesky-oauth-client/src/react-native-key.ts
This commit is contained in:
Hailey
2024-04-29 07:58:59 -07:00
397 changed files with 31464 additions and 23421 deletions
@@ -14,13 +14,10 @@ type Item = {
type EncodedKey = {
keyId: string
keyPair: CryptoKeyPair
keyPair: CryptoKey
}
function encodeKey(key: Key): EncodedKey {
if (!(key instanceof WebcryptoKey) || !key.kid) {
throw new Error('Invalid key object')
}
return {
keyId: key.kid,
keyPair: key.cryptoKeyPair,
@@ -42,7 +39,6 @@ export type Schema = {
}>
session: Item<{
dpopKey: EncodedKey
tokenSet: TokenSet
}>