Skip to content

Commit a76478b

Browse files
committed
update
1 parent 2c1e742 commit a76478b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Countly.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -435,16 +435,16 @@ declare module "countly-sdk-react-native-bridge" {
435435
namespace deviceId {
436436
/**
437437
*
438-
* Get currently used device Id.
438+
* Get currently used device ID.
439439
* Should be called after Countly init
440440
*
441-
* @returns {string | null} device id or null
441+
* @returns {string | null} device ID or null
442442
*/
443443
export function getID(): Promise<string> | string;
444444

445445
/**
446446
*
447-
* Get currently used device Id type.
447+
* Get currently used device ID type.
448448
* Should be called after Countly init
449449
*
450450
* @return {DeviceIdType | null} deviceIdType or null
@@ -455,7 +455,7 @@ declare module "countly-sdk-react-native-bridge" {
455455
* Sets device ID according to the device ID Type.
456456
* If previous ID was Developer Supplied sets it without merge, otherwise with merge.
457457
*
458-
* @param {string} newDeviceID device id to set
458+
* @param {string} newDeviceID device ID to set
459459
*/
460460
export function setID(newDeviceID: string): void;
461461
}

Countly.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -497,9 +497,9 @@ Countly.getDeviceIDType = async function () {
497497
};
498498

499499
/**
500-
* @deprecated
500+
* @deprecated use 'Countly.deviceId.setID' instead of 'Countly.changeDeviceId' for setting device ID.
501501
*
502-
* Change the current device id
502+
* Change the current device ID
503503
*
504504
* @param {string} newDeviceID id new device id
505505
* @param {boolean} onServer merge device id

0 commit comments

Comments
 (0)