fnapi-js 1.1.2 → 1.1.3

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/README.md CHANGED
@@ -34,13 +34,13 @@ const searchOptions = new SearchOptions()
34
34
  .setRarity('epic')
35
35
  .setMatchMethod(Enums.matchMethod.contains());
36
36
 
37
- const cosmetics = await fnApi.cosmetics.searchCosmetics(searchOptions);
37
+ const cosmetics = await fnApi.cosmetics.search(searchOptions);
38
38
 
39
39
  // Get creator code
40
40
  const creatorCode = await fnApi.sac.get('code');
41
41
 
42
42
  // Get AES keys
43
- const aesKeys = await fnApi.aes.getKeys();
43
+ const aesKeys = await fnApi.aes.get();
44
44
  ```
45
45
 
46
46
  ## Check out the docs
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fnapi-js",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "Unofficial API Wrapper for https://fortnite-api.com/",
5
5
  "main": "src/index.js",
6
6
  "types": "index.d.ts",
@@ -165,7 +165,7 @@ class CosmeticType {
165
165
  static backpack() {
166
166
  return this.TYPES.BACKPACK.value;
167
167
  }
168
-
168
+
169
169
  static vehicleskin() {
170
170
  return this.TYPES.VEHICLES_SKIN.value;
171
171
  }