@dynamic-labs/blocto-evm 4.0.0-alpha.21 → 4.0.0-alpha.23
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 +19 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +4 -4
- package/src/BloctoEvm.cjs +1 -1
- package/src/BloctoEvm.d.ts +3 -3
- package/src/BloctoEvm.js +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,23 @@
|
|
|
1
1
|
|
|
2
|
+
## [4.0.0-alpha.23](https://github.com/dynamic-labs/dynamic-auth/compare/v4.0.0-alpha.22...v4.0.0-alpha.23) (2024-10-31)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* allow deletion of embedded wallets ([#7170](https://github.com/dynamic-labs/dynamic-auth/issues/7170)) ([40c5478](https://github.com/dynamic-labs/dynamic-auth/commit/40c54789594ba265a63b24f936da4e72b5b1c5b9))
|
|
8
|
+
|
|
9
|
+
## [4.0.0-alpha.22](https://github.com/dynamic-labs/dynamic-auth/compare/v4.0.0-alpha.21...v4.0.0-alpha.22) (2024-10-30)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
* **QNTM-522:** add wallet details card ([#7239](https://github.com/dynamic-labs/dynamic-auth/issues/7239)) ([0181c87](https://github.com/dynamic-labs/dynamic-auth/commit/0181c8727af575620525b8ea47b196945c347846))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* update check for wallet provider event listeners support ([#7303](https://github.com/dynamic-labs/dynamic-auth/issues/7303)) ([c5f3766](https://github.com/dynamic-labs/dynamic-auth/commit/c5f376691c87a0999991e477f9acd07eed4774aa))
|
|
20
|
+
|
|
2
21
|
## [4.0.0-alpha.21](https://github.com/dynamic-labs/dynamic-auth/compare/v4.0.0-alpha.20...v4.0.0-alpha.21) (2024-10-30)
|
|
3
22
|
|
|
4
23
|
## [4.0.0-alpha.20](https://github.com/dynamic-labs/dynamic-auth/compare/v4.0.0-alpha.19...v4.0.0-alpha.20) (2024-10-30)
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/blocto-evm",
|
|
3
|
-
"version": "4.0.0-alpha.
|
|
3
|
+
"version": "4.0.0-alpha.23",
|
|
4
4
|
"description": "A React SDK for implementing wallet web3 authentication and authorization to your website.",
|
|
5
5
|
"author": "Dynamic Labs, Inc.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"homepage": "https://www.dynamic.xyz/",
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@blocto/sdk": "0.5.4",
|
|
22
|
-
"@dynamic-labs/assert-package-version": "4.0.0-alpha.
|
|
23
|
-
"@dynamic-labs/ethereum-core": "4.0.0-alpha.
|
|
24
|
-
"@dynamic-labs/wallet-connector-core": "4.0.0-alpha.
|
|
22
|
+
"@dynamic-labs/assert-package-version": "4.0.0-alpha.23",
|
|
23
|
+
"@dynamic-labs/ethereum-core": "4.0.0-alpha.23",
|
|
24
|
+
"@dynamic-labs/wallet-connector-core": "4.0.0-alpha.23"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"viem": "^2.7.6"
|
package/src/BloctoEvm.cjs
CHANGED
|
@@ -13,7 +13,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
13
13
|
|
|
14
14
|
var BloctoSDK__default = /*#__PURE__*/_interopDefaultLegacy(BloctoSDK);
|
|
15
15
|
|
|
16
|
-
class BloctoEvm extends ethereumCore.
|
|
16
|
+
class BloctoEvm extends ethereumCore.EthereumWalletConnector {
|
|
17
17
|
constructor(props) {
|
|
18
18
|
var _a, _b;
|
|
19
19
|
super(props);
|
package/src/BloctoEvm.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import BloctoSDK from '@blocto/sdk';
|
|
2
2
|
import { Hex, WalletClient, Account, Transport, Chain as ViemChain } from 'viem';
|
|
3
3
|
import { Chain } from '@dynamic-labs/wallet-connector-core';
|
|
4
|
-
import {
|
|
5
|
-
export declare class BloctoEvm extends
|
|
4
|
+
import { EthereumWalletConnector, EthereumWalletConnectorOpts } from '@dynamic-labs/ethereum-core';
|
|
5
|
+
export declare class BloctoEvm extends EthereumWalletConnector {
|
|
6
6
|
LOCAL_STORAGE_KEY: string;
|
|
7
7
|
SESSION_STORAGE_BLOCTO_KEY: string;
|
|
8
8
|
protected client?: BloctoSDK;
|
|
@@ -13,7 +13,7 @@ export declare class BloctoEvm extends EthWalletConnector {
|
|
|
13
13
|
supportedChains: Chain[];
|
|
14
14
|
chainId: number;
|
|
15
15
|
supportsNetworkSwitching: () => boolean;
|
|
16
|
-
constructor(props:
|
|
16
|
+
constructor(props: EthereumWalletConnectorOpts);
|
|
17
17
|
protected checkForSessionAccounts(): boolean;
|
|
18
18
|
protected initClient(): void;
|
|
19
19
|
protected getClient(): BloctoSDK | undefined;
|
package/src/BloctoEvm.js
CHANGED
|
@@ -3,9 +3,9 @@ import { __awaiter } from '../_virtual/_tslib.js';
|
|
|
3
3
|
import BloctoSDK from '@blocto/sdk';
|
|
4
4
|
import { createWalletClient, custom } from 'viem';
|
|
5
5
|
import { logger } from '@dynamic-labs/wallet-connector-core';
|
|
6
|
-
import {
|
|
6
|
+
import { EthereumWalletConnector } from '@dynamic-labs/ethereum-core';
|
|
7
7
|
|
|
8
|
-
class BloctoEvm extends
|
|
8
|
+
class BloctoEvm extends EthereumWalletConnector {
|
|
9
9
|
constructor(props) {
|
|
10
10
|
var _a, _b;
|
|
11
11
|
super(props);
|