From ee7e4ce8d471e284d7690f2336936ff4e05cf5f2 Mon Sep 17 00:00:00 2001 From: EthanShoeDev <13422990+EthanShoeDev@users.noreply.github.com> Date: Fri, 12 Sep 2025 02:14:19 -0400 Subject: [PATCH] lint --- apps/mobile/src/lib/ssh-connection-manager.ts | 4 ++-- docs/import-private-key-plan.md | 1 + docs/todos.md | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/mobile/src/lib/ssh-connection-manager.ts b/apps/mobile/src/lib/ssh-connection-manager.ts index f156b1f..f73fb79 100644 --- a/apps/mobile/src/lib/ssh-connection-manager.ts +++ b/apps/mobile/src/lib/ssh-connection-manager.ts @@ -1,5 +1,5 @@ import type SSHClient from '@dylankenneally/react-native-ssh-sftp'; -import uuid from 'react-native-uuid'; +import * as Crypto from 'expo-crypto'; export type SSHConn = { client: SSHClient; @@ -10,7 +10,7 @@ export type SSHConn = { const sshConnections = new Map(); function addSession(params: { client: SSHClient }) { - const sessionId = uuid.v4(); + const sessionId = Crypto.randomUUID(); const createdAt = new Date(); const sshConn: SSHConn = { client: params.client, diff --git a/docs/import-private-key-plan.md b/docs/import-private-key-plan.md index 8f1162b..98a5f98 100644 --- a/docs/import-private-key-plan.md +++ b/docs/import-private-key-plan.md @@ -1 +1,2 @@ https://docs.expo.dev/versions/latest/sdk/document-picker/ +https://docs.expo.dev/versions/latest/sdk/filesystem/ diff --git a/docs/todos.md b/docs/todos.md index bcceead..6789375 100644 --- a/docs/todos.md +++ b/docs/todos.md @@ -31,3 +31,4 @@ - https://github.com/dylankenneally/react-native-ssh-sftp - https://xtermjs.org/ - https://docs.expo.dev/versions/latest/sdk/webview/ +- https://docs.expo.dev/versions/latest/sdk/gl-view/