Skip to content

Commit ccee833

Browse files
committed
Format
1 parent 3b3fb1b commit ccee833

File tree

4 files changed

+6
-21
lines changed

4 files changed

+6
-21
lines changed

src/api/app/types.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,7 @@ export type AppDisableCloneCellRequest = Omit<
7070
/**
7171
* @public
7272
*/
73-
export type AppNetworkInfoRequest = Omit<
74-
NetworkInfoRequest,
75-
"agent_pub_key"
76-
>;
73+
export type AppNetworkInfoRequest = Omit<NetworkInfoRequest, "agent_pub_key">;
7774

7875
/**
7976
* @public

src/api/app/websocket.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -348,9 +348,7 @@ export class AppWebsocket implements AppClient {
348348
* @param args - Specify the DNAs for which you want network info
349349
* @returns Network info for the specified DNAs
350350
*/
351-
async networkInfo(
352-
args: AppNetworkInfoRequest
353-
): Promise<NetworkInfoResponse> {
351+
async networkInfo(args: AppNetworkInfoRequest): Promise<NetworkInfoResponse> {
354352
return this.networkInfoRequester({
355353
...args,
356354
agent_pub_key: this.myPubKey,

src/environments/launcher.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
import { encode } from "@msgpack/msgpack";
22
import { invoke } from "@tauri-apps/api/tauri";
33
import { CallZomeRequest } from "../api";
4-
import {
5-
CallZomeRequestSigned,
6-
CallZomeRequestUnsigned,
7-
} from "../api";
4+
import { CallZomeRequestSigned, CallZomeRequestUnsigned } from "../api";
85
import { getNonceExpiration, randomNonce } from "../api";
96
import { InstalledAppId } from "../types.js";
107

test/e2e/app-websocket.ts

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,7 @@ test(
6060

6161
t.equal(response, null, "app entry type deserializes correctly");
6262

63-
const cellIdFromRoleName = appWs.getCellIdFromRoleName(
64-
ROLE_NAME,
65-
info
66-
);
63+
const cellIdFromRoleName = appWs.getCellIdFromRoleName(ROLE_NAME, info);
6764
t.deepEqual(cellIdFromRoleName, cell_id);
6865

6966
const response_from_role_name = await appWs.callZome({
@@ -208,9 +205,7 @@ test(
208205
test(
209206
"can create a callable clone cell and call it by clone id",
210207
withConductor(ADMIN_PORT, async (t) => {
211-
const { admin, client: appWs } = await createAppWsAndInstallApp(
212-
ADMIN_PORT
213-
);
208+
const { admin, client: appWs } = await createAppWsAndInstallApp(ADMIN_PORT);
214209
const info = await appWs.appInfo();
215210

216211
const createCloneCellParams: AppCreateCloneCellRequest = {
@@ -249,9 +244,7 @@ test(
249244
test(
250245
"can disable and re-enable a clone cell",
251246
withConductor(ADMIN_PORT, async (t) => {
252-
const { admin, client: appWs } = await createAppWsAndInstallApp(
253-
ADMIN_PORT
254-
);
247+
const { admin, client: appWs } = await createAppWsAndInstallApp(ADMIN_PORT);
255248

256249
const createCloneCellParams: AppCreateCloneCellRequest = {
257250
role_name: ROLE_NAME,

0 commit comments

Comments
 (0)