@dynamic-labs/message-transport 2.1.0-alpha.24 → 2.1.0-alpha.26
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 +20 -0
- package/package.json +2 -2
- package/src/index.d.ts +1 -1
- package/src/messageTypes/PlatformServiceMessages.d.ts +12 -0
- package/src/messageTypes/SdkModuleMessages.d.ts +1 -0
- package/src/messageTypes/SocialAuthModuleMessages.d.ts +7 -0
- package/src/messageTypes/index.d.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,24 @@
|
|
|
1
1
|
|
|
2
|
+
## [2.1.0-alpha.26](https://github.com/dynamic-labs/DynamicAuth/compare/v2.1.0-alpha.25...v2.1.0-alpha.26) (2024-05-29)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* add farcaster login to react native ([#5713](https://github.com/dynamic-labs/DynamicAuth/issues/5713)) ([08f4473](https://github.com/dynamic-labs/DynamicAuth/commit/08f4473eec9b32b82b6f703fa4d5136514a61b25))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* better error handling of invalid mfa otp ([#5759](https://github.com/dynamic-labs/DynamicAuth/issues/5759)) ([72ab01f](https://github.com/dynamic-labs/DynamicAuth/commit/72ab01f8f919f147eeedfabf8b4838802abf308a))
|
|
13
|
+
* show correct status for magic eden btc wallets after ([#5748](https://github.com/dynamic-labs/DynamicAuth/issues/5748)) ([b8f20bb](https://github.com/dynamic-labs/DynamicAuth/commit/b8f20bb796b9a2e88817ef3b0da6ac32e9012b18))
|
|
14
|
+
|
|
15
|
+
## [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)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* btc balance calculation ([#5737](https://github.com/dynamic-labs/DynamicAuth/issues/5737)) ([9b5ceb3](https://github.com/dynamic-labs/DynamicAuth/commit/9b5ceb32d543037f60d7104f0b81b3abc86ebd10))
|
|
21
|
+
|
|
2
22
|
## [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)
|
|
3
23
|
|
|
4
24
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/message-transport",
|
|
3
|
-
"version": "2.1.0-alpha.
|
|
3
|
+
"version": "2.1.0-alpha.26",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/dynamic-labs/dynamic-auth.git",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@vue/reactivity": "3.4.21",
|
|
30
|
-
"@dynamic-labs/types": "2.1.0-alpha.
|
|
30
|
+
"@dynamic-labs/types": "2.1.0-alpha.26",
|
|
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 NetworksModuleState, type OtpMessages, type PasskeyMessages, type SdkModuleMessages, type SdkModuleState, type SocialAuthModuleMessages, type SocialProvider, type UserInterfaceModuleMessages, type WalletsModuleMessages, type WalletsModuleState, type WebViewVisibilityMessages, } 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 PlatformServiceMessages, type SdkModuleMessages, type SdkModuleState, type SocialAuthModuleMessages, type SocialProvider, type UserInterfaceModuleMessages, type WalletsModuleMessages, type WalletsModuleState, type WebViewVisibilityMessages, } from './messageTypes';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type PlatformServiceMessages = {
|
|
2
|
+
/**
|
|
3
|
+
* Origin: Webview.
|
|
4
|
+
* Requests that a deeplink be open by whichever platform the client is running in.
|
|
5
|
+
*/
|
|
6
|
+
openURL: (url: string) => Promise<void>;
|
|
7
|
+
/**
|
|
8
|
+
* Origin: Webview.
|
|
9
|
+
* Requests that a deeplink be open in a new page by whichever platform the client is running in.
|
|
10
|
+
*/
|
|
11
|
+
openNewWindow: (url: string) => Promise<void>;
|
|
12
|
+
};
|
|
@@ -3,4 +3,11 @@ export type SocialAuthModuleMessages = {
|
|
|
3
3
|
connectWithSocial: (args: {
|
|
4
4
|
provider: SocialProvider;
|
|
5
5
|
}) => Promise<void>;
|
|
6
|
+
/**
|
|
7
|
+
* Temporary — requests the URL to use to deeplink back to the app.
|
|
8
|
+
*
|
|
9
|
+
* This won't be safe for use with oauth2, so we need to replace this by asking the app URL
|
|
10
|
+
* in the dashboard before social connections are allowed.
|
|
11
|
+
*/
|
|
12
|
+
getRedirectUrl: () => Promise<string>;
|
|
6
13
|
};
|
|
@@ -6,6 +6,7 @@ export * from './FetchMessages';
|
|
|
6
6
|
export * from './NetworksModuleMessages';
|
|
7
7
|
export * from './OtpMessages';
|
|
8
8
|
export * from './PasskeyMessages';
|
|
9
|
+
export * from './PlatformServiceMessages';
|
|
9
10
|
export * from './SdkModuleMessages';
|
|
10
11
|
export * from './SocialAuthModuleMessages';
|
|
11
12
|
export * from './UserInterfaceModuleMessages';
|