@dynamic-labs/wallet-connector-core 4.0.0-alpha.30 → 4.0.0-alpha.32

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,19 @@
1
1
 
2
+ ## [4.0.0-alpha.32](https://github.com/dynamic-labs/dynamic-auth/compare/v4.0.0-alpha.31...v4.0.0-alpha.32) (2024-11-13)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * **client:** convert the wallet when using wallets.embedded.getWallet ([#7430](https://github.com/dynamic-labs/dynamic-auth/issues/7430)) ([f852a09](https://github.com/dynamic-labs/dynamic-auth/commit/f852a09695141389c275d1ca27c26595a78d8051))
8
+ * refresh blockhash for solana embedded and use confirmed commitment ([#7425](https://github.com/dynamic-labs/dynamic-auth/issues/7425)) ([25b4169](https://github.com/dynamic-labs/dynamic-auth/commit/25b4169950b32619731f10f3372f80e71ede4ae5))
9
+
10
+ ## [4.0.0-alpha.31](https://github.com/dynamic-labs/dynamic-auth/compare/v4.0.0-alpha.30...v4.0.0-alpha.31) (2024-11-13)
11
+
12
+
13
+ ### Features
14
+
15
+ * allow passing telegram auth token into telegramSignIn function ([#7423](https://github.com/dynamic-labs/dynamic-auth/issues/7423)) ([4b8d594](https://github.com/dynamic-labs/dynamic-auth/commit/4b8d594984d1ac7851ce8d94fe4329ba94730f35))
16
+
2
17
  ## [4.0.0-alpha.30](https://github.com/dynamic-labs/dynamic-auth/compare/v4.0.0-alpha.29...v4.0.0-alpha.30) (2024-11-13)
3
18
 
4
19
 
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.30";
6
+ var version = "4.0.0-alpha.32";
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.30";
2
+ var version = "4.0.0-alpha.32";
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.30",
3
+ "version": "4.0.0-alpha.32",
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.563"
22
22
  },
23
23
  "peerDependencies": {
24
- "@dynamic-labs/assert-package-version": "4.0.0-alpha.30",
25
- "@dynamic-labs/logger": "4.0.0-alpha.30",
26
- "@dynamic-labs/rpc-providers": "4.0.0-alpha.30",
27
- "@dynamic-labs/types": "4.0.0-alpha.30",
28
- "@dynamic-labs/utils": "4.0.0-alpha.30",
29
- "@dynamic-labs/wallet-book": "4.0.0-alpha.30",
24
+ "@dynamic-labs/assert-package-version": "4.0.0-alpha.32",
25
+ "@dynamic-labs/logger": "4.0.0-alpha.32",
26
+ "@dynamic-labs/rpc-providers": "4.0.0-alpha.32",
27
+ "@dynamic-labs/types": "4.0.0-alpha.32",
28
+ "@dynamic-labs/utils": "4.0.0-alpha.32",
29
+ "@dynamic-labs/wallet-book": "4.0.0-alpha.32",
30
30
  "eventemitter3": "5.0.1"
31
31
  }
32
32
  }
@@ -14,6 +14,9 @@ class WalletBookSingleton {
14
14
  }
15
15
  return WalletBookSingleton.instance;
16
16
  }
17
+ static reset() {
18
+ WalletBookSingleton.instance = undefined;
19
+ }
17
20
  }
18
21
 
19
22
  exports.WalletBookSingleton = WalletBookSingleton;
@@ -4,4 +4,5 @@ export declare class WalletBookSingleton {
4
4
  private constructor();
5
5
  private static instance;
6
6
  static getOrCreate(walletBook: WalletBookSchema): WalletBookSingleton;
7
+ static reset(): void;
7
8
  }
@@ -10,6 +10,9 @@ class WalletBookSingleton {
10
10
  }
11
11
  return WalletBookSingleton.instance;
12
12
  }
13
+ static reset() {
14
+ WalletBookSingleton.instance = undefined;
15
+ }
13
16
  }
14
17
 
15
18
  export { WalletBookSingleton };
package/src/index.cjs CHANGED
@@ -42,6 +42,7 @@ var isConnectorEventSupported = require('./utils/isConnectorEventSupported/isCon
42
42
  var Wallet = require('./Wallet/Wallet.cjs');
43
43
  var WalletConnectorBase = require('./WalletConnectorBase/WalletConnectorBase.cjs');
44
44
  var types = require('./WalletConnectorBase/types.cjs');
45
+ var WalletBookSingleton = require('./WalletBookSingleton/WalletBookSingleton.cjs');
45
46
 
46
47
  assertPackageVersion.assertPackageVersion('@dynamic-labs/wallet-connector-core', _package.version);
47
48
 
@@ -87,3 +88,4 @@ exports.Wallet = Wallet.Wallet;
87
88
  exports.WalletConnectorBase = WalletConnectorBase.WalletConnectorBase;
88
89
  exports.Chains = types.Chains;
89
90
  exports.socialProviders = types.socialProviders;
91
+ exports.WalletBookSingleton = WalletBookSingleton.WalletBookSingleton;
package/src/index.d.ts CHANGED
@@ -4,3 +4,4 @@ export type { AccountChangeEventHandler, ChainChangeEventHandler, DisconnectEven
4
4
  export { addHexPrefix, bufferToHex, eventListenerHandlers, getChainInfo, getChainInfoWithOverrides, getDeepLink, getMobileExperience, getRpcUrlForChain, getWalletConnectorByKey, isAccountAbstractionConnector, isBitcoinConnector, isBloctoConnector, isCoinbaseMpcWalletConnector, isEmailOTPWalletConnector, isEmailWalletConnector, isEmbeddedConnector, isHardwareWalletConnector, isHex, isMagicConnector, isPasskeyWalletConnector, isPhantomRedirectConnector, isSameAddress, isSendBalanceWalletConnector, isSessionKeyCompatibleWallet, isSessionKeyCompatibleWalletConnector, isSocialWalletConnector, isTurnkeyWalletConnector, isWalletConnectConnector, isConnectorMethodSupported, isConnectorEventSupported, getWalletMetadataFromWalletBook, logger, performPlatformSpecificConnectionMethod, ProviderLookup, setChainInfoOverrides, shouldLowercaseAddress, utf8ToHex, type ChainDisplayOverrides, type DeepLinkVariant, type ProviderCondition, } from './utils';
5
5
  export { Wallet, type WalletConstructor, type WalletProps } from './Wallet';
6
6
  export { Chains, socialProviders, WalletConnectorBase, type Chain, type ChainInfo, type GetAddressOpts, type InternalWalletConnector, type NameServiceData, type PayloadParams, type SocialProvider, type WalletConnector, type WalletConnectorConstructor, type WalletConnectorEventTypes, type WalletConnectorExtension, type WalletConnectorsMethod, } from './WalletConnectorBase';
7
+ export { WalletBookSingleton } from './WalletBookSingleton';
package/src/index.js CHANGED
@@ -38,5 +38,6 @@ export { isConnectorEventSupported } from './utils/isConnectorEventSupported/isC
38
38
  export { Wallet } from './Wallet/Wallet.js';
39
39
  export { WalletConnectorBase } from './WalletConnectorBase/WalletConnectorBase.js';
40
40
  export { Chains, socialProviders } from './WalletConnectorBase/types.js';
41
+ export { WalletBookSingleton } from './WalletBookSingleton/WalletBookSingleton.js';
41
42
 
42
43
  assertPackageVersion('@dynamic-labs/wallet-connector-core', version);