Skip to content

Commit

Permalink
gui: fix stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
layday committed Feb 16, 2024
1 parent 5499cbd commit 1a4085a
Show file tree
Hide file tree
Showing 17 changed files with 570 additions and 633 deletions.
16 changes: 8 additions & 8 deletions instawow-gui/frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions instawow-gui/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
"events": "^3.3.0",
"prettier": "^3.2.5",
"prettier-plugin-svelte": "^3.2.1",
"sass": "^1.70.0",
"svelte": "5.0.0-next.54",
"sass": "^1.71.0",
"svelte": "5.0.0-next.55",
"svelte-check": "^3.6.4",
"svelte-preprocess": "^5.1.3",
"tslib": "^2.6.2",
Expand Down
8 changes: 2 additions & 6 deletions instawow-gui/frontend/src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,16 +169,12 @@ export type ValidationError = {

export class Api {
constructor(
private readonly _clientWrapper: RClient,
public readonly clientWrapper: RClient,
public readonly profile?: string,
) {}

withProfile(profile: string) {
return new Api(this._clientWrapper, profile);
}

async request(requestObject: RequestObject) {
const client = await this._clientWrapper.client;
const client = await this.clientWrapper.client;
return await client.request(requestObject, 0);
}

Expand Down
2 changes: 1 addition & 1 deletion instawow-gui/frontend/src/components/Addon.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import type { Addon } from "../api";
import { Strategy } from "../api";
import { ListFormat } from "../constants";
import { API_KEY, type Api } from "../stores/api";
import { API_KEY, type Api } from "../stores/api.svelte";
import ProgressIndicator from "./ProgressIndicator.svelte";
import Icon from "./SvgIcon.svelte";
Expand Down
Loading

0 comments on commit 1a4085a

Please sign in to comment.