@dynamic-labs/webview-messages 4.37.1 → 4.37.2

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,19 @@
1
1
 
2
+ ### [4.37.2](https://github.com/dynamic-labs/dynamic-auth/compare/v4.37.1...v4.37.2) (2025-10-13)
3
+
4
+
5
+ ### Features
6
+
7
+ * add get all linked social accounts function ([#9676](https://github.com/dynamic-labs/dynamic-auth/issues/9676)) ([c637c3f](https://github.com/dynamic-labs/dynamic-auth/commit/c637c3f101ea9387584473e18ff728c17d000f73))
8
+ * add revoke delegation to connectors and hook ([#9628](https://github.com/dynamic-labs/dynamic-auth/issues/9628)) ([00a40e0](https://github.com/dynamic-labs/dynamic-auth/commit/00a40e0b2aa6137a97ccb3be7890326300582fcf))
9
+ * **react-native:** add methods to social module ([#9677](https://github.com/dynamic-labs/dynamic-auth/issues/9677)) ([e4ffc11](https://github.com/dynamic-labs/dynamic-auth/commit/e4ffc1139ddc49826da688857d20dfb3b0c77ad7))
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * duplicate wallet display for wallet upgrade ([#9684](https://github.com/dynamic-labs/dynamic-auth/issues/9684)) ([cf94223](https://github.com/dynamic-labs/dynamic-auth/commit/cf94223d91f74add454901b72f4bf7d81043bffc))
15
+ * fixes postbuild oom ([#9664](https://github.com/dynamic-labs/dynamic-auth/issues/9664)) ([7e56047](https://github.com/dynamic-labs/dynamic-auth/commit/7e5604721d708e375c642223cd2f615ab9191f70))
16
+
2
17
  ### [4.37.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.37.0...v4.37.1) (2025-10-08)
3
18
 
4
19
  ## [4.37.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.36.1...v4.37.0) (2025-10-08)
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.37.1";
6
+ var version = "4.37.2";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.37.1";
2
+ var version = "4.37.2";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/webview-messages",
3
- "version": "4.37.1",
3
+ "version": "4.37.2",
4
4
  "description": "A package to define messages for the webview-controller",
5
5
  "author": "Dynamic Labs, Inc.",
6
6
  "license": "MIT",
@@ -18,13 +18,13 @@
18
18
  "./package.json": "./package.json"
19
19
  },
20
20
  "dependencies": {
21
- "@dynamic-labs/sdk-api-core": "0.0.798",
22
- "@dynamic-labs-sdk/client": "0.1.0-alpha.17",
23
- "@dynamic-labs/assert-package-version": "4.37.1",
24
- "@dynamic-labs/logger": "4.37.1",
25
- "@dynamic-labs/message-transport": "4.37.1",
26
- "@dynamic-labs/types": "4.37.1",
27
- "@dynamic-labs/webauthn": "4.37.1"
21
+ "@dynamic-labs/sdk-api-core": "0.0.805",
22
+ "@dynamic-labs-sdk/client": "0.1.0-alpha.19",
23
+ "@dynamic-labs/assert-package-version": "4.37.2",
24
+ "@dynamic-labs/logger": "4.37.2",
25
+ "@dynamic-labs/message-transport": "4.37.2",
26
+ "@dynamic-labs/types": "4.37.2",
27
+ "@dynamic-labs/webauthn": "4.37.2"
28
28
  },
29
29
  "peerDependencies": {}
30
30
  }
@@ -15,6 +15,7 @@ export type ClientManifest = {
15
15
  evmNetworks?: EvmNetwork[];
16
16
  platform: 'browser' | 'react-native' | 'flutter' | 'swift';
17
17
  redirectUrl: string;
18
+ globalWallets?: ('droplet' | 'sei')[];
18
19
  debug?: {
19
20
  webview?: boolean;
20
21
  messageTransport?: boolean;
@@ -1,4 +1,5 @@
1
1
  import { ProviderEnum } from '@dynamic-labs/sdk-api-core';
2
+ import { SocialAccountInformation } from '@dynamic-labs/types';
2
3
  export type SocialProvider = 'apple' | 'coinbaseSocial' | 'discord' | 'epicgames' | 'facebook' | 'farcaster' | 'github' | 'google' | 'kraken' | 'line' | 'telegram' | 'tiktok' | 'twitch' | 'twitter' | 'shopify' | 'spotify';
3
4
  type ConnectWithSocialOnHostArgs = {
4
5
  clientId?: string;
@@ -25,5 +26,21 @@ export type SocialAuthModuleMessages = {
25
26
  * Trigger a social auth connection on the host/native side
26
27
  */
27
28
  connectWithSocialOnHost: (args: ConnectWithSocialOnHostArgs) => Promise<void>;
29
+ /**
30
+ * Retrieves all linked social accounts for a specific provider
31
+ */
32
+ getLinkedAccounts: (provider: ProviderEnum) => Promise<SocialAccountInformation[]>;
33
+ /**
34
+ * Unlinks a social account from the user's profile
35
+ */
36
+ unlinkSocialAccount: (provider: ProviderEnum, verifiedCredentialId?: string) => Promise<void>;
37
+ /**
38
+ * Checks if a user has any linked accounts for a specific provider
39
+ */
40
+ isLinked: (provider: ProviderEnum) => Promise<boolean>;
41
+ /**
42
+ * Retrieves all linked social accounts across all providers
43
+ */
44
+ getAllLinkedAccounts: () => Promise<SocialAccountInformation[]>;
28
45
  };
29
46
  export {};