@dynamic-labs/message-transport 3.0.0-alpha.15 → 3.0.0-alpha.17

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,35 @@
1
1
 
2
+ ## [3.0.0-alpha.17](https://github.com/dynamic-labs/DynamicAuth/compare/v3.0.0-alpha.16...v3.0.0-alpha.17) (2024-07-11)
3
+
4
+
5
+ ### Features
6
+
7
+ * add new hook to select wallet option to connect ([#6301](https://github.com/dynamic-labs/DynamicAuth/issues/6301)) ([833d71d](https://github.com/dynamic-labs/DynamicAuth/commit/833d71de164c57bfa22898c3425641a83a12e135))
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * refresh session keys correctly for solana embedded wallets ([#6309](https://github.com/dynamic-labs/DynamicAuth/issues/6309)) ([4b28e8a](https://github.com/dynamic-labs/DynamicAuth/commit/4b28e8ae231567754b6cfd07a7d41e86f1c73daa))
13
+
14
+ ## [3.0.0-alpha.16](https://github.com/dynamic-labs/DynamicAuth/compare/v3.0.0-alpha.15...v3.0.0-alpha.16) (2024-07-11)
15
+
16
+
17
+ ### ⚠ BREAKING CHANGES
18
+
19
+ * remove isConnected prop from wallets and have it as a method instead (#6265)
20
+
21
+ ### Features
22
+
23
+ * add bundlerRpc and paymasterRpc parameters to zerodev ([#6304](https://github.com/dynamic-labs/DynamicAuth/issues/6304)) ([156469b](https://github.com/dynamic-labs/DynamicAuth/commit/156469bf703f0c7fa455a24b8e4e328d3a0c58fc))
24
+
25
+
26
+ ### Bug Fixes
27
+
28
+ * headless embedded wallet export session refresh ([#6307](https://github.com/dynamic-labs/DynamicAuth/issues/6307)) ([5423cc1](https://github.com/dynamic-labs/DynamicAuth/commit/5423cc14c370968acf718b7deff6ea8df9228189))
29
+
30
+
31
+ * remove isConnected prop from wallets and have it as a method instead ([#6265](https://github.com/dynamic-labs/DynamicAuth/issues/6265)) ([652dcc2](https://github.com/dynamic-labs/DynamicAuth/commit/652dcc2d34c9a9719238606c67f600e40621183b))
32
+
2
33
  ## [3.0.0-alpha.15](https://github.com/dynamic-labs/DynamicAuth/compare/v3.0.0-alpha.14...v3.0.0-alpha.15) (2024-07-11)
3
34
 
4
35
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/message-transport",
3
- "version": "3.0.0-alpha.15",
3
+ "version": "3.0.0-alpha.17",
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.15",
30
+ "@dynamic-labs/types": "3.0.0-alpha.17",
31
31
  "eventemitter3": "5.0.1"
32
32
  }
33
33
  }
@@ -6,7 +6,19 @@ export type PlatformServiceMessages = {
6
6
  openURL: (url: string) => Promise<void>;
7
7
  /**
8
8
  * Origin: Webview.
9
- * Requests that a deeplink be open in a new page by whichever platform the client is running in.
9
+ * Opens the URL in a secure browser window for authentication.
10
+ *
11
+ * Resolves with the URL used to deeplink back to this app.
10
12
  */
11
- openNewWindow: (url: string) => Promise<void>;
13
+ openAuthenticationWindow: (props: {
14
+ url: string;
15
+ redirectUrl?: string;
16
+ }) => Promise<string>;
17
+ /**
18
+ * Requests the URL to use to deeplink back to the app.
19
+ *
20
+ * This won't be safe for use with oauth2, so we need to replace this by asking the app URL
21
+ * in the dashboard before social connections are allowed.
22
+ */
23
+ getRedirectUrl: () => Promise<string>;
12
24
  };
@@ -3,11 +3,4 @@ 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>;
13
6
  };