seedcord 0.10.0 → 0.10.1
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 +1 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -2
- package/dist/index.d.ts +9 -2
- package/dist/index.mjs +1 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -154,8 +154,7 @@ var BaseComponent = class {
|
|
|
154
154
|
* @returns Formatted customId string
|
|
155
155
|
*/
|
|
156
156
|
buildCustomId(prefix, ...args) {
|
|
157
|
-
|
|
158
|
-
return `${prefix}:${args.join("-")}`;
|
|
157
|
+
return args.length === 0 ? prefix : `${prefix}:${args.join("-")}`;
|
|
159
158
|
}
|
|
160
159
|
};
|
|
161
160
|
var BuilderComponent = class extends BaseComponent {
|