- Perfect optimization with locks when calling multiple queries in parallel.
- Make public SubnetOrCanister
- Verify that the certificate is valid for the canister and subnet
- Verify query signatures
verify_certificate
now takes a SubnetOrCanister and subnet_id_or_canister_id
- Make public
lookup_path_branches_in_an_ic_certificate_tree
- New method extension method
chunks
on T extends List.
- use Completer for the indexdb api.
- IICaller .indexdx_delete
- common update
fetch_root_key
function for a local replica.
provisional_create_canister_with_cycles
function for a local replica.
provisional_top_up_canister
function for a local replica.
- Set the effective-canister-id as the management-canister-id when calling the
provisional_create_canister_with_cycles
function.
- New documentation for the libraries.
- Make some library items private.
- New candid functions
c_forwards_one
and c_backwards_one
.
- Use the
Principal
type for the candid library since the opaque PrincipalReference
type is not being used.
- Common lib
CanisterInstallMode
enum for the put_code_on_the_canister
function mode
parameter.
- Fix typo in the
Tokens.oftheDoubleString
function.
check_icrc1_balance
function in the common lib.
CandidType.as_option
is a static method instead of an inherited method.
Icrc1Account
id
method, and static method of_the_id
for the current icrc1-account textual-representation.
- New
Keys
class, a key-pair that can sign messages.
Caller
class, a pair of keys with possible delegations.
List<Legation>
parameter removed from the Canister.call
function. Delegations included in the Caller
class.
- Consistent casing accross the library.
CallException
reject_code
is a BigInt
.
- Fix return type of
Canister.module_hash
to account for the case when the canister is empty and has no module.
- Fix return type of
Canister.metadata
and Canister.candid_service_metadata
to account for the case when the metadata section is empty.
common_web
library is back within this package.
- New use cbor dart lib for the web.
- Update Canister .call with the changes of dfinity/interface-spec#143. /call requests can now return http 200 with a reject response map.
- SubtleCrypto Caller for the web is in a new package ic_tools_web
- common system canisters are now static properties of the
SYSTEM_CANISTERS
class
- Temp workaround for
read_state
request_status
paths while this commit waits for the next network upgrade.
IcpTokens.oftheDoubleString
function without using doubles
IcpTokens round_decimal_places
function without using doubles
- common lib
transfer_icp
returns the Ok/Err variant
- common lib
create_canister
, topup_canister
, transfer_icp
, and check_icp_balance
use the IcpTokens class
CandidType.asOption<T extends CandidType>()
for the candid option subtyping rules.
- candid
cast_option<T extends CandidType>()
- import 'dart:math'; in the common-lib
- IcpTokens extends Record type in the common lib
- general clean up
- new catchable CallException with the reject code and reject message
- new SubtleCrypto Caller with exctractable = false for secure legation on the web
- new candid match_variant function
- new Record.find_option method, since a candid option that is null within a record can be left out of the record or can be put into an option-type with a null value, this function checks for both of those possibilties in one function.
- icp_id standalone function
String icp_id(Principal principal, {List<int>? subaccount_bytes})
- make public constructicsystemstatetreeroothash
- re-try read_state calls when http error
- clean-up
- principal_af_an_icp_id common lib function now is an extension method on Principal
String icp_id({List<int>? subaccount_bytes})
- send_dfx common function is now 'transfer_icp'
- new timeout_duration parameter on the canister.call method
- take-out dart:io import in the common-lib, put_code_on_the_canister now takes a Uint8List wasm_canister_bytes instead of a file-path
- new common-lib top-up canister method
- updates the create_canister common-lib function with the ledger's-update of the to_canister-field on the notify_dfx method for a principal-type (used to be a blob type)
- candid ServiceReference now sorts the methods by the name per the spec
- Principal('...').as_a_candid() now is Principal('...').candid
- PrincipalReference serializes as a candid primtype
- new common management functions:
check_canister_status
and put_code_on_the_canister
- Principal class now has a new method: .as_a_candid() and does not extend the CandidType: PrincipalReference.
- :change of the crypto-libraries, now crypto and ed25519_edwards
- new .cast_vector() method on the Vector , for the cast of a vector< Candidtype > for a specific vector < specific-candidtype >, like .cast< T >() on a List.
- new getter .principal on a candid PrincipalReference
- The Principal class now extends the CandidType: PrincipalReference.
- You can now set the icbaseurl variable and it is now a Uri type. local on the port: 8000 ->
icbaseurl = Uri.parse('http://127.0.0.1:8000');
- Timization of the c_backwards on a Vector< Nat8 > , so we can serialize big blobs fast.
- empty Blob() c_forwards fix
- ingress_expiry on the web cbor bug-fix, and README update.
- Docs-fix , candid reference-types-fix
- cbor namespace fix on the web
- candid Vector T_backwards isTypeStance fix and forwards bytes lists fixs.
- calls to the management canister now are with the correct fective_canister_id.
- new create_canister-function in the common-library.
- :fix: comma in the lib/common.dart.
- :fix: exports of the common.dart.