@inceptionstack/roundhouse 0.3.17 → 0.3.19

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/src/util.ts CHANGED
@@ -105,14 +105,6 @@ export function threadIdToDir(threadId: string): string {
105
105
  .replace(/[^a-zA-Z0-9_-]/g, (ch) => `_x${ch.charCodeAt(0).toString(16).padStart(4, "0")}`);
106
106
  }
107
107
 
108
- /** Legacy encoding (v0.3.x) for migration fallback */
109
- export function threadIdToDirLegacy(threadId: string): string {
110
- return threadId
111
- .replace(/_/g, "_u")
112
- .replace(/:/g, "_c")
113
- .replace(/[^a-zA-Z0-9_-]/g, "_x");
114
- }
115
-
116
108
  /**
117
109
  * Generate a short random attachment ID (e.g. "att_a1b2c3d4").
118
110
  */