@animaapp/anima-sdk 0.2.5 → 0.2.7
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/.turbo/turbo-build.log +12 -14
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.js +539 -535
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/anima.ts +8 -4
- package/src/types.ts +5 -0
package/dist/index.d.ts
CHANGED
|
@@ -182,6 +182,7 @@ export declare type GetCodeParams = {
|
|
|
182
182
|
nodesId: string[];
|
|
183
183
|
assetsStorage?: AssetsStorage;
|
|
184
184
|
settings: CodegenSettings;
|
|
185
|
+
tracking?: TrackingInfos;
|
|
185
186
|
};
|
|
186
187
|
|
|
187
188
|
export declare const getFigmaApiErrorType: (error: Error) => FigmaApiErrorType;
|
|
@@ -321,6 +322,10 @@ export declare type StreamCodgenMessage = Exclude<SSECodgenMessage, {
|
|
|
321
322
|
};
|
|
322
323
|
};
|
|
323
324
|
|
|
325
|
+
export declare type TrackingInfos = {
|
|
326
|
+
externalId: string;
|
|
327
|
+
};
|
|
328
|
+
|
|
324
329
|
export declare class UnknownFigmaApiException extends Error {
|
|
325
330
|
fileKey: string;
|
|
326
331
|
constructor({ fileKey, cause }: {
|