Skip to content

Commit

Permalink
Stop exporting setStorage() and other set helper functions
Browse files Browse the repository at this point in the history
  • Loading branch information
keylanjensen committed Apr 10, 2024
1 parent ca95e4e commit d61e63a
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions pods.ts
Original file line number Diff line number Diff line change
Expand Up @@ -690,13 +690,12 @@ const pods: krl.Module = {
createFolder: createFolder,
removeFolder: removeFolder,

getStorage : getStorage, //Private KRL helper function, does not need to be exported but may be helpful to the developer
setStorage : setStorage, //Private KRL helper function, does not need to be exported
// isPodConnected : isPodConnected, //Private KRL helper function, does not need to be exported
//The following are helper functions that are exported for testing
setClientID: setClientID, //Private KRL helper function, does not need to be exported
setClientSecret: setClientSecret, //Private KRL helper function, does not need to be exported
setRefreshTokenURL: setRefreshTokenURL, //Private KRL helper function, does not need to be exported
//The following are helper functions that are exported for testing
getStorage : getStorage, //Private KRL helper function, does not need to be exported but may be useful for the developer
// setStorage : setStorage, //Private KRL helper function, does not need to be exported
// setClientID: setClientID, //Private KRL helper function, does not need to be exported
// setClientSecret: setClientSecret, //Private KRL helper function, does not need to be exported
// setRefreshTokenURL: setRefreshTokenURL, //Private KRL helper function, does not need to be exported

getAccessTokenValidDuration : getAccessTokenValidDuration, //Mostly private KRL helper function, but exported since developer may want to know about the token
getAccessTokenReceiveTime : getAccessTokenReceiveTime, //Mostly private KRL helper function, but exported since developer may want to know about the token
Expand Down

0 comments on commit d61e63a

Please sign in to comment.