@dynamic-labs/blocto-evm 2.0.0 → 2.0.2

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,25 @@
1
1
 
2
+ ### [2.0.2](https://github.com/dynamic-labs/DynamicAuth/compare/v2.0.1...v2.0.2) (2024-04-19)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * buffer polyfill for utils package ([#5404](https://github.com/dynamic-labs/DynamicAuth/issues/5404)) ([#5405](https://github.com/dynamic-labs/DynamicAuth/issues/5405)) ([679c197](https://github.com/dynamic-labs/DynamicAuth/commit/679c197a52969a0db614ed280d7b9a0bf172bf72))
8
+
9
+ ### [2.0.1](https://github.com/dynamic-labs/DynamicAuth/compare/v2.0.0...v2.0.1) (2024-04-18)
10
+
11
+
12
+ ### Features
13
+
14
+ * add redirectUri to farcaster connect ([#5373](https://github.com/dynamic-labs/DynamicAuth/issues/5373)) ([#5383](https://github.com/dynamic-labs/DynamicAuth/issues/5383)) ([d031d7e](https://github.com/dynamic-labs/DynamicAuth/commit/d031d7ee5705de5ec83ef328f03633d5f3524786))
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * copy and ui fixes ([#5367](https://github.com/dynamic-labs/DynamicAuth/issues/5367)) ([e39ea97](https://github.com/dynamic-labs/DynamicAuth/commit/e39ea97d98de6b7087c24f2326a5fdc07ab9c8c3))
20
+ * bitcoin connector improvements
21
+ * solana package improvements ([#5360](https://github.com/dynamic-labs/DynamicAuth/issues/5360)) ([#5385](https://github.com/dynamic-labs/DynamicAuth/issues/5385)) ([9010bce](https://github.com/dynamic-labs/DynamicAuth/commit/9010bcebb4b0f2d293d517347187d38accbac0d3))
22
+
2
23
  ## [2.0.0-alpha.32](https://github.com/dynamic-labs/DynamicAuth/compare/v2.0.0-alpha.31...v2.0.0-alpha.32) (2024-04-15)
3
24
 
4
25
  ## [2.0.0-alpha.31](https://github.com/dynamic-labs/DynamicAuth/compare/v2.0.0-alpha.30...v2.0.0-alpha.31) (2024-04-11)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/blocto-evm",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
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": "2.0.0",
31
- "@dynamic-labs/wallet-connector-core": "2.0.0"
30
+ "@dynamic-labs/ethereum": "2.0.2",
31
+ "@dynamic-labs/wallet-connector-core": "2.0.2"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "viem": "^2.7.6"
package/src/BloctoEvm.cjs CHANGED
@@ -106,8 +106,8 @@ class BloctoEvm extends ethereum.EthWalletConnector {
106
106
  });
107
107
  }
108
108
  signMessage(messageToSign) {
109
- var _a;
110
109
  return _tslib.__awaiter(this, void 0, void 0, function* () {
110
+ var _a;
111
111
  try {
112
112
  const account = yield this.getAddress();
113
113
  if (!account) {
@@ -129,8 +129,8 @@ class BloctoEvm extends ethereum.EthWalletConnector {
129
129
  });
130
130
  }
131
131
  endSession() {
132
- var _a;
133
132
  return _tslib.__awaiter(this, void 0, void 0, function* () {
133
+ var _a;
134
134
  localStorage.removeItem('sdk.session');
135
135
  if (((_a = this.client) === null || _a === void 0 ? void 0 : _a.ethereum) && this.checkForSessionAccounts()) {
136
136
  yield this.client.ethereum.request({ method: 'wallet_disconnect' });
package/src/BloctoEvm.js CHANGED
@@ -98,8 +98,8 @@ class BloctoEvm extends EthWalletConnector {
98
98
  });
99
99
  }
100
100
  signMessage(messageToSign) {
101
- var _a;
102
101
  return __awaiter(this, void 0, void 0, function* () {
102
+ var _a;
103
103
  try {
104
104
  const account = yield this.getAddress();
105
105
  if (!account) {
@@ -121,8 +121,8 @@ class BloctoEvm extends EthWalletConnector {
121
121
  });
122
122
  }
123
123
  endSession() {
124
- var _a;
125
124
  return __awaiter(this, void 0, void 0, function* () {
125
+ var _a;
126
126
  localStorage.removeItem('sdk.session');
127
127
  if (((_a = this.client) === null || _a === void 0 ? void 0 : _a.ethereum) && this.checkForSessionAccounts()) {
128
128
  yield this.client.ethereum.request({ method: 'wallet_disconnect' });