Skip to content

Commit d4ebac0

Browse files
fix: Update hashAttributes documentation to reflect Promise return type
1 parent 64b1cd7 commit d4ebac0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/Rokt-Kit.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ var constructor = function () {
3333
/**
3434
* Passes attributes to the Rokt Web SDK for server-side hashing
3535
* @param {Object} attributes - The attributes to be hashed
36-
* @returns {Object|null} The hashed attributes from the launcher, or `null` if the kit is not initialized
36+
* @returns {Promise<Object|null>} A Promise resolving to the
37+
* hashed attributes from the launcher, or `null` if the kit is not initialized
3738
*/
3839
function hashAttributes(attributes) {
3940
if (!isInitialized()) {

0 commit comments

Comments
 (0)