@agimon-ai/po-native 0.0.1-alpha.17 → 0.0.1-alpha.19
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
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.19",
|
|
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.139",
|
|
33
|
+
"@agimon-ai/po-expo-signing": "0.0.1-alpha.19",
|
|
34
|
+
"@agimon-ai/po-identity": "0.0.2-alpha.86",
|
|
35
|
+
"@agimon-ai/po-native-components": "0.0.0-alpha.139",
|
|
36
|
+
"@agimon-ai/po-native-dashboard": "0.0.0-alpha.11",
|
|
37
|
+
"@agimon-ai/po-template-advanced": "0.0.0-alpha.139",
|
|
38
|
+
"@agimon-ai/po-template-elegant": "0.0.0-alpha.139",
|
|
39
|
+
"@agimon-ai/po-voice": "0.0.0-alpha.139",
|
|
40
|
+
"@agimon-ai/po-web-components": "0.0.0-alpha.139",
|
|
41
|
+
"@agimon-ai/po-web-dashboard": "0.0.0-alpha.139",
|
|
42
|
+
"@agimon-ai/po-web-security": "0.0.0-alpha.139",
|
|
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",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { poClientMetadataPreface } from '@agimon-ai/po-core/clientMetadata';
|
|
2
|
-
import { createTextLink, type ProtocolLink as Link } from '@agimon-ai/po-core/
|
|
2
|
+
import { createTextLink, type ProtocolLink as Link } from '@agimon-ai/po-core/protocolTransport';
|
|
3
3
|
import type { SealedTransport } from '@agimon-ai/po-web-security/browser';
|
|
4
4
|
|
|
5
5
|
import { currentClientMetadata, initializeClientIdentity } from '../services/clientIdentity';
|
|
@@ -141,7 +141,10 @@ export function createNativeProtocolLink(
|
|
|
141
141
|
}),
|
|
142
142
|
])
|
|
143
143
|
: undefined;
|
|
144
|
-
if (result && 'error' in result)
|
|
144
|
+
if (result && 'error' in result)
|
|
145
|
+
throw result.error instanceof Error
|
|
146
|
+
? result.error
|
|
147
|
+
: new Error('Client device probe failed.', { cause: result.error });
|
|
145
148
|
const response = result?.response;
|
|
146
149
|
if (response && response.status !== 404) {
|
|
147
150
|
if (!response.ok) throw new Error(`Client device probe failed (${response.status}).`);
|
package/src/app/cloudRuntime.ts
CHANGED