skikrumb-api 2.1.17 → 2.1.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -44,6 +44,7 @@ export declare const skiKrumb: (options?: {
44
44
  sendMobileLocation: (payload: {
45
45
  deviceId: string;
46
46
  locations: any[];
47
+ isHistorical?: boolean;
47
48
  }) => Promise<unknown>;
48
49
  authenticateExternalUser: (userData: ExternalUserRequest) => Promise<ExternalUserResponse>;
49
50
  refreshSessionToken: (currentToken: string) => Promise<ExternalUserResponse>;
package/dist/index.js CHANGED
@@ -596,6 +596,7 @@ export const skiKrumb = (options = {
596
596
  const getLatestDeviceData = async (serialNumber) => {
597
597
  const requestWithAuth = ky.create({
598
598
  prefixUrl: options.url,
599
+ timeout: 30000,
599
600
  headers: {
600
601
  'Content-Type': 'application/json',
601
602
  Authorization: `Bearer ${options.apiKey}`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skikrumb-api",
3
- "version": "2.1.17",
3
+ "version": "2.1.19",
4
4
  "description": "Wrapper for the skiKrumb API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",