Browse Source

:sparkles: TypeScript ApplySystem now takes any JSON serializable as input (#135)

Danilo Guanabara 8 months ago
parent
commit
b1e8373591
1 changed files with 2 additions and 2 deletions
  1. 2 2
      clients/bolt-sdk/src/world/transactions.ts

+ 2 - 2
clients/bolt-sdk/src/world/transactions.ts

@@ -383,7 +383,7 @@ interface ApplySystemInstruction {
   world: PublicKey;
   session?: Session;
   extraAccounts?: web3.AccountMeta[];
-  args?: object;
+  args?: any;
 }
 async function createApplySystemInstruction({
   authority,
@@ -491,7 +491,7 @@ export async function ApplySystem({
   entities: ApplySystemEntity[];
   world: PublicKey;
   extraAccounts?: web3.AccountMeta[];
-  args?: object;
+  args?: any;
   session?: Session;
 }): Promise<{ instruction: TransactionInstruction; transaction: Transaction }> {
   const instruction = await createApplySystemInstruction({