mezon-js 2.14.49 → 2.14.50

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/client.ts CHANGED
@@ -952,7 +952,7 @@ export class Client {
952
952
  }
953
953
 
954
954
  return this.apiClient
955
- .deleteRole(session.token, roleId, "", clanId, roleLabel)
955
+ .deleteRole(session.token, roleId, "0", clanId, roleLabel)
956
956
  .then((response: any) => {
957
957
  return response !== undefined;
958
958
  });
@@ -41101,7 +41101,7 @@ var Client = class {
41101
41101
  if (this.autoRefreshSession && session.refresh_token && session.isexpired(Date.now() / 1e3)) {
41102
41102
  yield this.sessionRefresh(session);
41103
41103
  }
41104
- return this.apiClient.deleteRole(session.token, roleId, "", clanId, roleLabel).then((response) => {
41104
+ return this.apiClient.deleteRole(session.token, roleId, "0", clanId, roleLabel).then((response) => {
41105
41105
  return response !== void 0;
41106
41106
  });
41107
41107
  });
@@ -41066,7 +41066,7 @@ var Client = class {
41066
41066
  if (this.autoRefreshSession && session.refresh_token && session.isexpired(Date.now() / 1e3)) {
41067
41067
  yield this.sessionRefresh(session);
41068
41068
  }
41069
- return this.apiClient.deleteRole(session.token, roleId, "", clanId, roleLabel).then((response) => {
41069
+ return this.apiClient.deleteRole(session.token, roleId, "0", clanId, roleLabel).then((response) => {
41070
41070
  return response !== void 0;
41071
41071
  });
41072
41072
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mezon-js",
3
- "version": "2.14.49",
3
+ "version": "2.14.50",
4
4
  "scripts": {
5
5
  "build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs"
6
6
  },