@dynamic-labs/message-transport 3.0.0-alpha.32 → 3.0.0-alpha.34

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,13 @@
1
1
 
2
+ ## [3.0.0-alpha.34](https://github.com/dynamic-labs/DynamicAuth/compare/v3.0.0-alpha.33...v3.0.0-alpha.34) (2024-08-02)
3
+
4
+ ## [3.0.0-alpha.33](https://github.com/dynamic-labs/DynamicAuth/compare/v3.0.0-alpha.32...v3.0.0-alpha.33) (2024-08-02)
5
+
6
+
7
+ ### Features
8
+
9
+ * add async handler for mfa enrollment and completion ([#6481](https://github.com/dynamic-labs/DynamicAuth/issues/6481)) ([63ce10d](https://github.com/dynamic-labs/DynamicAuth/commit/63ce10dd9f9aa58f43411455d6bbeb2f440ddcac))
10
+
2
11
  ## [3.0.0-alpha.32](https://github.com/dynamic-labs/DynamicAuth/compare/v3.0.0-alpha.31...v3.0.0-alpha.32) (2024-07-30)
3
12
 
4
13
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/message-transport",
3
- "version": "3.0.0-alpha.32",
3
+ "version": "3.0.0-alpha.34",
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": "3.0.0-alpha.32",
30
+ "@dynamic-labs/types": "3.0.0-alpha.34",
31
31
  "eventemitter3": "5.0.1"
32
32
  }
33
33
  }
@@ -6,4 +6,11 @@ export type ExternalAuthMessages = {
6
6
  externalUserId: string;
7
7
  externalJwt: string;
8
8
  }) => Promise<void>;
9
+ /**
10
+ * Initiates verification with an externally provided JWT
11
+ */
12
+ verifyWithExternalJwt: (props: {
13
+ externalUserId: string;
14
+ externalJwt: string;
15
+ }) => Promise<void>;
9
16
  };
@@ -1,4 +1,8 @@
1
1
  export type UserInterfaceModuleMessages = {
2
2
  openUserProfile: () => void;
3
3
  openAuthFlow: () => void;
4
+ /** Opens the secret key export for embedded wallets */
5
+ revealEmbeddedWalletKey: (params: {
6
+ type: 'recovery-phrase' | 'private-key';
7
+ }) => void;
4
8
  };
@@ -24,4 +24,7 @@ export type WalletsModuleMessages = {
24
24
  wallet: BaseWallet;
25
25
  chainId: string | number;
26
26
  }) => Promise<void>;
27
+ setPrimary: (params: {
28
+ walletId: string;
29
+ }) => Promise<void>;
27
30
  };