- Use an explicit serialization method rather than
toJson
. - Revert #88.
- Revert part of #87.
- Make parsable big number string as covariant of Fixed classes.
- Treat parsable big number string as a covariant of the
Nat
class. - Allow parsable big number string for
lebEncode
andslebEncode
.
- Make pod shell respect configured profile on Darwin.
- Make
build_pod.sh
executable.
- Implements certificate's time and canister ranges checks.
- Implements v3 synchronized call API in agent and actor.
pollForResponse
can override the certificate result.- v3 calls will return to v2 if 202/404 status is returned.
- Support
flutter_rust_bridge
2.5.
- Reorg exports/imports so people can directly import
agent_dart_base/agent_dart_base.dart
oragent_dart/agent_dart.dart
without conflicts as much as possible. - Improve test equality checks.
- Remove unnecessary deps.
- Prepare for monorepo.
- Implement subaccount as
Principal.subAccount
, which also removes thesubAccount
parameter when converting a principal to an Account ID. Some other constructors are also removed due to duplicates.
- Fix encoder with deps and format files.
- Correct invalid plugin references by marking FFI plugins.
- Remove duplicate
ios_AgentDart.framework
.
- Upgrade FRB to 1.82.6.
- Improve the FFI helper when finding dynamic libraries.
- Improve how CMake bundle libraries on Windows and Linux.
- Fix Darwin frameworks fetching during
pod install
.
- Fix Darwin frameworks initialization during
pod install
.
- Upgrade FRB and roll new artifacts to all platforms.
- Requires Dart 3.0.
- Revert
identityProviderDefault
tohttps://identity.ic0.app
.
- Fix composite query support in actor.ts.
- Support composite_query in candid.
- Support for Dart 3.0.
- Send
methodName
intopollForResponse
. - Rename
Predicate
toPollPredicate
. - Rename
PollingResponseDoneException
toPollingResponseNoReplyException
. - Retry failed
call
,query
,read_state
,status
requests.
- Add HttpAgent.
fromUri
factory.
- Add
canisterId
andcaller
forPollingResponseException
. - Declare return types for fields and methods.
- Unify optional
password
for encrypt/decrypt methods.
- Migrate
ic0.app
toicp0.io
. - Default to empty password for encrypt/decrypt Cbor messages.
- Provide AES-256-GCM encryption/decryption instead of
AES-256-CBC
. (#54)
BigInt
for polling exceptions' reject code. (#49)- Add
Actor.createActorMethod
. - Support secp256k1 from FFI.
- Add
CoinType
.
- Fix RecordClass
covariant
.
bnToHex
not produce0x
by default.hexFixLength
andisHex
now use named arguments.- Remove
isHexString
andisHexadecimal
. - Allow to configure
include0x
withtoHex
. - Add
secp256K1SignRecoverable
with FFI upgrade.
- Fix
isHex
andisTestChain
. - Remove
IdentityDescriptor
.
- Improve all import/export sorts.
- Add
@immutable
as much as possible. - Better construct for
RosettaTransaction
andRecClass
. - Make
PrimitiveType
's constructor private. - Constraint Android API support range to 23~32.
- Use the correct super class for
HttpAgentCallRequest
. (#39)
- Tweak ignored files for pub.dev.
- Support FFI asynchronized methods with Rust bindings.
- Consist all namings, fields and constructors, including:
fromMap
->fromJson
toJSON
->toJson
- Better throws when exceptions occurred.
- Remove unused codes.
- Add the
cbor
argument fordefaultFetch
to allow non-cbor requests. - Fix
rosetta
requests.
- Add
CurveType
for signers. - Add
bits
getters forFixedIntClass
andFixedNatClass
. - Adopt
Platform.environment
for Flutter 3.
- Fix issues when encoding
OptClass
.
- Add
encryptCborPhrase
method.
- 🩹 HotFix 🩹 Remove invalid asserts with
defaultFetch
. (#19) - Remove unused tests.
- 💡 BREAKING CHANGE 💡 Fix fetch method type.
- Remove unused files.
- Use structured polling exceptions.
- Improve defaultFetch.
- Add
decryptCborPhrase
.
- Fix function name typos.
- Support
toJson
to candid.
- Remove unused files and functions.
- Use
archive: 3.3.0
.
- Use
Isolate.spawn
and Isolate.exit` to optimize isolate functions.
- Fix http request when IC returns dual headers using Flutter web.
- Skip...
- Use latest api of ledger.
- Fix encoder.
- Add identity from pem.
- Fix type annotation applied to dart 2.15.0.
- Add
CanisterId
class. - Fix rosetta api.
- Prevent secp256k1 weak signatures.
- Fix build scripts.
- Add
fromStorage
to auth_client.
- Fix rosetta with latest mainnet APIs.
- Fix cbor with primitive types.
- Format all files.
- Add principal to accountId.
- Add Flutter web support.
- Regroup project structure.
- Fix archiver overriding.
- Fix bls on io.
- Fix test compatible with Flutter web.
- Fix build scripts incase
dylib
not found.
- Fix secp256k1 signature verifier.
- Add Windows FFI support.
- IMPORTANT Fix candid parser with
BigInt
and others.
- Add archiver.
- Fix padding issue on signing method.
- Minor Fix fetch and keysmith.
- Breaking separating
auth_provider
to standaloneagent_dart_auth
package.
- Expose
AgentFactory
. - Fix Cbor with
List<int>
casting.
- Fix secp256k1 signature length.
- Add Secp256k1 Identity
- Add ledger with send and getBalance.
- BREAKING the
auth_client
flow is a little bit change due to Internet Identity service won't give correct identity using local webpage like we usewebAuthProvider
here. - How ever we keep the provider here,
because we may have other Identity Provider to give other solution.
But we managed to change
auth_client
a bit.
- Fix Uri parser, added
path
to auth_client.
- Use
blsSync
instead of async isolation.
- Fix cbordecode in the Delegation.
- Apply rosetta-api to current docker specs.
- BREAKING remove
ICPSigner.fromPrivatekey
and addedICPSigner.fromSeed
- Won't support import privatekey to signer anymore, may separate different signer,
eg:
Secp256k1Signer
orSchnorrSigner
in the future supporting different coin specs.
- Add sourceType of II, plugWallet, keysmith with different settings since they use different derivePath to generate seed.
- Add
Signer.importPhrase
to use settings above - Add related tests
- Fix delegation request sign and request_id.
- Fix delegation chain
transformRequest
.
- Fix error decoding.
- Follow
agent-js
latest features. - Fix README.
- Linting and first milestone finished
- Add
Ed25519KeyIdentity.recoverFromIISeedPhrase
.
- fix encode/decode
- Add isolate to encrypt/decrypt phrase keystore because
scrypt
in dart is too slow. Thinking about added another FFI method likeethsign
to complete the job however theserde_json
is too large to bundle. Related issue: #6
- Revamp.
- Add
Signer
toWallet
. - Add
Lock
andunlock
to Wallet.
- Add
webauth_provider
.
- Initial release.