@agimon-ai/po-native 0.0.1-alpha.34 → 0.0.1-alpha.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +12 -12
- package/src/app/App.tsx +6 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agimon-ai/po-native",
|
|
3
|
-
"version": "0.0.1-alpha.
|
|
3
|
+
"version": "0.0.1-alpha.36",
|
|
4
4
|
"description": "Po for iOS and Android",
|
|
5
5
|
"homepage": "https://agimon.ai",
|
|
6
6
|
"bugs": {
|
|
@@ -29,17 +29,17 @@
|
|
|
29
29
|
"access": "public"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@agimon-ai/po-core": "0.0.0-alpha.
|
|
33
|
-
"@agimon-ai/po-expo-signing": "0.0.1-alpha.
|
|
34
|
-
"@agimon-ai/po-identity": "0.0.2-alpha.
|
|
35
|
-
"@agimon-ai/po-native-components": "0.0.0-alpha.
|
|
36
|
-
"@agimon-ai/po-native-dashboard": "0.0.0-alpha.
|
|
37
|
-
"@agimon-ai/po-template-advanced": "0.0.0-alpha.
|
|
38
|
-
"@agimon-ai/po-template-elegant": "0.0.0-alpha.
|
|
39
|
-
"@agimon-ai/po-voice": "0.0.0-alpha.
|
|
40
|
-
"@agimon-ai/po-web-components": "0.0.0-alpha.
|
|
41
|
-
"@agimon-ai/po-web-dashboard": "0.0.0-alpha.
|
|
42
|
-
"@agimon-ai/po-web-security": "0.0.0-alpha.
|
|
32
|
+
"@agimon-ai/po-core": "0.0.0-alpha.156",
|
|
33
|
+
"@agimon-ai/po-expo-signing": "0.0.1-alpha.36",
|
|
34
|
+
"@agimon-ai/po-identity": "0.0.2-alpha.103",
|
|
35
|
+
"@agimon-ai/po-native-components": "0.0.0-alpha.156",
|
|
36
|
+
"@agimon-ai/po-native-dashboard": "0.0.0-alpha.28",
|
|
37
|
+
"@agimon-ai/po-template-advanced": "0.0.0-alpha.156",
|
|
38
|
+
"@agimon-ai/po-template-elegant": "0.0.0-alpha.156",
|
|
39
|
+
"@agimon-ai/po-voice": "0.0.0-alpha.156",
|
|
40
|
+
"@agimon-ai/po-web-components": "0.0.0-alpha.156",
|
|
41
|
+
"@agimon-ai/po-web-dashboard": "0.0.0-alpha.156",
|
|
42
|
+
"@agimon-ai/po-web-security": "0.0.0-alpha.156",
|
|
43
43
|
"@better-auth/expo": "1.7.12",
|
|
44
44
|
"@config-plugins/react-native-webrtc": "15.0.2",
|
|
45
45
|
"@earendil-works/chord": "1.5.1",
|
package/src/app/App.tsx
CHANGED
|
@@ -1945,10 +1945,14 @@ function SessionsRoute({
|
|
|
1945
1945
|
async removeSession(sessionId) {
|
|
1946
1946
|
if (!canMutate(sessionId)) return unavailable;
|
|
1947
1947
|
const cloud = cloudHostFor(sessionId);
|
|
1948
|
-
// The card leaves at once and comes back only if the computer refuses.
|
|
1948
|
+
// The card leaves at once and comes back only if the computer refuses. Both requests find the
|
|
1949
|
+
// session's workspace in the list, so they start before the card leaves it.
|
|
1949
1950
|
const previous = sessionsStore.state.byId[sessionId]?.summary;
|
|
1951
|
+
const pending = cloud ? deleteCloudSession(cloud, sessionId) : stopSession(sessionId);
|
|
1950
1952
|
applySessionRemoved({ sessionId });
|
|
1951
|
-
const result =
|
|
1953
|
+
const result = await pending.catch((error: unknown) => ({
|
|
1954
|
+
error: error instanceof Error ? error.message : 'Could not remove the session.',
|
|
1955
|
+
}));
|
|
1952
1956
|
if (result !== undefined && previous && sessionsStore.state.byId[sessionId] === undefined)
|
|
1953
1957
|
applySessionUpsert({ session: previous });
|
|
1954
1958
|
return result;
|