Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

surpport new version of web3_signers #20

Merged
merged 2 commits into from
Jun 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 0.1.2

* Update web3-signers
* export logger from web3-signers

## 0.1.1

* Remove chainId verification in the bundler provider
Expand Down
10 changes: 5 additions & 5 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ packages:
dependency: transitive
description:
name: blockchain_utils
sha256: b0d73432f145ba6f9299c362ea6d8ea9804d5422c34180abee7854b7adcb869d
sha256: "699d72427447814bd574b95b0d3baf9b2c0ec9c9b82deef3c6264c6f5efa4406"
url: "https://pub.dev"
source: hosted
version: "2.1.2"
version: "3.0.0"
boolean_selector:
dependency: transitive
description:
Expand Down Expand Up @@ -707,7 +707,7 @@ packages:
path: ".."
relative: true
source: path
version: "0.1.0"
version: "0.1.2"
vector_math:
dependency: transitive
description:
Expand Down Expand Up @@ -744,10 +744,10 @@ packages:
dependency: "direct main"
description:
name: web3_signers
sha256: a8f520f32e858cf482b1e04f38ccef225fe2b6ca2ccf56ed0c5a087b7f6c0701
sha256: de57dbdde9bbaa3c503adb169b082f6342f502b7492420a7365d5fa979283ab0
url: "https://pub.dev"
source: hosted
version: "0.0.7"
version: "0.0.12"
web3dart:
dependency: "direct main"
description:
Expand Down
6 changes: 3 additions & 3 deletions lib/src/4337/factory.dart
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,9 @@ class SmartWalletFactory implements SmartWalletFactoryBase {
'uint256'
], [
recoveryAddress ?? Constants.zeroAddress,
hexToBytes(pkp.credentialHex),
pkp.publicKey.item1.value,
pkp.publicKey.item2.value,
hexToBytes(pkp.authData.hexCredential),
pkp.authData.publicKey.item1.value,
pkp.authData.publicKey.item2.value,
]);

final initCalldata = _p256Accountfactory.self
Expand Down
98 changes: 0 additions & 98 deletions lib/src/common/logger.dart

This file was deleted.

1 change: 1 addition & 0 deletions lib/variance_dart.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import 'package:web3dart/web3dart.dart';
import 'src/abis/abis.dart';
import 'src/interfaces/interfaces.dart';

export 'package:web3_signers/web3_signers.dart' show Logger;
export 'src/abis/abis.dart' show ContractAbis;

part 'src/4337/chains.dart';
Expand Down
24 changes: 12 additions & 12 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ packages:
dependency: transitive
description:
name: blockchain_utils
sha256: b0d73432f145ba6f9299c362ea6d8ea9804d5422c34180abee7854b7adcb869d
sha256: "699d72427447814bd574b95b0d3baf9b2c0ec9c9b82deef3c6264c6f5efa4406"
url: "https://pub.dev"
source: hosted
version: "2.1.2"
version: "3.0.0"
boolean_selector:
dependency: transitive
description:
Expand Down Expand Up @@ -93,10 +93,10 @@ packages:
dependency: "direct dev"
description:
name: build_runner
sha256: "1414d6d733a85d8ad2f1dfcb3ea7945759e35a123cb99ccfac75d0758f75edfa"
sha256: "644dc98a0f179b872f612d3eb627924b578897c629788e858157fa5e704ca0c7"
url: "https://pub.dev"
source: hosted
version: "2.4.10"
version: "2.4.11"
build_runner_core:
dependency: transitive
description:
Expand Down Expand Up @@ -234,10 +234,10 @@ packages:
dependency: "direct dev"
description:
name: flutter_lints
sha256: "9e8c3858111da373efc5aa341de011d9bd23e2c5c5e0c62bccf32438e192d7b1"
sha256: "3f41d009ba7172d5ff9be5f6e6e6abb4300e263aab8866d2a0842ed2a70f8f0c"
url: "https://pub.dev"
source: hosted
version: "3.0.2"
version: "4.0.0"
flutter_web_plugins:
dependency: transitive
description: flutter
Expand Down Expand Up @@ -335,10 +335,10 @@ packages:
dependency: transitive
description:
name: lints
sha256: cbf8d4b858bb0134ef3ef87841abdf8d63bfc255c266b7bf6b39daa1085c4290
sha256: "976c774dd944a42e83e2467f4cc670daef7eed6295b10b36ae8c85bcbf828235"
url: "https://pub.dev"
source: hosted
version: "3.0.0"
version: "4.0.0"
logging:
dependency: transitive
description:
Expand Down Expand Up @@ -660,10 +660,10 @@ packages:
dependency: "direct main"
description:
name: web3_signers
sha256: a8f520f32e858cf482b1e04f38ccef225fe2b6ca2ccf56ed0c5a087b7f6c0701
sha256: de57dbdde9bbaa3c503adb169b082f6342f502b7492420a7365d5fa979283ab0
url: "https://pub.dev"
source: hosted
version: "0.0.7"
version: "0.0.12"
web3dart:
dependency: "direct main"
description:
Expand All @@ -676,10 +676,10 @@ packages:
dependency: "direct dev"
description:
name: web3dart_builders
sha256: "19593770eb7a45a72087c7e3a0e1185ff58cc8827a68114eef6ed265e2ee9b54"
sha256: "8a7f62ae5c348741ad829aa5e4599ff482a128210dff620a6ee3f895db9c0db8"
url: "https://pub.dev"
source: hosted
version: "0.0.7"
version: "0.1.2"
web_socket:
dependency: transitive
description:
Expand Down
14 changes: 7 additions & 7 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: variance_dart
description: An Account Abstraction (4337) Development kit, for quickly building mobile web3 apps and smart wallets.
version: 0.1.1
version: 0.1.2
documentation: https://docs.variance.space
homepage: https://variance.space
repository: https://github.com/vaariance/variance-dart
Expand All @@ -18,14 +18,14 @@ platforms:
dependencies:
flutter:
sdk: flutter
web3dart: ^2.7.2
http: ^1.1.0
web3_signers: ^0.0.7
web3dart: ^2.7.3
http: ^1.2.0
web3_signers: ^0.0.12

dev_dependencies:
web3dart_builders: ^0.0.7
build_runner: ^2.4.6
flutter_lints: ^3.0.0
web3dart_builders: ^0.1.2
build_runner: ^2.4.11
flutter_lints: ^4.0.0
mockito: ^5.4.2

topics:
Expand Down
Loading