Changelog
Release history for all Qubic TypeScript SDK packages.
0.2.7
Patch Changes
0ee4560Thanks @alez04! - Point thebunexport condition todist/index.jsinstead ofsrc/index.tsso packages resolve correctly when installed from npm.
0.2.6
0.2.5
0.2.4
Patch Changes
bd0335dThanks @alez04! - Addmainandtypesfields to all packages. This allows tools usingmoduleResolution: "node"(e.g. Angular 16) to resolve the packages without requiringpathsoverrides in tsconfig.
0.2.3
0.2.2
0.2.1
Patch Changes
-
c9aa0f8: Audit fixes across all packages.
@qubic.org/rpc
- All methods return
Result<T, QubicRpcError>instead of throwing - New
QubicBalanceinterface withbigintamounts;getBalancereturns it - New utilities:
createQubicClient,waitForTick,pollUntilConfirmed,estimateTargetTick
@qubic.org/contracts
- Procedure builders return
ContractCall({ contractIndex, inputType, payload }) instead of bareUint8Array - Identity converter parameters omitted (not defaulted to zero bytes) when no
id-type fields present; required when they are present
@qubic.org/registry
getProcedureandgetFunctionnow throwEntryNotFoundError(extendsAbiNotFoundError) instead of plainErrorbuildPayloadManualthrowsPayloadBuildErrorforstruct/arraytypes instead of silently producing a zero-sized buffer- Fixed
sint8/sint16/sint32decode using signed reads - Fixed
sessionCacheshared acrosscreateRegistryClientinstances
@qubic.org/crypto
publicKeyToIdentitynow throwsInvalidIdentityErrorinstead of plainError- Fixed modulo bias in
generateRandomSeed
@qubic.org/tx
buildTransactionnow validatessourcePublicKeyanddestinationPublicKeyare exactly 32 bytes
@qubic.org/wallet
- Exported
SC_DESTINATIONconstant (all-A identity for SC calls) ScTransactionParams.destinationis now optional; defaults toSC_DESTINATIONWalletErrornow extendsQubicErrorfrom@qubic.org/types- Fixed
unlockVaultto usevaultData.iterationsinstead of the module constant
@qubic.org/bob
- Added 13 missing
BobRpcClientmethods - Per-method
AbortSignalsupport onBobRestClient - Fixed
AbortSignal.anyusage with runtime guard - New
createBobClientcomposite factory
@qubic.org/react
WalletAccount.identitytyped as brandedIdentitySendTransactionResult.broadcasttyped asBroadcastTransactionResponseuseBalancereturnsQubicBalancewithbigintamounts- All query hooks unwrap
Resultand surface errors to TanStack Query - Fixed post-unmount state update in
WalletProvider - Fixed
MetaMaskSnapConnector.isAvailable()false positive for non-Flask MetaMask
- All methods return