fansunited-sdk-esm 1.18.2 → 1.18.4

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.
@@ -194,3 +194,4 @@ export declare const FOOTBALL_TEAMS: {
194
194
  }[];
195
195
  };
196
196
  };
197
+ export declare const constructMockedResponseByLength: (testScenario: string, arrayLength: number) => any;
@@ -1,8 +1,15 @@
1
1
  export declare const requestChunkBuild: (ids: string[]) => any;
2
- export declare const limitIds: (ids: string[]) => any;
2
+ export declare const limitIds: (ids: string[], limit: number) => any;
3
3
  export declare const setBaseUrl: (environment: string, namespace: string) => string;
4
4
  export declare const transformIdsToBeUnique: (ids: string[]) => string[];
5
5
  export declare const remapKeysToCamelCase: (obj: any) => any;
6
6
  export declare const isDisabledCache: (disableCache: boolean) => boolean;
7
7
  export declare const initDisableCache: () => string;
8
8
  export declare const sortArrayInAscOrder: (array: string[]) => string[];
9
+ /**
10
+ * Used for test cases when we want an array with more than X length
11
+ * @param value The value that will contain in the array
12
+ * @param length The length of the array
13
+ * @returns New array with provided length and values
14
+ */
15
+ export declare const constructStringArrayWithProvidedLength: (value: string, length: number) => string[];
@@ -11,6 +11,7 @@ export default class ProfileHttps extends Https {
11
11
  private followingRemapper;
12
12
  private followersRemapper;
13
13
  private lang;
14
+ private limitIds;
14
15
  constructor(configuration: SDKConfiguraitonModel);
15
16
  getCountries: (disableCache: boolean) => Promise<ProfileCountryModel[]>;
16
17
  getProfile: (id?: string) => Promise<ProfileModel>;