Skip to content

Commit

Permalink
fixup! fixup! fixup! upgrade @aptos-labs/script-composer-pack and fix…
Browse files Browse the repository at this point in the history
… init
  • Loading branch information
runtian-zhou committed Feb 4, 2025
1 parent 9487337 commit d091088
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
All notable changes to the Aptos TypeScript SDK will be captured in this file. This changelog is written by hand for now. It adheres to the format set out by [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

# Unreleased
- [`Breaking`] Add new `scriptComposer` api in transactionSubmission api to allow SDK callers to invoke multiple Move functions inside a same transaction and compose the calls dynamically.
- Add new `scriptComposer` api in transactionSubmission api to allow SDK callers to invoke multiple Move functions inside a same transaction and compose the calls dynamically.

# 1.33.2 (2025-01-22)

Expand Down
11 changes: 6 additions & 5 deletions src/transactions/scriptComposer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@ import { fetchMoveFunctionAbi, getFunctionParts, standardizeTypeTags } from "../
import { CallArgument } from "../../types";
import { convertCallArgument } from "../transactionBuilder/remoteAbi";

// A wrapper class around TransactionComposer, which is a WASM library compiled
// from aptos-core/aptos-move/script-composer.
//
// This class allows the SDK caller to build a transaction that invokes multiple Move functions
// and allow for arguments to be passed around.
/**
* A wrapper class around TransactionComposer, which is a WASM library compiled
* from aptos-core/aptos-move/script-composer.
* This class allows the SDK caller to build a transaction that invokes multiple Move functions
* and allow for arguments to be passed around.
* */
export class AptosScriptComposer {
private config: AptosConfig;

Expand Down

0 comments on commit d091088

Please sign in to comment.