From 124a9ebc20d7be6e6e7c06168f8215f376a327ec Mon Sep 17 00:00:00 2001 From: Blockiosaurus Date: Thu, 8 Aug 2024 06:36:08 -0400 Subject: [PATCH] Fix formatting --- clients/js/src/defaultGuards/assetGate.ts | 4 +--- clients/js/src/defaultGuards/index.ts | 2 +- clients/js/src/plugin.ts | 2 +- clients/js/test/defaultGuards/assetGate.test.ts | 4 +--- 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/clients/js/src/defaultGuards/assetGate.ts b/clients/js/src/defaultGuards/assetGate.ts index e0878a6..7227dff 100644 --- a/clients/js/src/defaultGuards/assetGate.ts +++ b/clients/js/src/defaultGuards/assetGate.ts @@ -18,9 +18,7 @@ export const assetGateGuardManifest: GuardManifest< serializer: getAssetGateSerializer, mintParser: (context, mintContext, args) => ({ data: new Uint8Array(), - remainingAccounts: [ - { publicKey: args.asset, isWritable: false }, - ], + remainingAccounts: [{ publicKey: args.asset, isWritable: false }], }), routeParser: noopParser, }; diff --git a/clients/js/src/defaultGuards/index.ts b/clients/js/src/defaultGuards/index.ts index d6abbed..12bd9f0 100644 --- a/clients/js/src/defaultGuards/index.ts +++ b/clients/js/src/defaultGuards/index.ts @@ -28,4 +28,4 @@ export * from './assetBurn'; export * from './assetMintLimit'; export * from './assetBurnMulti'; export * from './assetPaymentMulti'; -export * from './assetGate'; \ No newline at end of file +export * from './assetGate'; diff --git a/clients/js/src/plugin.ts b/clients/js/src/plugin.ts index 294f187..a381731 100644 --- a/clients/js/src/plugin.ts +++ b/clients/js/src/plugin.ts @@ -95,7 +95,7 @@ export const mplCandyMachine = (): UmiPlugin => ({ assetMintLimitGuardManifest, assetBurnMultiGuardManifest, assetPaymentMultiGuardManifest, - assetGateGuardManifest, + assetGateGuardManifest ); }, }); diff --git a/clients/js/test/defaultGuards/assetGate.test.ts b/clients/js/test/defaultGuards/assetGate.test.ts index 923a800..2112b0f 100644 --- a/clients/js/test/defaultGuards/assetGate.test.ts +++ b/clients/js/test/defaultGuards/assetGate.test.ts @@ -1,6 +1,4 @@ -import { - setComputeUnitLimit, -} from '@metaplex-foundation/mpl-toolbox'; +import { setComputeUnitLimit } from '@metaplex-foundation/mpl-toolbox'; import { generateSigner, sol,