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

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,23 @@
1
1
 
2
+ ## [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)
3
+
4
+
5
+ ### ⚠ BREAKING CHANGES
6
+
7
+ * remove isConnected prop from wallets and have it as a method instead (#6265)
8
+
9
+ ### Features
10
+
11
+ * 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))
12
+
13
+
14
+ ### Bug Fixes
15
+
16
+ * headless embedded wallet export session refresh ([#6307](https://github.com/dynamic-labs/DynamicAuth/issues/6307)) ([5423cc1](https://github.com/dynamic-labs/DynamicAuth/commit/5423cc14c370968acf718b7deff6ea8df9228189))
17
+
18
+
19
+ * 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))
20
+
2
21
  ## [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
22
 
4
23
 
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.16",
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.16",
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
  };