Skip to content

Commit bcdff09

Browse files
Add types and changelog entry
1 parent 2c8335e commit bcdff09

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

CHANGES.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
1.18.0 (September XX, 2024)
2+
- Added `factory.destroy()` method, as a shortcut to destroy all SDK clients created by the factory.
3+
14
1.17.0 (September 6, 2024)
25
- Added `sync.requestOptions.getHeaderOverrides` configuration option to enhance SDK HTTP request Headers for Authorization Frameworks.
36
- Added `isTimedout` and `lastUpdate` properties to IStatusInterface to keep track of the timestamp of the last SDK event, used on React and Redux SDKs.

src/types.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,12 @@ interface IBasicSDK {
459459
* @property Logger
460460
*/
461461
Logger: ILoggerAPI
462+
/**
463+
* Destroy all the clients created by this factory.
464+
* @function destroy
465+
* @returns {Promise<void>}
466+
*/
467+
destroy(): Promise<void>
462468
}
463469
/****** Exposed namespace ******/
464470
/**

0 commit comments

Comments
 (0)