@dynamic-labs/blocto-evm 1.4.6 → 1.4.8

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,22 @@
1
1
 
2
+ ### [1.4.8](https://github.com/dynamic-labs/DynamicAuth/compare/v1.4.7...v1.4.8) (2024-04-18)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * copy and ui fixes ([#5382](https://github.com/dynamic-labs/DynamicAuth/issues/5382)) ([210a52c](https://github.com/dynamic-labs/DynamicAuth/commit/210a52ce85a9812fe20c41445873b3a8b8dc44c2)), closes [#5325](https://github.com/dynamic-labs/DynamicAuth/issues/5325) ([#5339](https://github.com/dynamic-labs/DynamicAuth/issues/5339)) ([c1fde6b](https://github.com/dynamic-labs/DynamicAuth/commit/c1fde6beb1fa2666d71a4ffaed84adb3302665d4))
8
+ * bitcoin connector improvements
9
+
10
+ ### [1.4.7](https://github.com/dynamic-labs/DynamicAuth/compare/v1.4.6...v1.4.7) (2024-04-12)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * ui and layout improvements ([#5269](https://github.com/dynamic-labs/DynamicAuth/issues/5269)) ([#5296](https://github.com/dynamic-labs/DynamicAuth/issues/5296)) ([a1f7204](https://github.com/dynamic-labs/DynamicAuth/commit/a1f7204e44b4ae1650f86b76663c0802530935cb)) ([#5270](https://github.com/dynamic-labs/DynamicAuth/issues/5270)) ([#5278](https://github.com/dynamic-labs/DynamicAuth/issues/5278)) ([5f262f5](https://github.com/dynamic-labs/DynamicAuth/commit/5f262f54bba8eb2fa6346040478dd0417f42d2d1))
16
+ * callback trigger fixes ([#5310](https://github.com/dynamic-labs/DynamicAuth/issues/5310)) ([e6f7720](https://github.com/dynamic-labs/DynamicAuth/commit/e6f7720781a68b9d36448e4edea834e6478e7263))
17
+ * improve bridge connect experience on mobile ([#5284](https://github.com/dynamic-labs/DynamicAuth/issues/5284)) ([c8eab02](https://github.com/dynamic-labs/DynamicAuth/commit/c8eab0243ca5752d365fd907fde36b7c08669d5e))
18
+ * improve integration with i18n ([#5267](https://github.com/dynamic-labs/DynamicAuth/issues/5267)) ([#5313](https://github.com/dynamic-labs/DynamicAuth/issues/5313)) ([5f02f72](https://github.com/dynamic-labs/DynamicAuth/commit/5f02f72fe547e93d59a2545ffcce62c20fb22dbe))
19
+
2
20
  ### [1.4.6](https://github.com/dynamic-labs/DynamicAuth/compare/v1.4.5...v1.4.6) (2024-04-09)
3
21
 
4
22
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/blocto-evm",
3
- "version": "1.4.6",
3
+ "version": "1.4.8",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/dynamic-labs/DynamicAuth.git",
@@ -27,8 +27,8 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@blocto/sdk": "0.5.4",
30
- "@dynamic-labs/ethereum": "1.4.6",
31
- "@dynamic-labs/wallet-connector-core": "1.4.6"
30
+ "@dynamic-labs/ethereum": "1.4.8",
31
+ "@dynamic-labs/wallet-connector-core": "1.4.8"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "viem": "^1.19.13 || ^2.2.0"
package/src/BloctoEvm.cjs CHANGED
@@ -105,8 +105,8 @@ class BloctoEvm extends ethereum.EthWalletConnector {
105
105
  });
106
106
  }
107
107
  signMessage(messageToSign) {
108
- var _a;
109
108
  return _tslib.__awaiter(this, void 0, void 0, function* () {
109
+ var _a;
110
110
  try {
111
111
  const account = yield this.fetchPublicAddress();
112
112
  if (!account) {
@@ -128,8 +128,8 @@ class BloctoEvm extends ethereum.EthWalletConnector {
128
128
  });
129
129
  }
130
130
  endSession() {
131
- var _a;
132
131
  return _tslib.__awaiter(this, void 0, void 0, function* () {
132
+ var _a;
133
133
  localStorage.removeItem('sdk.session');
134
134
  if (((_a = this.client) === null || _a === void 0 ? void 0 : _a.ethereum) && this.checkForSessionAccounts()) {
135
135
  yield this.client.ethereum.request({ method: 'wallet_disconnect' });
package/src/BloctoEvm.js CHANGED
@@ -97,8 +97,8 @@ class BloctoEvm extends EthWalletConnector {
97
97
  });
98
98
  }
99
99
  signMessage(messageToSign) {
100
- var _a;
101
100
  return __awaiter(this, void 0, void 0, function* () {
101
+ var _a;
102
102
  try {
103
103
  const account = yield this.fetchPublicAddress();
104
104
  if (!account) {
@@ -120,8 +120,8 @@ class BloctoEvm extends EthWalletConnector {
120
120
  });
121
121
  }
122
122
  endSession() {
123
- var _a;
124
123
  return __awaiter(this, void 0, void 0, function* () {
124
+ var _a;
125
125
  localStorage.removeItem('sdk.session');
126
126
  if (((_a = this.client) === null || _a === void 0 ? void 0 : _a.ethereum) && this.checkForSessionAccounts()) {
127
127
  yield this.client.ethereum.request({ method: 'wallet_disconnect' });