@clavis.nexus/setup 1.0.0 → 1.0.2

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/dist/index.d.ts CHANGED
@@ -70,8 +70,11 @@ type CreateSetupClientOptions = {
70
70
  type SetupClient = {
71
71
  origins: SetupOrigins;
72
72
  getSession(): Promise<DevelopersSession | null>;
73
- login(): Promise<SetupResult<{
73
+ login(opts?: {
74
+ bridgeJson?: string;
75
+ }): Promise<SetupResult<{
74
76
  sub?: string;
77
+ pending?: true;
75
78
  }>>;
76
79
  logout(): Promise<SetupResult<{
77
80
  cleared: true;
@@ -128,7 +131,7 @@ type SetupClient = {
128
131
  }): Promise<SetupResult<{
129
132
  app_id: string;
130
133
  host: string;
131
- operate_private_jwk: string;
134
+ operate_private_jwk_path: string;
132
135
  human: HumanAction;
133
136
  }>>;
134
137
  appHostPlan(orgId: string, appId: string): Promise<SetupResult<{
@@ -157,9 +160,14 @@ type SetupClient = {
157
160
  }>>;
158
161
  emitEnv(args: {
159
162
  appId: string;
160
- operatePrivateJwkJson: string;
163
+ operatePrivateJwkJson?: string;
161
164
  }): Promise<SetupResult<{
162
- env: Record<string, string>;
165
+ env_file: string;
166
+ operate_private_jwk_path: string;
167
+ public_env: {
168
+ CLAVIS_API_ORIGIN: string;
169
+ CLAVIS_APP_ID: string;
170
+ };
163
171
  shell: string;
164
172
  }>>;
165
173
  };