diff --git a/CHANGELOG.md b/CHANGELOG.md index ee7dc160d..082e827f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ All notable changes to the Aptos TypeScript SDK will be captured in this file. T # Unreleased +- Omit `"build" | "simulate" | "submit"` from `aptos` namespace + # 1.3.0 (2024-01-03) - [`Breaking`] Capitalize `TransactionPayloadMultiSig` type diff --git a/src/api/aptos.ts b/src/api/aptos.ts index 7bedd51d0..2686dcdf8 100644 --- a/src/api/aptos.ts +++ b/src/api/aptos.ts @@ -58,7 +58,8 @@ export class Aptos { } } -// extends Aptos interface so all the methods and properties from the other classes will be recognized by typescript. +// extends Aptos interface so all the methods and properties +// from the other classes will be recognized by typescript. export interface Aptos extends Account, ANS, @@ -69,7 +70,7 @@ export interface Aptos FungibleAsset, General, Staking, - Transaction {} + Omit {} /** In TypeScript, we can’t inherit or extend from more than one class,