@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 +15 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +8 -8
- package/src/lib/SdkModuleMessages.d.ts +1 -0
- package/src/lib/SocialAuthModuleMessages.d.ts +17 -0
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
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/webview-messages",
|
|
3
|
-
"version": "4.37.
|
|
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.
|
|
22
|
-
"@dynamic-labs-sdk/client": "0.1.0-alpha.
|
|
23
|
-
"@dynamic-labs/assert-package-version": "4.37.
|
|
24
|
-
"@dynamic-labs/logger": "4.37.
|
|
25
|
-
"@dynamic-labs/message-transport": "4.37.
|
|
26
|
-
"@dynamic-labs/types": "4.37.
|
|
27
|
-
"@dynamic-labs/webauthn": "4.37.
|
|
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
|
}
|
|
@@ -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 {};
|