@dynamic-labs/webview-messages 5.17.0 → 5.18.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 +12 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +11 -11
- package/src/lib/BusinessAccountsMessages.d.ts +12 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,16 @@
|
|
|
1
1
|
|
|
2
|
+
## [5.18.0](https://github.com/dynamic-labs/dynamic-auth/compare/v5.17.0...v5.18.0) (2026-11-17)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* **webview:** add business account invitation APIs to native SDKs ([#12753](https://github.com/dynamic-labs/dynamic-auth/issues/12753)) ([86b5fcb](https://github.com/dynamic-labs/dynamic-auth/commit/86b5fcbe71ac374288edb27d208b896f5c323d0d))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* preserve step-up scope for recovery MFA ([#12750](https://github.com/dynamic-labs/dynamic-auth/issues/12750)) ([7e48ac7](https://github.com/dynamic-labs/dynamic-auth/commit/7e48ac7981c489799e7ded22fb6d7e72d2deb121))
|
|
13
|
+
|
|
2
14
|
## [5.17.0](https://github.com/dynamic-labs/dynamic-auth/compare/v5.16.1...v5.17.0) (2026-11-13)
|
|
3
15
|
|
|
4
16
|
|
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.18.0",
|
|
4
4
|
"description": "A package to define messages for the webview-controller",
|
|
5
5
|
"author": "Dynamic Labs, Inc.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -18,17 +18,17 @@
|
|
|
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.
|
|
23
|
-
"@dynamic-labs-sdk/client": "1.
|
|
21
|
+
"@dynamic-labs/ethereum-gasless-core": "5.18.0",
|
|
22
|
+
"@dynamic-labs/sdk-api-core": "0.160.0",
|
|
23
|
+
"@dynamic-labs-sdk/client": "1.51.0",
|
|
24
24
|
"@dynamic-labs-wallet/core": "1.1.57",
|
|
25
|
-
"@dynamic-labs/assert-package-version": "5.
|
|
26
|
-
"@dynamic-labs/locale": "5.
|
|
27
|
-
"@dynamic-labs/logger": "5.
|
|
28
|
-
"@dynamic-labs/message-transport": "5.
|
|
29
|
-
"@dynamic-labs/types": "5.
|
|
30
|
-
"@dynamic-labs/wallet-connector-core": "5.
|
|
31
|
-
"@dynamic-labs/webauthn": "5.
|
|
25
|
+
"@dynamic-labs/assert-package-version": "5.18.0",
|
|
26
|
+
"@dynamic-labs/locale": "5.18.0",
|
|
27
|
+
"@dynamic-labs/logger": "5.18.0",
|
|
28
|
+
"@dynamic-labs/message-transport": "5.18.0",
|
|
29
|
+
"@dynamic-labs/types": "5.18.0",
|
|
30
|
+
"@dynamic-labs/wallet-connector-core": "5.18.0",
|
|
31
|
+
"@dynamic-labs/webauthn": "5.18.0"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {}
|
|
34
34
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { approveBusinessAccountProposal, BusinessAccount, BusinessAccountActionRequired, BusinessAccountDetail, BusinessAccountList, BusinessAccountMember, BusinessAccountProposal, BusinessAccountSigner, BusinessAccountSignerIdentifierType, listBusinessAccountProposals, resumeSigningProposal, signSigningQuorumIntent, TargetIdentity, vetoBusinessAccountProposal, withdrawBusinessAccountProposalApproval } from '@dynamic-labs-sdk/client/waas';
|
|
1
|
+
import type { acceptBusinessAccountInvite, approveBusinessAccountProposal, BusinessAccount, BusinessAccountActionRequired, BusinessAccountDetail, BusinessAccountInviteList, BusinessAccountList, BusinessAccountMember, BusinessAccountMemberInvite, BusinessAccountMemberInviteList, BusinessAccountProposal, BusinessAccountSigner, BusinessAccountSignerIdentifierType, cancelBusinessAccountMemberInvite, listBusinessAccountMemberInvites, listBusinessAccountProposals, resumeSigningProposal, signSigningQuorumIntent, TargetIdentity, vetoBusinessAccountProposal, withdrawBusinessAccountProposalApproval } from '@dynamic-labs-sdk/client/waas';
|
|
2
2
|
import type { prepareSigningQuorumApproval } from '@dynamic-labs-sdk/client/waas/core';
|
|
3
3
|
import type { BusinessAccountActionRequired as WalletClientBusinessAccountActionRequired } from '@dynamic-labs-wallet/core';
|
|
4
4
|
export type BusinessAccountMemberRole = 'owner' | 'admin' | 'viewer';
|
|
@@ -87,13 +87,19 @@ export type ResumeSigningProposalParams = {
|
|
|
87
87
|
walletId?: string;
|
|
88
88
|
};
|
|
89
89
|
export type SignSigningQuorumIntentParams = Parameters<typeof signSigningQuorumIntent>[0];
|
|
90
|
+
export type GetBusinessAccountInvitesResult = BusinessAccountInviteList;
|
|
91
|
+
export type AcceptBusinessAccountInviteParams = Parameters<typeof acceptBusinessAccountInvite>[0];
|
|
92
|
+
export type AcceptBusinessAccountInviteResult = Awaited<ReturnType<typeof acceptBusinessAccountInvite>>;
|
|
93
|
+
export type ListBusinessAccountMemberInvitesParams = Parameters<typeof listBusinessAccountMemberInvites>[0];
|
|
94
|
+
export type ListBusinessAccountMemberInvitesResult = BusinessAccountMemberInviteList;
|
|
95
|
+
export type CancelBusinessAccountMemberInviteParams = Parameters<typeof cancelBusinessAccountMemberInvite>[0];
|
|
90
96
|
export type BusinessAccountsMessages = {
|
|
91
97
|
businessAccount_create: (params: CreateBusinessAccountParams) => Promise<BusinessAccount>;
|
|
92
98
|
businessAccount_list: (params?: ListBusinessAccountsParams) => Promise<BusinessAccountList>;
|
|
93
99
|
businessAccount_get: (params: GetBusinessAccountParams) => Promise<BusinessAccountDetail>;
|
|
94
100
|
businessAccount_addWallet: (params: AddWalletToBusinessAccountParams) => Promise<BusinessAccountDetail | BusinessAccountActionRequired>;
|
|
95
101
|
businessAccount_addSigner: (params: AddSignerToBusinessAccountParams) => Promise<AddBusinessAccountSignerResponse | WalletClientBusinessAccountActionRequired>;
|
|
96
|
-
businessAccount_addMember: (params: AddMemberToBusinessAccountParams) => Promise<BusinessAccountMember | BusinessAccountActionRequired>;
|
|
102
|
+
businessAccount_addMember: (params: AddMemberToBusinessAccountParams) => Promise<BusinessAccountMember | BusinessAccountMemberInvite | BusinessAccountActionRequired>;
|
|
97
103
|
businessAccount_removeSigner: (params: RemoveSignerFromBusinessAccountParams) => Promise<BusinessAccountSigner | BusinessAccountActionRequired>;
|
|
98
104
|
businessAccount_removeMember: (params: RemoveMemberFromBusinessAccountParams) => Promise<BusinessAccountMember | BusinessAccountActionRequired>;
|
|
99
105
|
businessAccount_updateMemberRole: (params: UpdateMemberRoleParams) => Promise<BusinessAccountMember | BusinessAccountActionRequired>;
|
|
@@ -108,4 +114,8 @@ export type BusinessAccountsMessages = {
|
|
|
108
114
|
businessAccount_prepareSigningQuorumApproval: (params: PrepareSigningQuorumApprovalParams) => Promise<Awaited<ReturnType<typeof prepareSigningQuorumApproval>> | null>;
|
|
109
115
|
businessAccount_resumeSigningProposal: (params: ResumeSigningProposalParams) => Promise<Awaited<ReturnType<typeof resumeSigningProposal>>>;
|
|
110
116
|
businessAccount_signSigningQuorumIntent: (params: SignSigningQuorumIntentParams) => Promise<Awaited<ReturnType<typeof signSigningQuorumIntent>>>;
|
|
117
|
+
businessAccount_getInvites: () => Promise<GetBusinessAccountInvitesResult>;
|
|
118
|
+
businessAccount_acceptInvite: (params: AcceptBusinessAccountInviteParams) => Promise<AcceptBusinessAccountInviteResult>;
|
|
119
|
+
businessAccount_listMemberInvites: (params: ListBusinessAccountMemberInvitesParams) => Promise<ListBusinessAccountMemberInvitesResult>;
|
|
120
|
+
businessAccount_cancelMemberInvite: (params: CancelBusinessAccountMemberInviteParams) => Promise<BusinessAccountMemberInvite | BusinessAccountActionRequired>;
|
|
111
121
|
};
|