@dynamic-labs/message-transport 2.1.0-alpha.23 → 2.1.0-alpha.25

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,26 @@
1
1
 
2
+ ## [2.1.0-alpha.25](https://github.com/dynamic-labs/DynamicAuth/compare/v2.1.0-alpha.24...v2.1.0-alpha.25) (2024-05-27)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * btc balance calculation ([#5737](https://github.com/dynamic-labs/DynamicAuth/issues/5737)) ([9b5ceb3](https://github.com/dynamic-labs/DynamicAuth/commit/9b5ceb32d543037f60d7104f0b81b3abc86ebd10))
8
+
9
+ ## [2.1.0-alpha.24](https://github.com/dynamic-labs/DynamicAuth/compare/v2.1.0-alpha.23...v2.1.0-alpha.24) (2024-05-26)
10
+
11
+
12
+ ### Features
13
+
14
+ * add onMfaCompleteOnce to useMfa ([#5702](https://github.com/dynamic-labs/DynamicAuth/issues/5702)) ([6451e33](https://github.com/dynamic-labs/DynamicAuth/commit/6451e3369ef1b4ba116378f0dd3fe4e82007e670))
15
+ * prompt custom fields during onboarding ([#5302](https://github.com/dynamic-labs/DynamicAuth/issues/5302)) ([8664223](https://github.com/dynamic-labs/DynamicAuth/commit/86642232cf2b490a820169f48ba8dc093010e1a0))
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * correct text on pending signature screen to match the embedded widget modal text ([#5707](https://github.com/dynamic-labs/DynamicAuth/issues/5707)) ([44a6a06](https://github.com/dynamic-labs/DynamicAuth/commit/44a6a0664e08d4b9fc25dd86c0e30f8d585558e0))
21
+ * pass captcha token for farcaster login ([#5706](https://github.com/dynamic-labs/DynamicAuth/issues/5706)) ([32bcb6e](https://github.com/dynamic-labs/DynamicAuth/commit/32bcb6e0e06c6e273c07f32893dfd550deeb6a19))
22
+ * use coinbase provider to get connected accounts for consistency ([#5711](https://github.com/dynamic-labs/DynamicAuth/issues/5711)) ([b9e9170](https://github.com/dynamic-labs/DynamicAuth/commit/b9e9170dad1ac27a85a44a7177b82055ce0035cb))
23
+
2
24
  ## [2.1.0-alpha.23](https://github.com/dynamic-labs/DynamicAuth/compare/v2.1.0-alpha.22...v2.1.0-alpha.23) (2024-05-23)
3
25
 
4
26
 
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@dynamic-labs/message-transport",
3
- "version": "2.1.0-alpha.23",
3
+ "version": "2.1.0-alpha.25",
4
4
  "repository": {
5
5
  "type": "git",
6
- "url": "https://github.com/dynamic-labs/DynamicAuth.git",
6
+ "url": "git+https://github.com/dynamic-labs/dynamic-auth.git",
7
7
  "directory": "packages/message-transport"
8
8
  },
9
9
  "description": "Defines the interface to communicate with dynamic's webview",
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@vue/reactivity": "3.4.21",
30
- "@dynamic-labs/types": "2.1.0-alpha.23",
30
+ "@dynamic-labs/types": "2.1.0-alpha.25",
31
31
  "eventemitter3": "5.0.1"
32
32
  }
33
33
  }
package/src/index.d.ts CHANGED
@@ -5,4 +5,4 @@ export { parseMessageTransportData } from './utils/parseMessageTransportData';
5
5
  export { serializeErrorForTransport } from './utils/serializeErrorForTransport';
6
6
  export { createEventEmitterForMessages, createStore, createStoreSetter, type MessagesForEventEmitter, } from './store';
7
7
  export type { Store, StoreEventListeners, StoreKeys, StoreSetter, StoreStateEvents, StoreStateGetters, } from './store/types';
8
- export { sdkHasLoadedEventName, type AuthModuleMessages, type AuthModuleState, type ClientManifest, type ConsoleMessages, type EmbeddedWalletsModuleMessages, type EmbeddedWalletsModuleState, type EthMessages, type FetchMessages, type OtpMessages, type PasskeyMessages, type SdkModuleMessages, type SdkModuleState, type UserInterfaceModuleMessages, type WalletsModuleMessages, type WalletsModuleState, type WebViewVisibilityMessages, type NetworksModuleState, } from './messageTypes';
8
+ export { sdkHasLoadedEventName, type AuthModuleMessages, type AuthModuleState, type ClientManifest, type ConsoleMessages, type EmbeddedWalletsModuleMessages, type EmbeddedWalletsModuleState, type EthMessages, type FetchMessages, type NetworksModuleState, type OtpMessages, type PasskeyMessages, type SdkModuleMessages, type SdkModuleState, type SocialAuthModuleMessages, type SocialProvider, type UserInterfaceModuleMessages, type WalletsModuleMessages, type WalletsModuleState, type WebViewVisibilityMessages, } from './messageTypes';
@@ -0,0 +1,6 @@
1
+ export type SocialProvider = 'apple' | 'coinbaseSocial' | 'discord' | 'facebook' | 'farcaster' | 'github' | 'google' | 'twitch' | 'twitter';
2
+ export type SocialAuthModuleMessages = {
3
+ connectWithSocial: (args: {
4
+ provider: SocialProvider;
5
+ }) => Promise<void>;
6
+ };
@@ -3,10 +3,11 @@ export * from './ConsoleMessages';
3
3
  export * from './EmbeddedWalletsModuleMessages';
4
4
  export * from './EthMessages';
5
5
  export * from './FetchMessages';
6
+ export * from './NetworksModuleMessages';
6
7
  export * from './OtpMessages';
7
8
  export * from './PasskeyMessages';
8
9
  export * from './SdkModuleMessages';
10
+ export * from './SocialAuthModuleMessages';
9
11
  export * from './UserInterfaceModuleMessages';
10
12
  export * from './WalletsModuleMessages';
11
13
  export * from './WebViewVisibilityMessages';
12
- export * from './NetworksModuleMessages';