@eduzz/miau-client 1.0.3 → 1.0.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.
@@ -1,4 +1,4 @@
1
1
 
2
- > @eduzz/miau-client@1.0.3 build:types /home/runner/work/eduzz-miau/eduzz-miau/packages/client
2
+ > @eduzz/miau-client@1.0.4 build:types /home/runner/work/eduzz-miau/eduzz-miau/packages/client
3
3
  > tsc --emitDeclarationOnly --outDir dist
4
4
 
package/dist/index.js CHANGED
@@ -11888,7 +11888,7 @@ var isResourceAllowed = (resource, resources, permittedResources) => {
11888
11888
  });
11889
11889
  }
11890
11890
  return permittedResources.some((permission) => {
11891
- const permissionRegex = wildcardToRegex(permission.path);
11891
+ const permissionRegex = wildcardToRegex(permission.path.toLocaleLowerCase());
11892
11892
  return permission.method.toLowerCase() === resource.method.toLowerCase() && permissionRegex.test(resource.path.toLowerCase());
11893
11893
  });
11894
11894
  };