@dynamic-labs/wallet-connector-core 4.0.0-alpha.39 → 4.0.0-alpha.40

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,18 @@
1
1
 
2
+ ## [4.0.0-alpha.40](https://github.com/dynamic-labs/dynamic-auth/compare/v4.0.0-alpha.39...v4.0.0-alpha.40) (2024-12-03)
3
+
4
+
5
+ ### Features
6
+
7
+ * detect all eip6963 wallets, even if not in wallet-book ([#7515](https://github.com/dynamic-labs/dynamic-auth/issues/7515)) ([b658740](https://github.com/dynamic-labs/dynamic-auth/commit/b658740c16d8d26877eb955dc403077c8e9840fb))
8
+ * useWalletOptions provides chain and allows filtering ([#7533](https://github.com/dynamic-labs/dynamic-auth/issues/7533)) ([da47608](https://github.com/dynamic-labs/dynamic-auth/commit/da476084bcc72b2bf0b6fa599992be640d59724c))
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **QNTM-1845:** use smaller log in button sizing ([#7526](https://github.com/dynamic-labs/dynamic-auth/issues/7526)) ([264810b](https://github.com/dynamic-labs/dynamic-auth/commit/264810b3b9cddf7006c1f653b4cc10f23804ae50))
14
+ * update twitter to X in social provide label ([#7530](https://github.com/dynamic-labs/dynamic-auth/issues/7530)) ([c02fca0](https://github.com/dynamic-labs/dynamic-auth/commit/c02fca03de2f46a9e50d19c9e7ef2dfba0b33efc))
15
+
2
16
  ## [4.0.0-alpha.39](https://github.com/dynamic-labs/dynamic-auth/compare/v4.0.0-alpha.38...v4.0.0-alpha.39) (2024-12-02)
3
17
 
4
18
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.0.0-alpha.39";
6
+ var version = "4.0.0-alpha.40";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.0.0-alpha.39";
2
+ var version = "4.0.0-alpha.40";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/wallet-connector-core",
3
- "version": "4.0.0-alpha.39",
3
+ "version": "4.0.0-alpha.40",
4
4
  "description": "Core package for utilities and types for handling multiple wallet/chain support Dynamic SDK",
5
5
  "author": "Dynamic Labs, Inc.",
6
6
  "license": "MIT",
@@ -21,12 +21,12 @@
21
21
  "@dynamic-labs/sdk-api-core": "0.0.570"
22
22
  },
23
23
  "peerDependencies": {
24
- "@dynamic-labs/assert-package-version": "4.0.0-alpha.39",
25
- "@dynamic-labs/logger": "4.0.0-alpha.39",
26
- "@dynamic-labs/rpc-providers": "4.0.0-alpha.39",
27
- "@dynamic-labs/types": "4.0.0-alpha.39",
28
- "@dynamic-labs/utils": "4.0.0-alpha.39",
29
- "@dynamic-labs/wallet-book": "4.0.0-alpha.39",
24
+ "@dynamic-labs/assert-package-version": "4.0.0-alpha.40",
25
+ "@dynamic-labs/logger": "4.0.0-alpha.40",
26
+ "@dynamic-labs/rpc-providers": "4.0.0-alpha.40",
27
+ "@dynamic-labs/types": "4.0.0-alpha.40",
28
+ "@dynamic-labs/utils": "4.0.0-alpha.40",
29
+ "@dynamic-labs/wallet-book": "4.0.0-alpha.40",
30
30
  "eventemitter3": "5.0.1"
31
31
  }
32
32
  }
@@ -1,11 +1,14 @@
1
1
  import EventEmitter from 'eventemitter3';
2
- import { InternalWalletConnector } from '../WalletConnectorBase';
2
+ import { InternalWalletConnector, WalletConnectorConstructor } from '../WalletConnectorBase';
3
3
  type AutoConnectEventProps = {
4
4
  connector: InternalWalletConnector;
5
5
  };
6
6
  type ProviderReadyEventProps = {
7
7
  connector: InternalWalletConnector;
8
8
  };
9
+ type ProviderInjectedEventProps = {
10
+ injectedConnectorConstructor: WalletConnectorConstructor;
11
+ };
9
12
  export type WalletConnectorEvents = {
10
13
  /**
11
14
  * This is useful for when we want to auto-connect/login with a wallet
@@ -20,6 +23,11 @@ export type WalletConnectorEvents = {
20
23
  * is ready to be used
21
24
  */
22
25
  providerReady: (props: ProviderReadyEventProps) => void;
26
+ /**
27
+ * This is emitted when a wallet gets announced (eip6963, bitcoin wallet standard, solana wallet standard, etc)
28
+ * It contains the constructor of the wallet connector that was injected
29
+ */
30
+ providerInjected: (props: ProviderInjectedEventProps) => void;
23
31
  };
24
32
  export declare const walletConnectorEvents: EventEmitter<WalletConnectorEvents, any>;
25
33
  export type WalletConnectorEventEmitter = typeof walletConnectorEvents;