Skip to content

Commit dc0ca9c

Browse files
committed
Update docs
1 parent 54d39ef commit dc0ca9c

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,8 @@ const requestIdentifier = store.getId();
231231

232232
Gets the short unique store id created for the current context/scope.
233233

234+
Note: This is same as `getId();` the difference being it only returns the first 8 characters.
235+
234236
- `@returns {string | undefined}` - Returns the short unique store id.
235237

236238
```js

src/impl/domain.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,8 @@ export function getId(): string | undefined {
237237
/**
238238
* Gets the short unique domain id created for the current context / scope.
239239
*
240+
* Note: This is same as `getId();` the difference being it only returns the first 8 characters.
241+
*
240242
* @returns {(string | undefined)}
241243
*/
242244
export function getShortId(): string | undefined {

src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,8 @@ export function getId(): string | undefined {
202202
/**
203203
* Gets the short unique domain id created for the current context / scope.
204204
*
205+
* Note: This is same as `getId();` the difference being it only returns the first 8 characters.
206+
*
205207
* @returns {(string | undefined)}
206208
*/
207209
export function getShortId(): string | undefined {

0 commit comments

Comments
 (0)