Skip to content

Commit

Permalink
fix: context type
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelOsborne committed Aug 7, 2023
1 parent a22b71e commit 288bbcd
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/large-years-shop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@dotlottie/dotlottie-js": patch
---

context type
1 change: 1 addition & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"friendly-windows-rush",
"great-actors-arrive",
"green-comics-guess",
"large-years-shop",
"late-shirts-mix",
"many-chicken-hear",
"neat-humans-worry",
Expand Down
6 changes: 6 additions & 0 deletions packages/dotlottie-js/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @dotlottie/dotlottie-js

## 0.4.0-beta.19

### Patch Changes

- context type

## 0.4.0-beta.18

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/dotlottie-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dotlottie/dotlottie-js",
"version": "0.4.0-beta.18",
"version": "0.4.0-beta.19",
"type": "module",
"description": "This library helps in creating and modifying .lottie files.",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/dotlottie-js/src/common/dotlottie-state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export interface XStateMachineAction {

export interface XStateMachine {
actions: XStateMachineAction;
context: Record<string, any> | undefined;
context: XStateMachine | undefined;
guards: Record<string, unknown>;
id: string;
initial: string;
Expand Down

0 comments on commit 288bbcd

Please sign in to comment.