@dynamic-labs/flow 2.0.0-alpha.10 → 2.0.0-alpha.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,4 +1,43 @@
1
1
 
2
+ ## [2.0.0-alpha.12](https://github.com/dynamic-labs/DynamicAuth/compare/v2.0.0-alpha.11...v2.0.0-alpha.12) (2024-03-13)
3
+
4
+
5
+ ### Features
6
+
7
+ * add sign-in with farcaster ([#4947](https://github.com/dynamic-labs/DynamicAuth/issues/4947)) ([3927d24](https://github.com/dynamic-labs/DynamicAuth/commit/3927d24392a8944997ca05431c6ab54757be62d9))
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * wallet connect links with query params ([#4948](https://github.com/dynamic-labs/DynamicAuth/issues/4948)) ([0738130](https://github.com/dynamic-labs/DynamicAuth/commit/0738130f82473a197e035b8dd74d996bdbb24c11))
13
+
14
+ ## [2.0.0-alpha.11](https://github.com/dynamic-labs/DynamicAuth/compare/v2.0.0-alpha.10...v2.0.0-alpha.11) (2024-03-12)
15
+
16
+
17
+ ### ⚠ BREAKING CHANGES
18
+
19
+ * rename FetchPublicAddressOpts to GetAddressOpts (#4910)
20
+ * remove use effect in useWalletEventListeners (#4843)
21
+ * rename fetchPublicAddress to getAddress (#4851)
22
+
23
+ ### Features
24
+
25
+ * Add farcaster to iconic ([#4925](https://github.com/dynamic-labs/DynamicAuth/issues/4925)) ([ab282dc](https://github.com/dynamic-labs/DynamicAuth/commit/ab282dc9cdcc0fe11f014d002b056ef4d3b34234))
26
+ * use transaction confirmation ui on signAndSendTransaction for solana embedded wallets ([#4909](https://github.com/dynamic-labs/DynamicAuth/issues/4909)) ([d77e89e](https://github.com/dynamic-labs/DynamicAuth/commit/d77e89ecff9dfc67ed48537f541a9995b2662e1e))
27
+
28
+
29
+ ### Bug Fixes
30
+
31
+ * add back connect button css variables ([#4922](https://github.com/dynamic-labs/DynamicAuth/issues/4922)) ([1119d62](https://github.com/dynamic-labs/DynamicAuth/commit/1119d62c2db6504952393060930524c3823e4a00))
32
+ * keep adaptive wallet list height ([#4916](https://github.com/dynamic-labs/DynamicAuth/issues/4916)) ([62aa54e](https://github.com/dynamic-labs/DynamicAuth/commit/62aa54e81d563082f7aa519f2ff2b5132e7dd83d))
33
+ * pass account and chain to walletClient ([#4865](https://github.com/dynamic-labs/DynamicAuth/issues/4865)) ([17a143f](https://github.com/dynamic-labs/DynamicAuth/commit/17a143f87a77e56227b2517038c20cf67f8e08bf))
34
+ * update walletbook to fix zerion in-app browser detection issue ([#4917](https://github.com/dynamic-labs/DynamicAuth/issues/4917)) ([48b05d7](https://github.com/dynamic-labs/DynamicAuth/commit/48b05d78e4f7add09787b64505723d4eca34d3e0))
35
+
36
+
37
+ * remove use effect in useWalletEventListeners ([#4843](https://github.com/dynamic-labs/DynamicAuth/issues/4843)) ([2e948bb](https://github.com/dynamic-labs/DynamicAuth/commit/2e948bbca0dbdceab7460a844d0988eacd47f581))
38
+ * rename fetchPublicAddress to getAddress ([#4851](https://github.com/dynamic-labs/DynamicAuth/issues/4851)) ([668e7dd](https://github.com/dynamic-labs/DynamicAuth/commit/668e7dd62e1f323dbe64209b5c59c2cd0ee45d61))
39
+ * rename FetchPublicAddressOpts to GetAddressOpts ([#4910](https://github.com/dynamic-labs/DynamicAuth/issues/4910)) ([e5e4b1b](https://github.com/dynamic-labs/DynamicAuth/commit/e5e4b1b08a4e010afa44f8abb0bf6af7f236a86a))
40
+
2
41
  ## [2.0.0-alpha.10](https://github.com/dynamic-labs/DynamicAuth/compare/v2.0.0-alpha.9...v2.0.0-alpha.10) (2024-03-08)
3
42
 
4
43
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/flow",
3
- "version": "2.0.0-alpha.10",
3
+ "version": "2.0.0-alpha.12",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/dynamic-labs/DynamicAuth.git",
@@ -27,9 +27,9 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@onflow/fcl": "1.4.1",
30
- "@dynamic-labs/utils": "2.0.0-alpha.10",
31
- "@dynamic-labs/wallet-book": "2.0.0-alpha.10",
32
- "@dynamic-labs/wallet-connector-core": "2.0.0-alpha.10"
30
+ "@dynamic-labs/utils": "2.0.0-alpha.12",
31
+ "@dynamic-labs/wallet-book": "2.0.0-alpha.12",
32
+ "@dynamic-labs/wallet-connector-core": "2.0.0-alpha.12"
33
33
  },
34
34
  "peerDependencies": {}
35
35
  }
@@ -43,7 +43,7 @@ class FlowWalletConnector extends walletConnectorCore.WalletConnectorBase {
43
43
  .put('flow.network', this.network);
44
44
  });
45
45
  }
46
- fetchPublicAddress() {
46
+ getAddress() {
47
47
  return _tslib.__awaiter(this, void 0, void 0, function* () {
48
48
  try {
49
49
  yield this.connect();
@@ -90,7 +90,7 @@ class FlowWalletConnector extends walletConnectorCore.WalletConnectorBase {
90
90
  getBalance() {
91
91
  return _tslib.__awaiter(this, void 0, void 0, function* () {
92
92
  yield this.setupConfig();
93
- const address = yield this.fetchPublicAddress();
93
+ const address = yield this.getAddress();
94
94
  if (address) {
95
95
  const code = `
96
96
  pub fun main(): UFix64 {
@@ -17,7 +17,7 @@ export declare abstract class FlowWalletConnector extends WalletConnectorBase {
17
17
  connect(): Promise<void>;
18
18
  getNetwork(): Promise<string>;
19
19
  setupConfig(): Promise<void>;
20
- fetchPublicAddress(): Promise<string | undefined>;
20
+ getAddress(): Promise<string | undefined>;
21
21
  proveOwnership(messageToSign: string): Promise<string | undefined>;
22
22
  signMessage(messageToSign: string): Promise<string | undefined>;
23
23
  getBalance(): Promise<string | undefined>;
@@ -39,7 +39,7 @@ class FlowWalletConnector extends WalletConnectorBase {
39
39
  .put('flow.network', this.network);
40
40
  });
41
41
  }
42
- fetchPublicAddress() {
42
+ getAddress() {
43
43
  return __awaiter(this, void 0, void 0, function* () {
44
44
  try {
45
45
  yield this.connect();
@@ -86,7 +86,7 @@ class FlowWalletConnector extends WalletConnectorBase {
86
86
  getBalance() {
87
87
  return __awaiter(this, void 0, void 0, function* () {
88
88
  yield this.setupConfig();
89
- const address = yield this.fetchPublicAddress();
89
+ const address = yield this.getAddress();
90
90
  if (address) {
91
91
  const code = `
92
92
  pub fun main(): UFix64 {