@supernova-studio/model 1.32.1 → 1.33.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.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -949,6 +949,9 @@ var SupernovaException = class _SupernovaException extends Error {
|
|
|
949
949
|
return new _SupernovaException("BadRequest", message);
|
|
950
950
|
}
|
|
951
951
|
};
|
|
952
|
+
function errorToString(error) {
|
|
953
|
+
return error instanceof Error ? error.message : String(error);
|
|
954
|
+
}
|
|
952
955
|
|
|
953
956
|
// src/utils/common.ts
|
|
954
957
|
function forceUnwrapNullish(value) {
|
|
@@ -7456,6 +7459,7 @@ export {
|
|
|
7456
7459
|
deriveWorkspaceSeatTypeFromRole,
|
|
7457
7460
|
designTokenImportModelTypeFilter,
|
|
7458
7461
|
designTokenTypeFilter,
|
|
7462
|
+
errorToString,
|
|
7459
7463
|
extractTokenTypedData,
|
|
7460
7464
|
figmaFileStructureImportModelToMap,
|
|
7461
7465
|
figmaFileStructureToMap,
|