@aperture-browser/api-client 0.0.0-nightly.123.a02294dfd68b → 0.0.0-nightly.124.436d60278bbd
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/README.md +1 -1
- package/dist/index.d.ts +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -105,7 +105,7 @@ const program = Effect.gen(function* () {
|
|
|
105
105
|
|
|
106
106
|
The live-session calls reach the running session directly and take an optional `Redacted` `sessionToken` in place of the credentials: `uploadLiveSessionFiles` stores files in its `uploads` directory, `setSessionViewport` resizes a target, and `streamSessionRecording` streams a recording without buffering it (`downloadSessionRecording` returns a `Blob`). A failure inside the running session is an `ApiRequestError` with code `live_session_error`, its HTTP status, and the session's message.
|
|
107
107
|
|
|
108
|
-
`getBrowserStatus(sessionId, sessionToken?)` is different: it is passive. Running sessions return live page metadata; suspended sessions return the page generation saved
|
|
108
|
+
`getBrowserStatus(sessionId, sessionToken?)` is different: it is passive. Running sessions return live page metadata; suspended sessions return the page generation saved when they suspended. It never wakes the browser or extends retention. `source: "unavailable"` means no saved page generation exists. Persisted target IDs may change after resume.
|
|
109
109
|
|
|
110
110
|
```ts
|
|
111
111
|
import * as NodeFileSystem from "@effect/platform-node/NodeFileSystem";
|
package/dist/index.d.ts
CHANGED
|
@@ -777,7 +777,7 @@ declare const makeApertureClient: (credentials: ApiCredentials) => Effect.Effect
|
|
|
777
777
|
readonly getAuthMe: () => Effect.Effect<AuthMeResponse, ApiRequestError>;
|
|
778
778
|
};
|
|
779
779
|
readonly health: HealthApi["Service"];
|
|
780
|
-
}, never, AuthApi | SessionsApi | SnapshotsApi | TenantsApi | UsersApi | TokensApi |
|
|
780
|
+
}, never, AuthApi | EventsApi | SessionsApi | SnapshotsApi | TenantsApi | UsersApi | TokensApi | HealthApi>;
|
|
781
781
|
/** ApertureClient acting with `credentials`, over the HttpClient the app provides. */
|
|
782
782
|
declare const apertureClientLayer: (credentials: ApiCredentials) => Layer.Layer<ApertureClient, never, import("effect/http/HttpClient").HttpClient>;
|
|
783
783
|
//#endregion
|
|
@@ -803,7 +803,7 @@ declare const healthApiLayer: Layer.Layer<HealthApi, never, ApiAuthorization | H
|
|
|
803
803
|
* Every API service, sharing one ApiAuthorization. The services send requests through the
|
|
804
804
|
* HttpClient the app provides, decorated with each call's authorization.
|
|
805
805
|
*/
|
|
806
|
-
declare const apiClientLayer: Layer.Layer<AuthApi | ApiAuthorization | SessionsApi | SnapshotsApi | TenantsApi | UsersApi | TokensApi |
|
|
806
|
+
declare const apiClientLayer: Layer.Layer<AuthApi | ApiAuthorization | EventsApi | SessionsApi | SnapshotsApi | TenantsApi | UsersApi | TokensApi | HealthApi, never, HttpClient.HttpClient>;
|
|
807
807
|
type ApiServices = Layer.Success<typeof apiClientLayer>;
|
|
808
808
|
declare const baseUrlLayer: (baseUrl: string) => Layer.Layer<HttpClient.HttpClient, never, HttpClient.HttpClient>;
|
|
809
809
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aperture-browser/api-client",
|
|
3
|
-
"version": "0.0.0-nightly.
|
|
3
|
+
"version": "0.0.0-nightly.124.436d60278bbd",
|
|
4
4
|
"description": "Effect services for the Aperture API: sessions, snapshots, tenants, users, tokens, events and authentication.",
|
|
5
5
|
"homepage": "https://github.com/tarik02/aperture#readme",
|
|
6
6
|
"bugs": "https://github.com/tarik02/aperture/issues",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"access": "public"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@aperture-browser/api-schema": "0.0.0-nightly.
|
|
32
|
+
"@aperture-browser/api-schema": "0.0.0-nightly.124.436d60278bbd"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@simplewebauthn/browser": "13.3.0",
|