@zodic/shared 0.0.120 → 0.0.122

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/app/backend.ts CHANGED
@@ -1,3 +1,4 @@
1
+ export * from '../utils';
1
2
  export * from './base';
2
3
  export * from './services';
3
4
  export * from './workflow';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zodic/shared",
3
- "version": "0.0.120",
3
+ "version": "0.0.122",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "publishConfig": {
package/utils/index.ts CHANGED
@@ -100,3 +100,7 @@ export const verifyToken = async (
100
100
  throw new Error('Invalid or expired token');
101
101
  }
102
102
  };
103
+
104
+ export function normalizeName(name: string): string {
105
+ return name.toLowerCase().replace(/\s+/g, '-');
106
+ }