Skip to content

Commit ba33510

Browse files
authored
feat(arcgis-rest-developer-credentials)!: export slot helper
BREAKING CHANGE: requires additional changes to API key method
1 parent 36fe8f8 commit ba33510

File tree

1 file changed

+2
-3
lines changed
  • packages/arcgis-rest-developer-credentials/src/shared

1 file changed

+2
-3
lines changed

packages/arcgis-rest-developer-credentials/src/shared/helpers.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,9 @@ export function filterKeys<T extends object>(
121121
}
122122

123123
/**
124-
* @internal
125-
* Used to determine if a generated key is a slot 1 or slot 2 key.
124+
* Used to determine if a generated key is in slot 1 or slot 2 key.
126125
*/
127-
function slotForKey(key: string) {
126+
export function slotForKey(key: string) {
128127
return parseInt(key.substring(key.length - 10, key.length - 9));
129128
}
130129

0 commit comments

Comments
 (0)