- Extend type
SmartContractParameters
withbigint
allowing large numbers in smart contract parameters.
- Removed
getGrpcClient
. As an alternative,grpcTransport
can be used withConcordiumGRPCClient
from@concordium/web-sdk
. - Make dependency to
@concordium/web-sdk
a peer dependency (^7.0). This will require consuming apps to add an explicit dependency to the library with its own version constraints.
grpcTransport
getter for getting a gprc transport layer for constructing a GRPC client which uses the node settings from the wallet.
requestAccounts
no longer appears to be able to return undefined.
- Bumped version of @concordium/web-sdk to 6.3.0.
requestAccounts
entrypoint to connect to a list of accounts.addWeb3IdCredential
entrypoint to add verifiable credentials.requestVerifiablePresentation
entrypoint to prove statements about identities and verifiable credentials.
- Made it possible to define the
type
ofSchemaWithContext
as a string along with the existingSchemaType
enum.
- Added
getGrpcClient
entrypoint to access grpc-web client. - Added
getSelectedChain
entrypoint to get the genesis hash of the chain selected in the wallet.
getJsonRpcClient
in favor of the newgetGrpcClient
.
- signMessage is now able to receive a SignMessageObject as the message in addition to a utf8 string.
- Added section for
requestIdProof
to README.
- Type for smart contract parameters in sendTransaction.
- SendTransaction for smart contract transactions can receive schemas that are for the specific parameter. If the raw schema is given directly, it is assumed to be the schema of the module, like previously.
- Entrypoint to request zero knowledge proof for a list of statements.
- Entrypoint to suggest CIS-2 tokens to be added to the connected account's view.
- Updated web-sdk to version 3, which changes field names in some transaction payloads for sendTransaction entrypoint.
- Fixed broken link + typos in README
- Removed parameters from smart contract types' payloads, due the wallet ignoring it in favor of separate arguments.
- Expose a JSON-RPC client, using the wallet's current JSON-RPC server.
getMostRecentlySelectedAccount
method. This method allows dApps to get the most prioritized account without usingconnect
. In a future release it will be updated to actually return the most recently selected account.
- Updated API of sendTransaction and signMessage to require the account address.
- Updated API to include an 'accountDisconnected' event.
- sendTransaction can now take a 5th argument, which is the schema's version. This will allow V1 contract parameters to be serialized.
- Initialized from the old browser-wallet-api-types package.
- Added method for detecting the injected Concordium browser wallet API.