@aperture-browser/api-client 0.0.0-nightly.122.bdcff30f8276 → 0.0.0-nightly.123.a02294dfd68b

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +5 -5
  2. package/package.json +2 -2
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 | EventsApi | UsersApi | HealthApi | SessionsApi | SnapshotsApi | TenantsApi | TokensApi>;
780
+ }, never, AuthApi | SessionsApi | SnapshotsApi | TenantsApi | UsersApi | TokensApi | EventsApi | 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 | EventsApi | UsersApi | HealthApi | SessionsApi | SnapshotsApi | TenantsApi | TokensApi, never, HttpClient.HttpClient>;
806
+ declare const apiClientLayer: Layer.Layer<AuthApi | ApiAuthorization | SessionsApi | SnapshotsApi | TenantsApi | UsersApi | TokensApi | EventsApi | 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
@@ -860,10 +860,10 @@ declare const makeSessionsApi: Effect.Effect<{
860
860
  }[] | undefined;
861
861
  };
862
862
  readonly pages: readonly {
863
- readonly url: string;
864
863
  readonly state: "pending" | "ready" | "unavailable" | "closed";
865
864
  readonly targetId: string;
866
865
  readonly title: string;
866
+ readonly url: string;
867
867
  readonly thumbnailAvailable: boolean;
868
868
  readonly viewport?: {
869
869
  readonly width: number;
@@ -893,10 +893,10 @@ declare const makeSessionsApi: Effect.Effect<{
893
893
  }[] | undefined;
894
894
  };
895
895
  readonly pages: readonly {
896
- readonly url: string;
897
896
  readonly state: "pending" | "ready" | "unavailable" | "closed";
898
897
  readonly targetId: string;
899
898
  readonly title: string;
899
+ readonly url: string;
900
900
  readonly thumbnailAvailable: boolean;
901
901
  readonly viewport?: {
902
902
  readonly width: number;
@@ -925,10 +925,10 @@ declare const makeSessionsApi: Effect.Effect<{
925
925
  };
926
926
  readonly thumbnailAvailable: boolean;
927
927
  readonly pages: readonly {
928
- readonly url: string;
929
928
  readonly state: "pending" | "ready" | "unavailable" | "closed";
930
929
  readonly targetId: string;
931
930
  readonly title: string;
931
+ readonly url: string;
932
932
  readonly thumbnailAvailable: boolean;
933
933
  readonly viewport?: {
934
934
  readonly width: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aperture-browser/api-client",
3
- "version": "0.0.0-nightly.122.bdcff30f8276",
3
+ "version": "0.0.0-nightly.123.a02294dfd68b",
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.122.bdcff30f8276"
32
+ "@aperture-browser/api-schema": "0.0.0-nightly.123.a02294dfd68b"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@simplewebauthn/browser": "13.3.0",