Changes
/bcs
Types
SuiObjectRef
: removing bigint fromversion
should we remove this completelyObjectArg
:ImmOrOwned
->ImmOrOwnedObject
andShared
->SharedObject
- Added
ObjectCallArg
PureArg
Changed ArrayLike to Array not sure if this is correct
Bcs Types
CallArg
removedObjVec
Argument
enumKind to enum, Removed nested structs to align with Rust definitionsProgrammableMoveCall
Split target intopackage
,module
andfunction
, typeArguments now TypeTag instead of StringTransaction
enumKind to enum, replaced nested structs with tuples to align with Rust definitions
/transactions
Types
TransactionObjectArgument
shape changedTransactionResult
shape changedTransactionObjectInput
shape changedTransactionArgument
shape changedTransactionBlockInput
shape changed
TransactionBlock
blockData
is deprecated, returns snapshot of v1 blockData, should this be removed?- added getBlockData that returns new v2 blockData
/utils
Removed is
and assert
helpers
/mutltisig
- publicKeyFromSuiBytes moved to /verify
TODO
- Remove Input and Transaction exports?
- Move helpers in inputs.ts
getPureSerializationType
should be replaced- Should remove legacy BCS registry
- Should remove BCS registry name exports
- TransactionBlock constructor args?
- Remove pure inputs without types
- Need to export types for blockData
- Remove all type-exports from bcs, only export export implementations and helper types to get type from implementation
- Serialize should be updated to allow exporting v2 state
- Define TypeTag output type rather than input type?
- Use valibot parser in TypeTagSerializer
- Figure out what bcs should still export
- cleanup typescript/bcs exports
- maybe remove intent exports from cryptography and just use bcs intent encoding/decoding directly
- Should fromB64, toB64, fromHEX, toHEX still be exported from utils?
- Parse typeArguments from string in input
- rename normalizeInputs hook
- accept
(txb) -> txb.object
as txb argument? - handle string and address structs when encoding raw values (see getPureSerializationType)