@dynamic-labs/webview-messages 5.6.1 → 5.8.0
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 +28 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +10 -10
- package/src/index.d.ts +1 -0
- package/src/lib/SocialAuthModuleMessages.d.ts +1 -1
- package/src/lib/StellarMessages.d.ts +49 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,32 @@
|
|
|
1
1
|
|
|
2
|
+
## [5.8.0](https://github.com/dynamic-labs/dynamic-auth/compare/v5.7.0...v5.8.0) (2026-09-09)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* **solana-core:** standalone sponsored ATA creation ([#12365](https://github.com/dynamic-labs/dynamic-auth/issues/12365)) ([ac2e776](https://github.com/dynamic-labs/dynamic-auth/commit/ac2e7769fcf91c868e961a227b8acb6347bf3f13))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* do not report wallets installed from a provider selection router ([#12340](https://github.com/dynamic-labs/dynamic-auth/issues/12340)) ([dac5546](https://github.com/dynamic-labs/dynamic-auth/commit/dac5546edf6004c37bd84dd2089d94952949230b))
|
|
13
|
+
* **screening:** soften the blocked-wallet copy to be provider-neutral ([#12358](https://github.com/dynamic-labs/dynamic-auth/issues/12358)) ([b4854d8](https://github.com/dynamic-labs/dynamic-auth/commit/b4854d88fa67f684be0e133edd5fd4a4bf5c7f37))
|
|
14
|
+
* show transaction amount when simulation returns no transfers ([#12355](https://github.com/dynamic-labs/dynamic-auth/issues/12355)) ([bfaf337](https://github.com/dynamic-labs/dynamic-auth/commit/bfaf337e5350970f71255baff065e0cdbccdc7ca))
|
|
15
|
+
|
|
16
|
+
## [5.7.0](https://github.com/dynamic-labs/dynamic-auth/compare/v5.6.1...v5.7.0) (2026-09-08)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Features
|
|
20
|
+
|
|
21
|
+
* **social:** add gemini social provider ([#12292](https://github.com/dynamic-labs/dynamic-auth/issues/12292)) ([fa72cb0](https://github.com/dynamic-labs/dynamic-auth/commit/fa72cb09f678506a5f34188eb7d62415bcb7073b))
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Bug Fixes
|
|
25
|
+
|
|
26
|
+
* **locale:** add missing dyn_upgrade_wallet.no_legacy_wallets and .close keys ([#12350](https://github.com/dynamic-labs/dynamic-auth/issues/12350)) ([50da3fa](https://github.com/dynamic-labs/dynamic-auth/commit/50da3fa3078de4ecbd88031a3e533a4ff6ced89b))
|
|
27
|
+
* **sdk-react-core:** expose SDK i18next instance for extension packages ([#12351](https://github.com/dynamic-labs/dynamic-auth/issues/12351)) ([f3d95b1](https://github.com/dynamic-labs/dynamic-auth/commit/f3d95b1bb1c30114d32d93dec4e9c2455ab4fdbb))
|
|
28
|
+
* **sdk-react-core:** publish ./icons and ./components subpath exports ([#12334](https://github.com/dynamic-labs/dynamic-auth/issues/12334)) ([519487c](https://github.com/dynamic-labs/dynamic-auth/commit/519487cf5f4f7abe895a125c5bf38800cae04bb5))
|
|
29
|
+
|
|
2
30
|
### [5.6.1](https://github.com/dynamic-labs/dynamic-auth/compare/v5.6.0...v5.6.1) (2026-09-01)
|
|
3
31
|
|
|
4
32
|
|
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": "5.
|
|
3
|
+
"version": "5.8.0",
|
|
4
4
|
"description": "A package to define messages for the webview-controller",
|
|
5
5
|
"author": "Dynamic Labs, Inc.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -18,16 +18,16 @@
|
|
|
18
18
|
"./package.json": "./package.json"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@dynamic-labs/ethereum-gasless-core": "5.
|
|
22
|
-
"@dynamic-labs/sdk-api-core": "0.
|
|
21
|
+
"@dynamic-labs/ethereum-gasless-core": "5.8.0",
|
|
22
|
+
"@dynamic-labs/sdk-api-core": "0.32.0",
|
|
23
23
|
"@dynamic-labs-sdk/client": "1.31.0",
|
|
24
|
-
"@dynamic-labs/assert-package-version": "5.
|
|
25
|
-
"@dynamic-labs/locale": "5.
|
|
26
|
-
"@dynamic-labs/logger": "5.
|
|
27
|
-
"@dynamic-labs/message-transport": "5.
|
|
28
|
-
"@dynamic-labs/types": "5.
|
|
29
|
-
"@dynamic-labs/wallet-connector-core": "5.
|
|
30
|
-
"@dynamic-labs/webauthn": "5.
|
|
24
|
+
"@dynamic-labs/assert-package-version": "5.8.0",
|
|
25
|
+
"@dynamic-labs/locale": "5.8.0",
|
|
26
|
+
"@dynamic-labs/logger": "5.8.0",
|
|
27
|
+
"@dynamic-labs/message-transport": "5.8.0",
|
|
28
|
+
"@dynamic-labs/types": "5.8.0",
|
|
29
|
+
"@dynamic-labs/wallet-connector-core": "5.8.0",
|
|
30
|
+
"@dynamic-labs/webauthn": "5.8.0"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {}
|
|
33
33
|
}
|
package/src/index.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ export * from './lib/PlatformServiceMessages';
|
|
|
20
20
|
export * from './lib/SdkModuleMessages';
|
|
21
21
|
export * from './lib/SocialAuthModuleMessages';
|
|
22
22
|
export * from './lib/SolanaMessages';
|
|
23
|
+
export * from './lib/StellarMessages';
|
|
23
24
|
export * from './lib/StepUpAuthMessages';
|
|
24
25
|
export * from './lib/StorageMessages';
|
|
25
26
|
export * from './lib/SuiMessages';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ProviderEnum } from '@dynamic-labs/sdk-api-core';
|
|
2
2
|
import { SocialAccountInformation } from '@dynamic-labs/types';
|
|
3
|
-
export type SocialProvider = 'apple' | 'coinbaseSocial' | 'discord' | 'epicgames' | 'facebook' | 'farcaster' | 'github' | 'google' | 'kraken' | 'line' | 'telegram' | 'tiktok' | 'twitch' | 'twitter' | 'shopify' | 'spotify';
|
|
3
|
+
export type SocialProvider = 'apple' | 'coinbaseSocial' | 'discord' | 'epicgames' | 'facebook' | 'farcaster' | 'gemini' | 'github' | 'google' | 'kraken' | 'line' | 'telegram' | 'tiktok' | 'twitch' | 'twitter' | 'shopify' | 'spotify';
|
|
4
4
|
type ConnectWithSocialOnHostArgs = {
|
|
5
5
|
clientId?: string;
|
|
6
6
|
oauthLoginUrl: string;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Messages exchanged for Stellar requests.
|
|
3
|
+
*/
|
|
4
|
+
export type StellarMessages = {
|
|
5
|
+
stellar_signMessage: (arg: {
|
|
6
|
+
walletId: string;
|
|
7
|
+
message: string;
|
|
8
|
+
}) => Promise<{
|
|
9
|
+
signature: string;
|
|
10
|
+
}>;
|
|
11
|
+
stellar_signTransaction: (arg: {
|
|
12
|
+
walletId: string;
|
|
13
|
+
transactionXdr: string;
|
|
14
|
+
}) => Promise<{
|
|
15
|
+
signedTransactionXdr: string;
|
|
16
|
+
}>;
|
|
17
|
+
stellar_sendBalance: (arg: {
|
|
18
|
+
walletId: string;
|
|
19
|
+
toAddress: string;
|
|
20
|
+
amount: string;
|
|
21
|
+
/** Token address in format "CODE:ISSUER" or "CODE-ISSUER". Omit for native XLM */
|
|
22
|
+
tokenAddress?: string;
|
|
23
|
+
tokenDecimals?: number;
|
|
24
|
+
}) => Promise<{
|
|
25
|
+
hash: string;
|
|
26
|
+
}>;
|
|
27
|
+
stellar_addTrustline: (arg: {
|
|
28
|
+
walletId: string;
|
|
29
|
+
assetCode: string;
|
|
30
|
+
assetIssuer: string;
|
|
31
|
+
limit?: string;
|
|
32
|
+
}) => Promise<{
|
|
33
|
+
hash: string;
|
|
34
|
+
}>;
|
|
35
|
+
stellar_getBalance: (arg: {
|
|
36
|
+
walletId: string;
|
|
37
|
+
/** Asset code of a non-native asset. Omit for native XLM */
|
|
38
|
+
assetCode?: string;
|
|
39
|
+
/** Asset issuer public key, required when assetCode is provided */
|
|
40
|
+
assetIssuer?: string;
|
|
41
|
+
}) => Promise<{
|
|
42
|
+
balance: string;
|
|
43
|
+
}>;
|
|
44
|
+
stellar_getNetwork: (arg: {
|
|
45
|
+
walletId: string;
|
|
46
|
+
}) => Promise<{
|
|
47
|
+
network: string;
|
|
48
|
+
}>;
|
|
49
|
+
};
|