@spiffcommerce/core 21.7.1 → 21.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 +6 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +426 -406
- package/dist/index.umd.cjs +27 -21
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [21.8.0] - 26-03-2024
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- `Bundle.removeStakeholder(email: string): Promise<void>`: Removes a single stakeholder from the Bundle, via email address.
|
|
13
|
+
|
|
8
14
|
## [21.7.1] - 25-03-2024
|
|
9
15
|
|
|
10
16
|
### Fixed
|
package/dist/index.d.ts
CHANGED
|
@@ -2115,6 +2115,11 @@ interface Bundle {
|
|
|
2115
2115
|
* @param stakeholderType The type of stakeholder to add. Defaults to Owner.
|
|
2116
2116
|
*/
|
|
2117
2117
|
addStakeholder(customerDetails: CustomerDetailsInput, stakeholderType?: StakeholderType): Promise<void>;
|
|
2118
|
+
/**
|
|
2119
|
+
* Removes a stakeholder from this bundle. Write access to the bundle is required.
|
|
2120
|
+
* @param emailAddress The email address of the stakeholder to remove.
|
|
2121
|
+
*/
|
|
2122
|
+
removeStakeholder(emailAddress: string): Promise<void>;
|
|
2118
2123
|
/**
|
|
2119
2124
|
* Updates all stakeholders associated with this bundle. Write access to the bundle is required.
|
|
2120
2125
|
* @param stakeholders An array of stakeholders to update. Unknown stakeholders will be added, and absent stakeholders will be removed.
|