@sonoransoftware/sonoran.js 1.0.5 → 1.0.6

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.
@@ -105,9 +105,9 @@ class REST extends events_1.EventEmitter {
105
105
  case 'SET_ACCOUNT_RANKS': {
106
106
  return {
107
107
  accountId: args[0],
108
- set: args[1].set,
109
- add: args[1].add,
110
- remove: args[1].remove,
108
+ set: args[1],
109
+ add: args[2],
110
+ remove: args[3],
111
111
  };
112
112
  }
113
113
  default: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sonoransoftware/sonoran.js",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Sonoran.js is a library that allows you to interact with the Sonoran CAD and Sonoran CMS API. Based off of and utilizes several Discord.js library techniques for ease of use.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -210,9 +210,9 @@ export class REST extends EventEmitter {
210
210
  case 'SET_ACCOUNT_RANKS': {
211
211
  return {
212
212
  accountId: args[0],
213
- set: args[1].set,
214
- add: args[1].add,
215
- remove: args[1].remove,
213
+ set: args[1],
214
+ add: args[2],
215
+ remove: args[3],
216
216
  };
217
217
  }
218
218
  default: {
@@ -220,4 +220,4 @@ export class REST extends EventEmitter {
220
220
  }
221
221
  }
222
222
  }
223
- }
223
+ }