@shipengine/connect
Version:
The official developer tooling for building ShipEngine connect apps
18 lines (17 loc) • 562 B
TypeScript
/**
* Retrieves a key if it exist in the file system
* @returns {Promise<string>} A promise w/ the key value
*/
export declare function get(): Promise<string>;
/**
* Sets a key in the file system
*
* @param {string} apiKey The key that should be set
* @returns {Promise<string>} A promise with the value of the key that was set
*/
export declare function set(apiKey: string): Promise<void>;
/**
* Clears a key if it exist in the file system
* @returns {Promise<void>} A promise that resolves to void
*/
export declare function clear(): Promise<void>;