@dynamic-labs/ethers-v6 2.1.0-alpha.0 → 2.1.0-alpha.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 +28 -0
- package/_virtual/_tslib.cjs +1 -0
- package/_virtual/_tslib.js +1 -0
- package/package.json +2 -2
- package/src/ethers-v6.cjs +3 -2
- package/src/ethers-v6.js +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,32 @@
|
|
|
1
1
|
|
|
2
|
+
## [2.1.0-alpha.2](https://github.com/dynamic-labs/DynamicAuth/compare/v2.1.0-alpha.1...v2.1.0-alpha.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)) ([bd40441](https://github.com/dynamic-labs/DynamicAuth/commit/bd404414a2e51d79fad86d7603dae89628c225b9))
|
|
8
|
+
|
|
9
|
+
## [2.1.0-alpha.1](https://github.com/dynamic-labs/DynamicAuth/compare/v2.1.0-alpha.0...v2.1.0-alpha.1) (2024-04-18)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
* add frame metadata to demo index page ([#5327](https://github.com/dynamic-labs/DynamicAuth/issues/5327)) ([34a071a](https://github.com/dynamic-labs/DynamicAuth/commit/34a071af8faa8a867ad747ec2a607056a883568d))
|
|
15
|
+
* add MfaChooseDeviceView and MfaSecureDeviceView ([#5343](https://github.com/dynamic-labs/DynamicAuth/issues/5343)) ([4c39b1c](https://github.com/dynamic-labs/DynamicAuth/commit/4c39b1c34b5091190b095770e95a733c8f458ca2)), closes [#5356](https://github.com/dynamic-labs/DynamicAuth/issues/5356)
|
|
16
|
+
* add redirectUri to farcaster connect ([#5373](https://github.com/dynamic-labs/DynamicAuth/issues/5373)) ([ed13fc2](https://github.com/dynamic-labs/DynamicAuth/commit/ed13fc2948e06df0017ac122db54aca44f264a6d))
|
|
17
|
+
* add useMfa hook ([#5337](https://github.com/dynamic-labs/DynamicAuth/issues/5337)) ([a7682ba](https://github.com/dynamic-labs/DynamicAuth/commit/a7682ba10fd0f0809af802e0172154726f1bd857))
|
|
18
|
+
* headless create session and is session active ([#5346](https://github.com/dynamic-labs/DynamicAuth/issues/5346)) ([a787bbc](https://github.com/dynamic-labs/DynamicAuth/commit/a787bbcbb44104d2d0bd263579bd87a78453681d))
|
|
19
|
+
* secure enclave wallet generate one-time code headless ([#5329](https://github.com/dynamic-labs/DynamicAuth/issues/5329)) ([cab80a2](https://github.com/dynamic-labs/DynamicAuth/commit/cab80a2bfa77e48263d47cdcb813c54ef5b831d5))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Bug Fixes
|
|
23
|
+
|
|
24
|
+
* always stringify the message before signing a message using walletUiUtils ([#5325](https://github.com/dynamic-labs/DynamicAuth/issues/5325)) ([7abf094](https://github.com/dynamic-labs/DynamicAuth/commit/7abf09456e30ad0657892e9ba58d7391f0f430e6))
|
|
25
|
+
* bitcoin network connector sendBitcoin methods updates ([#5369](https://github.com/dynamic-labs/DynamicAuth/issues/5369)) ([e9bf444](https://github.com/dynamic-labs/DynamicAuth/commit/e9bf444122ee86030d85b84ede96bdfb9772425e))
|
|
26
|
+
* buffer missing when using buffer util function ([#5360](https://github.com/dynamic-labs/DynamicAuth/issues/5360)) ([e998e46](https://github.com/dynamic-labs/DynamicAuth/commit/e998e464bd2671a82aa271b407a7d8fc49a16bd0))
|
|
27
|
+
* embedded solana send transaction shouldn't sign a signed transaction ([#5357](https://github.com/dynamic-labs/DynamicAuth/issues/5357)) ([c2ae2fa](https://github.com/dynamic-labs/DynamicAuth/commit/c2ae2faa509b62fc5ceb345fbc0f0b47217bf4b0))
|
|
28
|
+
* use network.name if vanity name is missing ([#5338](https://github.com/dynamic-labs/DynamicAuth/issues/5338)) ([34ec2ae](https://github.com/dynamic-labs/DynamicAuth/commit/34ec2ae5c4dad5376a3b9c5a07221f68a2f7756c))
|
|
29
|
+
|
|
2
30
|
## [2.1.0-alpha.0](https://github.com/dynamic-labs/DynamicAuth/compare/v2.0.0-alpha.32...v2.1.0-alpha.0) (2024-04-15)
|
|
3
31
|
|
|
4
32
|
## [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)
|
package/_virtual/_tslib.cjs
CHANGED
package/_virtual/_tslib.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/ethers-v6",
|
|
3
|
-
"version": "2.1.0-alpha.
|
|
3
|
+
"version": "2.1.0-alpha.2",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/dynamic-labs/DynamicAuth.git",
|
|
@@ -30,6 +30,6 @@
|
|
|
30
30
|
"ethers": "^6"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@dynamic-labs/wallet-connector-core": "2.1.0-alpha.
|
|
33
|
+
"@dynamic-labs/wallet-connector-core": "2.1.0-alpha.2"
|
|
34
34
|
}
|
|
35
35
|
}
|
package/src/ethers-v6.cjs
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
'use client'
|
|
1
2
|
'use strict';
|
|
2
3
|
|
|
3
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -14,8 +15,8 @@ const EthersExtension = {
|
|
|
14
15
|
}
|
|
15
16
|
connector.ethers = {
|
|
16
17
|
getRpcProvider: function () {
|
|
17
|
-
var _a, _b;
|
|
18
18
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
19
|
+
var _a, _b;
|
|
19
20
|
const publicClient = yield connector.getPublicClient();
|
|
20
21
|
const { chain, transport } = publicClient;
|
|
21
22
|
const network = {
|
|
@@ -41,8 +42,8 @@ const EthersExtension = {
|
|
|
41
42
|
});
|
|
42
43
|
},
|
|
43
44
|
getWeb3Provider: function () {
|
|
44
|
-
var _a, _b;
|
|
45
45
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
46
|
+
var _a, _b;
|
|
46
47
|
const { chain } = yield connector.getPublicClient();
|
|
47
48
|
const walletClient = connector.getWalletClient();
|
|
48
49
|
const { transport } = walletClient !== null && walletClient !== void 0 ? walletClient : {};
|
package/src/ethers-v6.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
'use client'
|
|
1
2
|
import { __awaiter } from '../_virtual/_tslib.js';
|
|
2
3
|
import { JsonRpcProvider, FallbackProvider, BrowserProvider } from 'ethers';
|
|
3
4
|
|
|
@@ -10,8 +11,8 @@ const EthersExtension = {
|
|
|
10
11
|
}
|
|
11
12
|
connector.ethers = {
|
|
12
13
|
getRpcProvider: function () {
|
|
13
|
-
var _a, _b;
|
|
14
14
|
return __awaiter(this, void 0, void 0, function* () {
|
|
15
|
+
var _a, _b;
|
|
15
16
|
const publicClient = yield connector.getPublicClient();
|
|
16
17
|
const { chain, transport } = publicClient;
|
|
17
18
|
const network = {
|
|
@@ -37,8 +38,8 @@ const EthersExtension = {
|
|
|
37
38
|
});
|
|
38
39
|
},
|
|
39
40
|
getWeb3Provider: function () {
|
|
40
|
-
var _a, _b;
|
|
41
41
|
return __awaiter(this, void 0, void 0, function* () {
|
|
42
|
+
var _a, _b;
|
|
42
43
|
const { chain } = yield connector.getPublicClient();
|
|
43
44
|
const walletClient = connector.getWalletClient();
|
|
44
45
|
const { transport } = walletClient !== null && walletClient !== void 0 ? walletClient : {};
|