eas-cli 18.12.0 → 18.12.1

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.
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.formatRemoteSessionInstructions = formatRemoteSessionInstructions;
4
+ function formatRemoteSessionInstructions(remoteConfig) {
5
+ switch (remoteConfig.__typename) {
6
+ case 'AgentDeviceRunSessionRemoteConfig':
7
+ return [
8
+ '🔑 Run the following in your shell to attach to the agent-device daemon:',
9
+ '',
10
+ `export AGENT_DEVICE_DAEMON_BASE_URL='${remoteConfig.url}'`,
11
+ `export AGENT_DEVICE_DAEMON_AUTH_TOKEN='${remoteConfig.token}'`,
12
+ ].join('\n');
13
+ case 'ServeSimRunSessionRemoteConfig':
14
+ return [
15
+ '🌐 Open the following URL in your browser to access the simulator:',
16
+ '',
17
+ remoteConfig.previewUrl,
18
+ ].join('\n');
19
+ }
20
+ }