Skip to content

Commit b1e8373

Browse files
authored
✨ TypeScript ApplySystem now takes any JSON serializable as input (#135)
1 parent 3d22514 commit b1e8373

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ interface ApplySystemInstruction {
383383
world: PublicKey;
384384
session?: Session;
385385
extraAccounts?: web3.AccountMeta[];
386-
args?: object;
386+
args?: any;
387387
}
388388
async function createApplySystemInstruction({
389389
authority,
@@ -491,7 +491,7 @@ export async function ApplySystem({
491491
entities: ApplySystemEntity[];
492492
world: PublicKey;
493493
extraAccounts?: web3.AccountMeta[];
494-
args?: object;
494+
args?: any;
495495
session?: Session;
496496
}): Promise<{ instruction: TransactionInstruction; transaction: Transaction }> {
497497
const instruction = await createApplySystemInstruction({

0 commit comments

Comments
 (0)