Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Brord van Wierst committed Nov 12, 2023
1 parent 3839c32 commit e4e310c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion bindings/nodejs/lib/client/client-method-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export class ClientMethodHandler {

async destroy(): Promise<void> {
try {
destroyClient(this.methodHandler)
destroyClient(this.methodHandler);
} catch (error: any) {
throw errorHandle(error);
}
Expand Down
2 changes: 1 addition & 1 deletion bindings/nodejs/lib/client/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export class Client {
}

async destroy() {
this.methodHandler.destroy()
this.methodHandler.destroy();
}

/**
Expand Down
2 changes: 1 addition & 1 deletion bindings/nodejs/lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function errorHandle(error: any): Error {
if (!err.type) {
throw error;
}

if (err.type == 'panic') {
return Error(err.payload.toString());
} else {
Expand Down
2 changes: 1 addition & 1 deletion bindings/nodejs/lib/types/utils/bridge/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ export interface __OutputHexBytes__ {
type SlotCommitmentConverted = Omit<
SlotCommitment,
'cumulativeWeight' | 'referenceManaCost'
> & {cumulativeWeight: string; referenceManaCost: string};
> & { cumulativeWeight: string; referenceManaCost: string };
export interface __ComputeSlotCommitmentId__ {
name: 'computeSlotCommitmentId';
data: {
Expand Down
4 changes: 2 additions & 2 deletions bindings/nodejs/lib/wallet/wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,14 +126,14 @@ export class Wallet {
/**
* Get client.
*/
async getClient(): Promise<Client> {
async getClient(): Promise<Client> {
return this.methodHandler.getClient();
}

/**
* Get secret manager.
*/
async getSecretManager(): Promise<SecretManager> {
async getSecretManager(): Promise<SecretManager> {
return this.methodHandler.getSecretManager();
}

Expand Down

0 comments on commit e4e310c

Please sign in to comment.