+1
-1
.eslintrc.js
+1
-1
.eslintrc.js
+4
android/build.gradle
+4
android/build.gradle
+70
android/src/main/java/expo/modules/atprotoauth/Crypto.kt
+70
android/src/main/java/expo/modules/atprotoauth/Crypto.kt
···
+27
-36
android/src/main/java/expo/modules/atprotoauth/ExpoAtprotoAuthModule.kt
+27
-36
android/src/main/java/expo/modules/atprotoauth/ExpoAtprotoAuthModule.kt
···-// Each module class must implement the definition function. The definition consists of components-// Sets the name of the module that JavaScript code will use to refer to the module. Takes a string as an argument.-// Can be inferred from module's class name, but it's recommended to set it explicitly for clarity.-// Sets constant properties on the module. Can take a dictionary or a closure that returns a dictionary.-// Defines a JavaScript synchronous function that runs the native code on the JavaScript thread.-// Enables the module to be used as a native view. Definition components that are accepted as part of
-30
android/src/main/java/expo/modules/atprotoauth/ExpoAtprotoAuthView.kt
-30
android/src/main/java/expo/modules/atprotoauth/ExpoAtprotoAuthView.kt
···-class ExpoAtprotoAuthView(context: Context, appContext: AppContext) : ExpoView(context, appContext) {-// The name of the event is inferred from the value and needs to match the event name defined in the module.-// Sends an event to JavaScript. Triggers a callback defined on the view component in JavaScript.
+116
android/src/main/java/expo/modules/atprotoauth/Jose.kt
+116
android/src/main/java/expo/modules/atprotoauth/Jose.kt
···
+64
android/src/main/java/expo/modules/atprotoauth/Records.kt
+64
android/src/main/java/expo/modules/atprotoauth/Records.kt
···
+21
-28
example/App.tsx
+21
-28
example/App.tsx
············
+2
-2
example/ios/expoatprotoauthexample.xcodeproj/project.pbxproj
+2
-2
example/ios/expoatprotoauthexample.xcodeproj/project.pbxproj
···SWIFT_OBJC_BRIDGING_HEADER = "expoatprotoauthexample/expoatprotoauthexample-Bridging-Header.h";···SWIFT_OBJC_BRIDGING_HEADER = "expoatprotoauthexample/expoatprotoauthexample-Bridging-Header.h";
+3
-3
ios/Crypto.swift
+3
-3
ios/Crypto.swift
·········
+7
-13
ios/ExpoAtprotoAuthModule.swift
+7
-13
ios/ExpoAtprotoAuthModule.swift
···-Function("verifyJwt") { (token: String, jwk: JWK, options: VerifyOptions) throws -> VerifyResponse in+Function("verifyJwt") { (token: String, jwk: EncodedJWK, options: VerifyOptions) throws -> VerifyResult in
+2
-2
ios/Jose.swift
+2
-2
ios/Jose.swift
···-static func verifyJwt(token: String, jwk: SecKey, options: VerifyOptions) throws -> VerifyResponse {+static func verifyJwt(token: String, jwk: SecKey, options: VerifyOptions) throws -> VerifyResult {···
+2
-2
ios/Records.swift
+2
-2
ios/Records.swift
+3
-1
package.json
+3
-1
package.json
·········
+1
-1
src/ExpoAtprotoAuth.types.ts
+1
-1
src/ExpoAtprotoAuth.types.ts
+1
-1
src/index.ts
+1
-1
src/index.ts
+35
-1
src/react-native-oauth-client.ts
+35
-1
src/react-native-oauth-client.ts
·········
+5
yarn.lock
+5
yarn.lock
···+resolved "https://registry.yarnpkg.com/expo-web-browser/-/expo-web-browser-14.2.0.tgz#d8fb521ae349aebbf5c0ca32448877480124c06c"+integrity sha512-6S51d8pVlDRDsgGAp8BPpwnxtyKiMWEFdezNz+5jVIyT+ctReW42uxnjRgtsdn5sXaqzhaX+Tzk/CWaKCyC0hw==