@dynamic-labs/webview-messages 4.41.0 → 4.42.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 +20 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +9 -9
- package/src/lib/WaasMessages.d.ts +6 -0
- package/src/lib/WalletsModuleMessages.d.ts +11 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,24 @@
|
|
|
1
1
|
|
|
2
|
+
## [4.42.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.41.1...v4.42.0) (2025-11-04)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* add support for send balance in React Native ([#9807](https://github.com/dynamic-labs/dynamic-auth/issues/9807)) ([40cab11](https://github.com/dynamic-labs/dynamic-auth/commit/40cab119f23d0b2efa5d6b161294bc682f1c0031))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* don't override mfa token on non-mfa related state updates ([#9817](https://github.com/dynamic-labs/dynamic-auth/issues/9817)) ([76dfbb9](https://github.com/dynamic-labs/dynamic-auth/commit/76dfbb9f5012709c6c400c1d51b8a20b2b99c3db))
|
|
13
|
+
|
|
14
|
+
### [4.41.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.41.0...v4.41.1) (2025-10-30)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* aptos login with petra keyless accounts ([#9795](https://github.com/dynamic-labs/dynamic-auth/issues/9795)) ([99dc34b](https://github.com/dynamic-labs/dynamic-auth/commit/99dc34b95d1ec23d168c9e092e2d735b1d50a71d))
|
|
20
|
+
* backpack aptos login due to invalid public key ([#9806](https://github.com/dynamic-labs/dynamic-auth/issues/9806)) ([ec8b761](https://github.com/dynamic-labs/dynamic-auth/commit/ec8b76181acff7906fd92c77c2fca42ce52010ae))
|
|
21
|
+
|
|
2
22
|
## [4.41.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.40.2...v4.41.0) (2025-10-29)
|
|
3
23
|
|
|
4
24
|
|
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.
|
|
3
|
+
"version": "4.42.0",
|
|
4
4
|
"description": "A package to define messages for the webview-controller",
|
|
5
5
|
"author": "Dynamic Labs, Inc.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -18,14 +18,14 @@
|
|
|
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.
|
|
24
|
-
"@dynamic-labs/locale": "4.
|
|
25
|
-
"@dynamic-labs/logger": "4.
|
|
26
|
-
"@dynamic-labs/message-transport": "4.
|
|
27
|
-
"@dynamic-labs/types": "4.
|
|
28
|
-
"@dynamic-labs/webauthn": "4.
|
|
21
|
+
"@dynamic-labs/sdk-api-core": "0.0.818",
|
|
22
|
+
"@dynamic-labs-sdk/client": "0.1.0-alpha.28",
|
|
23
|
+
"@dynamic-labs/assert-package-version": "4.42.0",
|
|
24
|
+
"@dynamic-labs/locale": "4.42.0",
|
|
25
|
+
"@dynamic-labs/logger": "4.42.0",
|
|
26
|
+
"@dynamic-labs/message-transport": "4.42.0",
|
|
27
|
+
"@dynamic-labs/types": "4.42.0",
|
|
28
|
+
"@dynamic-labs/webauthn": "4.42.0"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {}
|
|
31
31
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export type ImportPrivateKeyArgs = {
|
|
2
2
|
privateKey: string;
|
|
3
3
|
thresholdSignatureScheme?: string;
|
|
4
|
+
publicAddressCheck?: string;
|
|
4
5
|
};
|
|
5
6
|
export type ExportClientKeysharesArgs = {
|
|
6
7
|
accountAddress: string;
|
|
@@ -14,6 +15,10 @@ export type DelegateKeySharesArgs = {
|
|
|
14
15
|
accountAddress: string;
|
|
15
16
|
password?: string;
|
|
16
17
|
};
|
|
18
|
+
export type RevokeDelegationArgs = {
|
|
19
|
+
accountAddress: string;
|
|
20
|
+
password?: string;
|
|
21
|
+
};
|
|
17
22
|
export type RefreshWalletAccountSharesArgs = {
|
|
18
23
|
accountAddress: string;
|
|
19
24
|
password?: string;
|
|
@@ -33,6 +38,7 @@ export type WaasMessages = {
|
|
|
33
38
|
waas_exportClientKeyshares: (walletId: string, args: ExportClientKeysharesArgs) => Promise<void>;
|
|
34
39
|
waas_backupKeySharesToGoogleDrive: (walletId: string, args: BackupKeySharesToGoogleDriveArgs) => Promise<void>;
|
|
35
40
|
waas_delegateKeyShares: (walletId: string, args: DelegateKeySharesArgs) => Promise<void>;
|
|
41
|
+
waas_revokeDelegation: (walletId: string, args: RevokeDelegationArgs) => Promise<void>;
|
|
36
42
|
waas_refreshWalletAccountShares: (walletId: string, args: RefreshWalletAccountSharesArgs) => Promise<void>;
|
|
37
43
|
waas_updatePassword: (walletId: string, args: UpdatePasswordArgs) => Promise<void>;
|
|
38
44
|
waas_signRawMessage: (walletId: string, args: SignRawMessageArgs) => Promise<string>;
|
|
@@ -18,6 +18,17 @@ export type WalletsModuleMessages = {
|
|
|
18
18
|
}) => Promise<{
|
|
19
19
|
signedMessage: string;
|
|
20
20
|
}>;
|
|
21
|
+
sendBalance: (params: {
|
|
22
|
+
wallet: BaseWallet;
|
|
23
|
+
amount: string;
|
|
24
|
+
toAddress: string;
|
|
25
|
+
token?: {
|
|
26
|
+
address: string;
|
|
27
|
+
decimals?: number;
|
|
28
|
+
};
|
|
29
|
+
}) => Promise<{
|
|
30
|
+
hash: string;
|
|
31
|
+
}>;
|
|
21
32
|
getNetwork: (params: {
|
|
22
33
|
wallet: BaseWallet;
|
|
23
34
|
}) => Promise<{
|