@mu-cabin/opms-permission 0.8.17 → 0.8.18

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.cjs CHANGED
@@ -208,7 +208,7 @@ axiosClient.interceptors.response.use(
208
208
  (response) => {
209
209
  const res = response.data;
210
210
  const { success, code, msg } = res;
211
- if (!success) {
211
+ if (success === false) {
212
212
  return Promise.reject({
213
213
  code,
214
214
  msg
package/dist/index.mjs CHANGED
@@ -169,7 +169,7 @@ axiosClient.interceptors.response.use(
169
169
  (response) => {
170
170
  const res = response.data;
171
171
  const { success, code, msg } = res;
172
- if (!success) {
172
+ if (success === false) {
173
173
  return Promise.reject({
174
174
  code,
175
175
  msg
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mu-cabin/opms-permission",
3
- "version": "0.8.17",
3
+ "version": "0.8.18",
4
4
  "description": "Frontend SDK for OPMS permission and auth management.",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",