From 84dd776aed97734c301aed06f97665738eb37223 Mon Sep 17 00:00:00 2001 From: Valentin Dosimont Date: Tue, 14 Jan 2025 09:45:48 +0100 Subject: [PATCH] feat: update dojo version --- .changeset/dull-jeans-reply.md | 15 + .github/workflows/ci.yaml | 2 +- .../src/app/page.tsx | 5 - .../src/components/caller-counter.tsx | 57 +- .../src/components/chat.tsx | 39 +- .../src/components/global-counter.tsx | 52 +- .../src/components/sidebar.tsx | 1 + .../src/components/starknet-provider.tsx | 8 +- .../src/components/theme-switch.tsx | 48 +- .../src/dojo/models.ts | 77 --- .../src/dojo/provider.tsx | 2 +- .../example-vite-kitchen-sink/src/main.tsx | 4 +- .../src/typescript/contracts.gen.ts | 52 +- .../src/typescript/models.gen.ts | 29 +- examples/example-vite-react-sdk/src/App.tsx | 30 +- .../src/historical-events.tsx | 1 + .../src/typescript/contracts.gen.ts | 13 +- .../src/typescript/models.gen.ts | 64 ++- .../src/components/playground/action.tsx | 19 +- .../src/hooks/useSystemCalls.ts | 20 +- .../src/typescript/contracts.gen.ts | 13 +- .../src/typescript/models.gen.ts | 92 ++-- package.json | 16 +- packages/core/package.json | 6 +- pnpm-lock.yaml | 513 +++++++++++------- worlds/dojo-starter | 2 +- worlds/onchain-dash | 2 +- 27 files changed, 641 insertions(+), 541 deletions(-) create mode 100644 .changeset/dull-jeans-reply.md delete mode 100644 examples/example-vite-kitchen-sink/src/dojo/models.ts diff --git a/.changeset/dull-jeans-reply.md b/.changeset/dull-jeans-reply.md new file mode 100644 index 00000000..aff7bb97 --- /dev/null +++ b/.changeset/dull-jeans-reply.md @@ -0,0 +1,15 @@ +--- +"@dojoengine/core": patch +"@dojoengine/create-burner": patch +"@dojoengine/create-dojo": patch +"@dojoengine/predeployed-connector": patch +"@dojoengine/react": patch +"@dojoengine/sdk": patch +"@dojoengine/state": patch +"@dojoengine/torii-client": patch +"@dojoengine/torii-wasm": patch +"@dojoengine/utils": patch +"@dojoengine/utils-wasm": patch +--- + +Updated packages to latest dojo version // accept and convert array by @rsodre // add missing params for query and subscription by @rsodre // update starknet-core-version by @rsodre diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a524e528..90f0930b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -20,7 +20,7 @@ jobs: run: git submodule update --init --recursive - run: curl -L https://install.dojoengine.org | bash - - run: /home/runner/.config/.dojo/bin/dojoup -v v1.0.9 + - run: /home/runner/.config/.dojo/bin/dojoup -v v1.0.10 - run: | cd worlds/dojo-starter /home/runner/.config/.dojo/bin/sozo build diff --git a/examples/example-vite-kitchen-sink/src/app/page.tsx b/examples/example-vite-kitchen-sink/src/app/page.tsx index 18989e76..cd0b7e46 100644 --- a/examples/example-vite-kitchen-sink/src/app/page.tsx +++ b/examples/example-vite-kitchen-sink/src/app/page.tsx @@ -1,8 +1,3 @@ -import { useDojoDb } from "@/dojo/provider"; -import { useEffect, useState } from "react"; -import { OnchainDashSchemaType } from "@/dojo/models"; -import { SDK } from "@dojoengine/sdk"; -import { Subscription } from "@dojoengine/torii-client"; import GlobalCounter from "@/components/global-counter"; import CallerCounter from "@/components/caller-counter"; import Chat from "@/components/chat"; diff --git a/examples/example-vite-kitchen-sink/src/components/caller-counter.tsx b/examples/example-vite-kitchen-sink/src/components/caller-counter.tsx index ff4b4e73..1774111e 100644 --- a/examples/example-vite-kitchen-sink/src/components/caller-counter.tsx +++ b/examples/example-vite-kitchen-sink/src/components/caller-counter.tsx @@ -1,19 +1,20 @@ import { useCallback, useEffect, useState } from "react"; import { Button } from "./ui/button"; -import { useAccount, useContractWrite } from "@starknet-react/core"; +import { useAccount, useSendTransaction } from "@starknet-react/core"; import { useDojoDb } from "@/dojo/provider"; import { ensureStarkFelt } from "@/lib/utils"; -import { SDK } from "@dojoengine/sdk"; -import { OnchainDashSchemaType } from "@/dojo/models"; +import { ParsedEntity, QueryBuilder, SDK } from "@dojoengine/sdk"; import { Subscription } from "@dojoengine/torii-wasm"; import { dojoConfig } from "@/../dojoConfig"; +import { SchemaType } from "@/typescript/models.gen"; +import { addAddressPadding } from "starknet"; export default function CallerCounter() { const [count, setCount] = useState(0); const [isLoading, setIsLoading] = useState(false); const [sub, setSub] = useState(null); const { address } = useAccount(); - const { write: incrementCallerCounter } = useContractWrite({ + const { send: incrementCallerCounter } = useSendTransaction({ calls: [ { contractAddress: dojoConfig.manifest.contracts[0].address, @@ -30,25 +31,18 @@ export default function CallerCounter() { const { db } = useDojoDb(); useEffect(() => { - async function getEntity( - db: SDK, - address: string - ) { + async function getEntity(db: SDK, address: string) { const entity = await db.getEntities({ - query: { - onchain_dash: { - CallerCounter: { - $: { - where: { - caller: { $eq: ensureStarkFelt(address) }, - }, - }, - }, - }, - }, + query: new QueryBuilder() + .namespace("onchain_dash", (n) => + n.entity("CallerCounter", (e) => + e.eq("caller", addAddressPadding(address)) + ) + ) + .build(), callback: () => {}, }); - const counter = entity.pop(); + const counter = entity.pop() as ParsedEntity; if (!counter) { return 0; } @@ -66,25 +60,20 @@ export default function CallerCounter() { useEffect(() => { async function subscribeToEntityUpdates( - db: SDK, + db: SDK, address: string ) { const sub = await db.subscribeEntityQuery({ - // @ts-expect-error $eq is working there - query: { - onchain_dash: { - CallerCounter: { - $: { - where: { - caller: { $eq: ensureStarkFelt(address) }, - }, - }, - }, - }, - }, + query: new QueryBuilder() + .namespace("onchain_dash", (n) => + n.entity("CallerCounter", (e) => + e.eq("caller", addAddressPadding(address)) + ) + ) + .build(), callback: ({ data, error }) => { if (data) { - const entity = data.pop(); + const entity = data.pop() as ParsedEntity; if (!entity) { return; } diff --git a/examples/example-vite-kitchen-sink/src/components/chat.tsx b/examples/example-vite-kitchen-sink/src/components/chat.tsx index 69177c2c..bb13bd61 100644 --- a/examples/example-vite-kitchen-sink/src/components/chat.tsx +++ b/examples/example-vite-kitchen-sink/src/components/chat.tsx @@ -8,10 +8,10 @@ import { useForm } from "react-hook-form"; import { useDojoDb } from "@/dojo/provider"; import { useAccount } from "@starknet-react/core"; import { toValidAscii } from "@/lib/utils"; -import { SDK } from "@dojoengine/sdk"; -import { Message, OnchainDashSchemaType } from "@/dojo/models"; +import { ParsedEntity, SDK } from "@dojoengine/sdk"; import { Subscription } from "@dojoengine/torii-wasm"; import { shortAddress } from "@/lib/utils"; +import { Message, SchemaType } from "@/typescript/models.gen"; interface MessageItem { content: string; @@ -61,7 +61,7 @@ export default function Chat() { ); useEffect(() => { - async function getEntity(db: SDK) { + async function getEntity(db: SDK) { const entity = await db.getEntities({ query: { onchain_dash: { Message: { $: {} } }, @@ -69,16 +69,18 @@ export default function Chat() { callback: () => {}, }); - // @ts-expect-error a & b are not undefined as they are filtered out with `filer(Boolean)` - return entity - .map((e) => e.models.onchain_dash.Message) - .filter(Boolean) - .sort((a: Message, b: Message): number => - parseInt(a.timestamp.toString(), 16) < - parseInt(b.timestamp.toString(), 16) - ? -1 - : 1 - ); + return ( + entity + .map((e) => e.models.onchain_dash.Message) + .filter(Boolean) + // @ts-expect-error a & b are not undefined as they are filtered out with `filer(Boolean)` + .sort((a: Message, b: Message): number => + parseInt(a.timestamp.toString(), 16) < + parseInt(b.timestamp.toString(), 16) + ? -1 + : 1 + ) + ); } if (db && messages.length === 0 && sub === null) { // @ts-expect-error ts is getting drunk there @@ -87,16 +89,14 @@ export default function Chat() { }, [db, messages, sub]); useEffect(() => { - async function subscribeToEntityUpdates( - db: SDK - ) { + async function subscribeToEntityUpdates(db: SDK) { const sub = await db.subscribeEntityQuery({ query: { onchain_dash: { Message: { $: {} } }, }, callback: ({ data }) => { if (data) { - const entity = data.pop(); + const entity = data.pop() as ParsedEntity; if (!entity) { return; } @@ -104,7 +104,10 @@ export default function Chat() { if (msg === undefined) { return; } - setMessages((prevMessages) => [...prevMessages, msg]); + setMessages((prevMessages) => [ + ...prevMessages, + msg as MessageItem, + ]); } }, }); diff --git a/examples/example-vite-kitchen-sink/src/components/global-counter.tsx b/examples/example-vite-kitchen-sink/src/components/global-counter.tsx index 041acb2d..05e6f398 100644 --- a/examples/example-vite-kitchen-sink/src/components/global-counter.tsx +++ b/examples/example-vite-kitchen-sink/src/components/global-counter.tsx @@ -1,17 +1,18 @@ import { useCallback, useEffect, useState } from "react"; import { Button } from "./ui/button"; -import { useContractWrite } from "@starknet-react/core"; +import { useSendTransaction } from "@starknet-react/core"; import { useDojoDb } from "@/dojo/provider"; -import { SDK } from "@dojoengine/sdk"; -import { OnchainDashSchemaType } from "@/dojo/models"; +import { ParsedEntity, QueryBuilder, SDK } from "@dojoengine/sdk"; import { Subscription } from "@dojoengine/torii-wasm"; import { dojoConfig } from "@/../dojoConfig"; +import { SchemaType } from "@/typescript/models.gen"; +import { addAddressPadding } from "starknet"; export default function GlobalCOunter() { const [count, setCount] = useState(0); const [isLoading, setIsLoading] = useState(false); const [sub, setSub] = useState(null); - const { write: incrementGlobalCounter } = useContractWrite({ + const { send: incrementGlobalCounter } = useSendTransaction({ calls: [ { contractAddress: dojoConfig.manifest.contracts[0].address, @@ -28,21 +29,19 @@ export default function GlobalCOunter() { const { db } = useDojoDb(); useEffect(() => { - async function getEntity(db: SDK) { + async function getEntity(db: SDK) { const entity = await db.getEntities({ - query: { - onchain_dash: { - GlobalCounter: { - $: { - where: { global_counter_key: { $eq: 9999999 } }, - }, - }, - }, - }, + query: new QueryBuilder() + .namespace("onchain_dash", (n) => + n.entity("GlobalCounter", (e) => + e.eq("global_counter_key", 9999999) + ) + ) + .build(), callback: ({ data, error }) => {}, }); - const counter = entity.pop(); + const counter = entity.pop() as ParsedEntity; if (!counter) { return 0; } @@ -59,23 +58,18 @@ export default function GlobalCOunter() { }, [db]); useEffect(() => { - async function subscribeToEntityUpdates( - db: SDK - ) { + async function subscribeToEntityUpdates(db: SDK) { const sub = await db.subscribeEntityQuery({ - query: { - // @ts-expect-error $eq is working there - onchain_dash: { - GlobalCounter: { - $: { - where: { global_counter_key: { $eq: 9999999 } }, - }, - }, - }, - }, + query: new QueryBuilder() + .namespace("onchain_dash", (n) => + n.entity("GlobalCounter", (e) => + e.eq("global_counter_key", 9999999) + ) + ) + .build(), callback: ({ data, error }) => { if (data) { - const entity = data.pop(); + const entity = data.pop() as ParsedEntity; if (!entity) { return; } diff --git a/examples/example-vite-kitchen-sink/src/components/sidebar.tsx b/examples/example-vite-kitchen-sink/src/components/sidebar.tsx index 64f81e4e..119f09bf 100644 --- a/examples/example-vite-kitchen-sink/src/components/sidebar.tsx +++ b/examples/example-vite-kitchen-sink/src/components/sidebar.tsx @@ -167,6 +167,7 @@ export default function Sidebar() { >
{`${connector.name}`}({ @@ -44,8 +53,12 @@ export default function ThemeSwitchButton() { async (theme: AvailableTheme) => { setIsLoading(true); actions?.actions.changeTheme( - account, - new CairoCustomEnum({ Predefined: theme }) + account!, + new CairoCustomEnum({ + Predefined: new CairoCustomEnum({ + [AvailableThemeEnumValues[theme]]: "()", + }), + }) ); }, [actions, account] @@ -54,21 +67,19 @@ export default function ThemeSwitchButton() { useEffect(() => { async function getEntity(db: SDK): Promise { const entity = await db.getEntities({ - query: { - onchain_dash: { - Theme: { - $: { where: { theme_key: { $eq: 9999999 } } }, - }, - }, - }, + query: new QueryBuilder() + .namespace("onchain_dash", (n) => + n.entity("Theme", (e) => e.eq("theme_key", 9999999)) + ) + .build(), callback: () => {}, }); - const counter = entity.pop(); + const counter = entity.pop() as ParsedEntity; if (!counter) { return AvailableTheme.Light; } - const theme = counter.models?.onchain_dash?.Theme?.value.unwrap(); + const theme = counter.models?.onchain_dash?.Theme?.value?.unwrap(); setEntityId(counter.entityId); if (undefined === theme) { return AvailableTheme.Light; @@ -95,7 +106,7 @@ export default function ThemeSwitchButton() { query: [entityId], callback: ({ data, error }) => { if (data) { - const entity = data.pop(); + const entity = data.pop() as ParsedEntity; if (!entity) { return AvailableTheme.Light; } @@ -109,14 +120,15 @@ export default function ThemeSwitchButton() { entity.models?.onchain_dash?.Theme?.value.unwrap(); const at = AvailableTheme[theme]; - // @ts-expect-error this resooves to enum value setTheme({ + // @ts-expect-error this is ok current: AvailableThemeClassMap[at], + // @ts-expect-error this is ok next: AvailableThemeClassMap[at], }); setIsLoading(false); return AvailableTheme[ - entity.models.onchain_dash.Theme.value + entity.models.onchain_dash.Theme.value.unwrap() ]; } if (error) { diff --git a/examples/example-vite-kitchen-sink/src/dojo/models.ts b/examples/example-vite-kitchen-sink/src/dojo/models.ts deleted file mode 100644 index 48f79944..00000000 --- a/examples/example-vite-kitchen-sink/src/dojo/models.ts +++ /dev/null @@ -1,77 +0,0 @@ -import type { SchemaType } from "@dojoengine/sdk"; -import { CairoOption, CairoOptionVariant } from "starknet"; - -export interface GlobalCounter { - fieldOrder: string[]; - counter: number; - global_counter_key: number; -} -export interface CallerCounter { - fieldOrder: string[]; - counter: number; - caller: string; - timestamp: CairoOption; -} -export interface Theme { - fieldOrder: string[]; - theme_key: number; - value: AvailableTheme; - caller: string; - timestamp: number; -} -export interface Message { - fieldOrder: string[]; - identity: string; - content: string; - timestamp: number; -} - -export enum AvailableTheme { - Light, - Dark, - Dojo, -} - -export const AvailableThemeClassMap: Record = { - 0: "light", - 1: "dark", - 2: "dojo", -}; - -export interface OnchainDashSchemaType extends SchemaType { - onchain_dash: { - GlobalCounter: GlobalCounter; - CallerCounter: CallerCounter; - Theme: Theme; - Message: Message; - }; -} - -export const schema: OnchainDashSchemaType = { - onchain_dash: { - GlobalCounter: { - fieldOrder: ["counter", "global_counter_key"], - counter: 0, - global_counter_key: 9999999, - }, - CallerCounter: { - fieldOrder: ["counter", "caller"], - counter: 0, - caller: "", - timestamp: new CairoOption(CairoOptionVariant.None), - }, - Theme: { - fieldOrder: ["theme_key", "value", "caller", "timestamp"], - theme_key: 9999999, - value: AvailableTheme.Light, - caller: "", - timestamp: 0, - }, - Message: { - fieldOrder: ["identity", "content", "timestamp"], - identity: "", - content: "", - timestamp: 0, - }, - }, -}; diff --git a/examples/example-vite-kitchen-sink/src/dojo/provider.tsx b/examples/example-vite-kitchen-sink/src/dojo/provider.tsx index 11e3f56a..3f94b385 100644 --- a/examples/example-vite-kitchen-sink/src/dojo/provider.tsx +++ b/examples/example-vite-kitchen-sink/src/dojo/provider.tsx @@ -11,7 +11,7 @@ export function useDojoDb() { export interface DojoContextInterface { db?: SDK; provider?: DojoProvider; - actions?: typeof setupWorld; + actions?: ReturnType; } export const DojoContext = createContext({ diff --git a/examples/example-vite-kitchen-sink/src/main.tsx b/examples/example-vite-kitchen-sink/src/main.tsx index 685f1685..433a0aa0 100644 --- a/examples/example-vite-kitchen-sink/src/main.tsx +++ b/examples/example-vite-kitchen-sink/src/main.tsx @@ -7,15 +7,15 @@ import Home from "./app/page"; import "./app/globals.css"; import { init } from "@dojoengine/sdk"; -import { OnchainDashSchemaType, schema } from "@/dojo/models"; import { env, getRpcUrl } from "@/env"; import { dojoConfig } from "../dojoConfig"; import { DojoContext } from "@/dojo/provider"; import { DojoProvider } from "@dojoengine/core"; import { setupWorld } from "./typescript/contracts.gen"; +import { SchemaType, schema } from "./typescript/models.gen"; async function main() { - const db = await init( + const db = await init( { client: { rpcUrl: getRpcUrl(), diff --git a/examples/example-vite-kitchen-sink/src/typescript/contracts.gen.ts b/examples/example-vite-kitchen-sink/src/typescript/contracts.gen.ts index 74936464..3deea43f 100644 --- a/examples/example-vite-kitchen-sink/src/typescript/contracts.gen.ts +++ b/examples/example-vite-kitchen-sink/src/typescript/contracts.gen.ts @@ -1,30 +1,25 @@ -import { DojoProvider } from "@dojoengine/core"; -import { - Account, - AccountInterface, - BigNumberish, - CairoOption, - CairoCustomEnum, - ByteArray, -} from "starknet"; -import * as models from "./models.gen"; +import { DojoProvider, DojoCall } from "@dojoengine/core"; +import { Account, AccountInterface, CairoCustomEnum } from "starknet"; export function setupWorld(provider: DojoProvider) { - const build_actions_incrementGlobalCounter_calldata = () => { + const build_actions_changeTheme_calldata = ( + value: CairoCustomEnum + ): DojoCall => { return { contractName: "actions", - entrypoint: "increment_global_counter", - calldata: [], + entrypoint: "change_theme", + calldata: [value], }; }; - const actions_incrementGlobalCounter = async ( - snAccount: Account | AccountInterface + const actions_changeTheme = async ( + snAccount: Account | AccountInterface, + value: CairoCustomEnum ) => { try { return await provider.execute( snAccount, - build_actions_incrementGlobalCounter_calldata(), + build_actions_changeTheme_calldata(value), "onchain_dash" ); } catch (error) { @@ -33,7 +28,7 @@ export function setupWorld(provider: DojoProvider) { } }; - const build_actions_incrementCallerCounter_calldata = () => { + const build_actions_incrementCallerCounter_calldata = (): DojoCall => { return { contractName: "actions", entrypoint: "increment_caller_counter", @@ -56,22 +51,21 @@ export function setupWorld(provider: DojoProvider) { } }; - const build_actions_changeTheme_calldata = (value: CairoCustomEnum) => { + const build_actions_incrementGlobalCounter_calldata = (): DojoCall => { return { contractName: "actions", - entrypoint: "change_theme", - calldata: [value], + entrypoint: "increment_global_counter", + calldata: [], }; }; - const actions_changeTheme = async ( - snAccount: Account | AccountInterface, - value: CairoCustomEnum + const actions_incrementGlobalCounter = async ( + snAccount: Account | AccountInterface ) => { try { return await provider.execute( snAccount, - build_actions_changeTheme_calldata(value), + build_actions_incrementGlobalCounter_calldata(), "onchain_dash" ); } catch (error) { @@ -82,14 +76,14 @@ export function setupWorld(provider: DojoProvider) { return { actions: { - incrementGlobalCounter: actions_incrementGlobalCounter, - buildIncrementGlobalCounterCalldata: - build_actions_incrementGlobalCounter_calldata, + changeTheme: actions_changeTheme, + buildChangeThemeCalldata: build_actions_changeTheme_calldata, incrementCallerCounter: actions_incrementCallerCounter, buildIncrementCallerCounterCalldata: build_actions_incrementCallerCounter_calldata, - changeTheme: actions_changeTheme, - buildChangeThemeCalldata: build_actions_changeTheme_calldata, + incrementGlobalCounter: actions_incrementGlobalCounter, + buildIncrementGlobalCounterCalldata: + build_actions_incrementGlobalCounter_calldata, }, }; } diff --git a/examples/example-vite-kitchen-sink/src/typescript/models.gen.ts b/examples/example-vite-kitchen-sink/src/typescript/models.gen.ts index c0962e0e..91a64b51 100644 --- a/examples/example-vite-kitchen-sink/src/typescript/models.gen.ts +++ b/examples/example-vite-kitchen-sink/src/typescript/models.gen.ts @@ -66,15 +66,16 @@ export interface ThemeValue { } // Type definition for `onchain_dash::models::AvailableTheme` enum -export enum AvailableTheme { - Light, - Dark, - Dojo, -} +export type AvailableTheme = { + Light: string; + Dark: string; + Dojo: string; +}; +export type AvailableThemeEnum = CairoCustomEnum; // Type definition for `onchain_dash::models::DashboardTheme` enum export type DashboardTheme = { - Predefined: AvailableTheme; + Predefined: AvailableThemeEnum; Custom: CustomTheme; }; export type DashboardThemeEnum = CairoCustomEnum; @@ -132,8 +133,12 @@ export const schema: SchemaType = { fieldOrder: ["theme_key", "value", "caller", "timestamp"], theme_key: 0, value: new CairoCustomEnum({ - Predefined: AvailableTheme.Light, - custom: undefined, + Predefined: new CairoCustomEnum({ + Light: "", + Dark: undefined, + Dojo: undefined, + }), + Custom: undefined, }), caller: "", timestamp: 0, @@ -141,8 +146,12 @@ export const schema: SchemaType = { ThemeValue: { fieldOrder: ["value", "caller", "timestamp"], value: new CairoCustomEnum({ - Predefined: AvailableTheme.Light, - custom: undefined, + Predefined: new CairoCustomEnum({ + Light: "", + Dark: undefined, + Dojo: undefined, + }), + Custom: undefined, }), caller: "", timestamp: 0, diff --git a/examples/example-vite-react-sdk/src/App.tsx b/examples/example-vite-react-sdk/src/App.tsx index 89ddc8a4..fd73ad75 100644 --- a/examples/example-vite-react-sdk/src/App.tsx +++ b/examples/example-vite-react-sdk/src/App.tsx @@ -6,13 +6,9 @@ import { createDojoStore, } from "@dojoengine/sdk"; import { getEntityIdFromKeys } from "@dojoengine/utils"; -import { AccountInterface, addAddressPadding } from "starknet"; +import { AccountInterface, addAddressPadding, CairoCustomEnum } from "starknet"; -import { - Direction, - ModelsMapping, - SchemaType, -} from "./typescript/models.gen.ts"; +import { ModelsMapping, SchemaType } from "./typescript/models.gen.ts"; import { useDojo } from "./useDojo.tsx"; import useModel from "./useModel.tsx"; import { useSystemCalls } from "./useSystemCalls.ts"; @@ -164,6 +160,7 @@ function App({ sdk }: { sdk: SDK }) { : "Need to Spawn"}
+ {/* @ts-expect-error we have an option here so type is ok */} {moves && moves.last_direction.isSome() ? moves.last_direction.unwrap() : ""} @@ -175,29 +172,37 @@ function App({ sdk }: { sdk: SDK }) {
{[ { - direction: Direction.Up, + direction: new CairoCustomEnum({ + Up: "()", + }), label: "↑", col: "col-start-2", }, { - direction: Direction.Left, + direction: new CairoCustomEnum({ + Left: "()", + }), label: "←", col: "col-start-1", }, { - direction: Direction.Right, + direction: new CairoCustomEnum({ + Right: "()", + }), label: "→", col: "col-start-3", }, { - direction: Direction.Down, + direction: new CairoCustomEnum({ + Down: "()", + }), label: "↓", col: "col-start-2", }, - ].map(({ direction, label, col }) => ( + ].map(({ direction, label, col }, idx) => (
diff --git a/examples/example-vite-react-sdk/src/typescript/contracts.gen.ts b/examples/example-vite-react-sdk/src/typescript/contracts.gen.ts index aeffdc60..5fc335f9 100644 --- a/examples/example-vite-react-sdk/src/typescript/contracts.gen.ts +++ b/examples/example-vite-react-sdk/src/typescript/contracts.gen.ts @@ -1,9 +1,10 @@ -import { DojoProvider } from "@dojoengine/core"; -import { Account, AccountInterface } from "starknet"; -import * as models from "./models.gen"; +import { DojoProvider, DojoCall } from "@dojoengine/core"; +import { Account, AccountInterface, CairoCustomEnum } from "starknet"; export function setupWorld(provider: DojoProvider) { - const build_actions_move_calldata = (direction: models.Direction) => { + const build_actions_move_calldata = ( + direction: CairoCustomEnum + ): DojoCall => { return { contractName: "actions", entrypoint: "move", @@ -13,7 +14,7 @@ export function setupWorld(provider: DojoProvider) { const actions_move = async ( snAccount: Account | AccountInterface, - direction: models.Direction + direction: CairoCustomEnum ) => { try { return await provider.execute( @@ -27,7 +28,7 @@ export function setupWorld(provider: DojoProvider) { } }; - const build_actions_spawn_calldata = () => { + const build_actions_spawn_calldata = (): DojoCall => { return { contractName: "actions", entrypoint: "spawn", diff --git a/examples/example-vite-react-sdk/src/typescript/models.gen.ts b/examples/example-vite-react-sdk/src/typescript/models.gen.ts index 004351f6..497a5988 100644 --- a/examples/example-vite-react-sdk/src/typescript/models.gen.ts +++ b/examples/example-vite-react-sdk/src/typescript/models.gen.ts @@ -1,32 +1,37 @@ import type { SchemaType as ISchemaType } from "@dojoengine/sdk"; -import { CairoOption, CairoOptionVariant, BigNumberish } from "starknet"; +import { + CairoCustomEnum, + CairoOption, + CairoOptionVariant, + BigNumberish, +} from "starknet"; type WithFieldOrder = T & { fieldOrder: string[] }; // Type definition for `dojo_starter::models::DirectionsAvailable` struct export interface DirectionsAvailable { player: string; - directions: Array; + directions: Array; } // Type definition for `dojo_starter::models::DirectionsAvailableValue` struct export interface DirectionsAvailableValue { - directions: Array; + directions: Array; } // Type definition for `dojo_starter::models::Moves` struct export interface Moves { player: string; remaining: BigNumberish; - last_direction: CairoOption; + last_direction: CairoOption; can_move: boolean; } // Type definition for `dojo_starter::models::MovesValue` struct export interface MovesValue { remaining: BigNumberish; - last_direction: CairoOption; + last_direction: CairoOption; can_move: boolean; } @@ -50,21 +55,22 @@ export interface Vec2 { // Type definition for `dojo_starter::systems::actions::actions::Moved` struct export interface Moved { player: string; - direction: Direction; + direction: DirectionEnum; } // Type definition for `dojo_starter::systems::actions::actions::MovedValue` struct export interface MovedValue { - direction: Direction; + direction: DirectionEnum; } // Type definition for `dojo_starter::models::Direction` enum -export enum Direction { - Left, - Right, - Up, - Down, -} +export type Direction = { + Left: string; + Right: string; + Up: string; + Down: string; +}; +export type DirectionEnum = CairoCustomEnum; export interface SchemaType extends ISchemaType { dojo_starter: { @@ -84,11 +90,25 @@ export const schema: SchemaType = { DirectionsAvailable: { fieldOrder: ["player", "directions"], player: "", - directions: [Direction.Left], + directions: [ + new CairoCustomEnum({ + Left: "", + Right: undefined, + Up: undefined, + Down: undefined, + }), + ], }, DirectionsAvailableValue: { fieldOrder: ["directions"], - directions: [Direction.Left], + directions: [ + new CairoCustomEnum({ + Left: "", + Right: undefined, + Up: undefined, + Down: undefined, + }), + ], }, Moves: { fieldOrder: ["player", "remaining", "last_direction", "can_move"], @@ -120,11 +140,21 @@ export const schema: SchemaType = { Moved: { fieldOrder: ["player", "direction"], player: "", - direction: Direction.Left, + direction: new CairoCustomEnum({ + Left: "", + Right: undefined, + Up: undefined, + Down: undefined, + }), }, MovedValue: { fieldOrder: ["direction"], - direction: Direction.Left, + direction: new CairoCustomEnum({ + Left: "", + Right: undefined, + Up: undefined, + Down: undefined, + }), }, }, }; diff --git a/examples/example-vite-react-sql/src/components/playground/action.tsx b/examples/example-vite-react-sql/src/components/playground/action.tsx index c7aff4ec..6f75bda0 100644 --- a/examples/example-vite-react-sql/src/components/playground/action.tsx +++ b/examples/example-vite-react-sql/src/components/playground/action.tsx @@ -1,10 +1,11 @@ import { useModel } from "@/hooks/useModel"; import { usePlayerActions } from "@/hooks/usePlayerActions"; -import { Direction, ModelsMapping } from "@/typescript/models.gen"; +import { ModelsMapping } from "@/typescript/models.gen"; import { useAccount } from "@starknet-react/core"; import { Button } from "../ui/button"; import { useSystemCalls } from "@/hooks/useSystemCalls"; import { cn } from "@/lib/utils"; +import { CairoCustomEnum } from "starknet"; const containerClass = "min-h-[150px]"; @@ -36,25 +37,33 @@ export function PlayerActions() {
diff --git a/examples/example-vite-react-sql/src/hooks/useSystemCalls.ts b/examples/example-vite-react-sql/src/hooks/useSystemCalls.ts index f1a1643e..2e5c400b 100644 --- a/examples/example-vite-react-sql/src/hooks/useSystemCalls.ts +++ b/examples/example-vite-react-sql/src/hooks/useSystemCalls.ts @@ -3,8 +3,12 @@ import { v4 as uuidv4 } from "uuid"; import { useDojoStore } from "./useDojoStore"; import { DojoContext } from "@/dojo-sdk-provider"; import { useAccount } from "@starknet-react/core"; -import { BigNumberish } from "starknet"; -import { Direction } from "@/typescript/models.gen"; +import { + BigNumberish, + CairoCustomEnum, + CairoOption, + CairoOptionVariant, +} from "starknet"; export function useSystemCalls(entityId: BigNumberish) { const { account } = useAccount(); @@ -54,17 +58,18 @@ export function useSystemCalls(entityId: BigNumberish) { }, [state, account, client]); const move = useCallback( - async (direction: Direction) => { + async (direction: CairoCustomEnum) => { const transactionId = uuidv4(); state.applyOptimisticUpdate(transactionId, (draft) => { if ( draft.entities[entityId.toString()]?.models?.dojo_starter ?.Moves ) { - // @ts-expect-error object is not undefined, I checked it just above bro + // @ts-expect-error this is literrally the condition above calm down typescript draft.entities[ entityId.toString() - ].models.dojo_starter.Moves.last_direction = direction; + ].models.dojo_starter.Moves.last_direction = + new CairoOption(CairoOptionVariant.Some, direction); } }); @@ -75,10 +80,9 @@ export function useSystemCalls(entityId: BigNumberish) { (entity) => { const result = entity?.models?.dojo_starter?.Moves?.last_direction?.isSome() && - // TODO: handle proper conversion to enum in sdk enum Parsing - // @ts-expect-error torii returns enum variant as string, so we have to make some weird type mapping here + // @ts-expect-error inner enum is not hydrated there entity?.models?.dojo_starter?.Moves?.last_direction - ?.Some === Direction.toString(direction); + ?.Some === direction.activeVariant(); // cast result to boolean return !!result; } diff --git a/examples/example-vite-react-sql/src/typescript/contracts.gen.ts b/examples/example-vite-react-sql/src/typescript/contracts.gen.ts index aeffdc60..5fc335f9 100644 --- a/examples/example-vite-react-sql/src/typescript/contracts.gen.ts +++ b/examples/example-vite-react-sql/src/typescript/contracts.gen.ts @@ -1,9 +1,10 @@ -import { DojoProvider } from "@dojoengine/core"; -import { Account, AccountInterface } from "starknet"; -import * as models from "./models.gen"; +import { DojoProvider, DojoCall } from "@dojoengine/core"; +import { Account, AccountInterface, CairoCustomEnum } from "starknet"; export function setupWorld(provider: DojoProvider) { - const build_actions_move_calldata = (direction: models.Direction) => { + const build_actions_move_calldata = ( + direction: CairoCustomEnum + ): DojoCall => { return { contractName: "actions", entrypoint: "move", @@ -13,7 +14,7 @@ export function setupWorld(provider: DojoProvider) { const actions_move = async ( snAccount: Account | AccountInterface, - direction: models.Direction + direction: CairoCustomEnum ) => { try { return await provider.execute( @@ -27,7 +28,7 @@ export function setupWorld(provider: DojoProvider) { } }; - const build_actions_spawn_calldata = () => { + const build_actions_spawn_calldata = (): DojoCall => { return { contractName: "actions", entrypoint: "spawn", diff --git a/examples/example-vite-react-sql/src/typescript/models.gen.ts b/examples/example-vite-react-sql/src/typescript/models.gen.ts index a3eadba8..497a5988 100644 --- a/examples/example-vite-react-sql/src/typescript/models.gen.ts +++ b/examples/example-vite-react-sql/src/typescript/models.gen.ts @@ -1,32 +1,37 @@ import type { SchemaType as ISchemaType } from "@dojoengine/sdk"; -import { CairoOption, CairoOptionVariant, BigNumberish } from "starknet"; +import { + CairoCustomEnum, + CairoOption, + CairoOptionVariant, + BigNumberish, +} from "starknet"; type WithFieldOrder = T & { fieldOrder: string[] }; // Type definition for `dojo_starter::models::DirectionsAvailable` struct export interface DirectionsAvailable { player: string; - directions: Array; + directions: Array; } // Type definition for `dojo_starter::models::DirectionsAvailableValue` struct export interface DirectionsAvailableValue { - directions: Array; + directions: Array; } // Type definition for `dojo_starter::models::Moves` struct export interface Moves { player: string; remaining: BigNumberish; - last_direction: CairoOption; + last_direction: CairoOption; can_move: boolean; } // Type definition for `dojo_starter::models::MovesValue` struct export interface MovesValue { remaining: BigNumberish; - last_direction: CairoOption; + last_direction: CairoOption; can_move: boolean; } @@ -50,49 +55,22 @@ export interface Vec2 { // Type definition for `dojo_starter::systems::actions::actions::Moved` struct export interface Moved { player: string; - direction: Direction; + direction: DirectionEnum; } // Type definition for `dojo_starter::systems::actions::actions::MovedValue` struct export interface MovedValue { - direction: Direction; + direction: DirectionEnum; } // Type definition for `dojo_starter::models::Direction` enum -export enum Direction { - Left, - Right, - Up, - Down, -} -export namespace Direction { - export function toString(d: Direction): string { - switch (d) { - case Direction.Left: - return "Left"; - case Direction.Right: - return "Right"; - case Direction.Up: - return "Up"; - case Direction.Down: - return "Down"; - } - } - export function parse(d: string): Direction { - switch (d) { - case "Left": - return Direction.Left; - case "Right": - return Direction.Right; - case "Up": - return Direction.Up; - case "Down": - return Direction.Down; - default: - throw new Error("Unsupported direction"); - } - } -} +export type Direction = { + Left: string; + Right: string; + Up: string; + Down: string; +}; +export type DirectionEnum = CairoCustomEnum; export interface SchemaType extends ISchemaType { dojo_starter: { @@ -112,11 +90,25 @@ export const schema: SchemaType = { DirectionsAvailable: { fieldOrder: ["player", "directions"], player: "", - directions: [Direction.Left], + directions: [ + new CairoCustomEnum({ + Left: "", + Right: undefined, + Up: undefined, + Down: undefined, + }), + ], }, DirectionsAvailableValue: { fieldOrder: ["directions"], - directions: [Direction.Left], + directions: [ + new CairoCustomEnum({ + Left: "", + Right: undefined, + Up: undefined, + Down: undefined, + }), + ], }, Moves: { fieldOrder: ["player", "remaining", "last_direction", "can_move"], @@ -148,11 +140,21 @@ export const schema: SchemaType = { Moved: { fieldOrder: ["player", "direction"], player: "", - direction: Direction.Left, + direction: new CairoCustomEnum({ + Left: "", + Right: undefined, + Up: undefined, + Down: undefined, + }), }, MovedValue: { fieldOrder: ["direction"], - direction: Direction.Left, + direction: new CairoCustomEnum({ + Left: "", + Right: undefined, + Up: undefined, + Down: undefined, + }), }, }, }; diff --git a/package.json b/package.json index 2eb70ef6..67e2b780 100644 --- a/package.json +++ b/package.json @@ -11,16 +11,16 @@ "prepare": "husky install" }, "devDependencies": { - "@commitlint/cli": "^18.4.4", - "@commitlint/config-conventional": "^18.4.4", - "@ianvs/prettier-plugin-sort-imports": "^4.3.1", - "@typhonjs-typedoc/typedoc-theme-dmt": "^0.2.1", + "@commitlint/cli": "^18.6.1", + "@commitlint/config-conventional": "^18.6.3", + "@ianvs/prettier-plugin-sort-imports": "^4.4.1", + "@typhonjs-typedoc/typedoc-theme-dmt": "^0.2.3", "husky": "^9.1.7", "lerna": "^8.1.9", - "prettier": "^3.3.3", - "tsup": "^8.1.0", - "typedoc": "^0.26.7", - "typedoc-plugin-coverage": "^3.3.0" + "prettier": "^3.4.2", + "tsup": "^8.3.5", + "typedoc": "^0.26.11", + "typedoc-plugin-coverage": "^3.4.1" }, "dependencies": { "@changesets/cli": "^2.27.11" diff --git a/packages/core/package.json b/packages/core/package.json index d91dc132..c0d4729c 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -16,9 +16,6 @@ "types": "./dist/index.d.ts" } }, - "peerDependencies": { - "starknet": "catalog:" - }, "devDependencies": { "@dojoengine/torii-client": "workspace:*", "@types/elliptic": "^6.4.18", @@ -29,7 +26,8 @@ }, "dependencies": { "@dojoengine/recs": "2.0.13", - "zod": "^3.23.8" + "zod": "^3.23.8", + "starknet": "catalog:" }, "bin": { "create-components": "./dist/bin/generateComponents.cjs" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d79dd3ff..fb95f852 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -28,17 +28,17 @@ importers: version: 2.27.11 devDependencies: '@commitlint/cli': - specifier: ^18.4.4 - version: 18.6.1(@types/node@22.10.5)(typescript@5.7.2) + specifier: ^18.6.1 + version: 18.6.1(@types/node@22.10.5)(typescript@5.7.3) '@commitlint/config-conventional': - specifier: ^18.4.4 + specifier: ^18.6.3 version: 18.6.3 '@ianvs/prettier-plugin-sort-imports': - specifier: ^4.3.1 - version: 4.4.0(@vue/compiler-sfc@3.5.13)(prettier@3.4.2) + specifier: ^4.4.1 + version: 4.4.1(@vue/compiler-sfc@3.5.13)(prettier@3.4.2) '@typhonjs-typedoc/typedoc-theme-dmt': - specifier: ^0.2.1 - version: 0.2.3(typedoc@0.26.11(typescript@5.7.2)) + specifier: ^0.2.3 + version: 0.2.3(typedoc@0.26.11(typescript@5.7.3)) husky: specifier: ^9.1.7 version: 9.1.7 @@ -46,17 +46,17 @@ importers: specifier: ^8.1.9 version: 8.1.9(@swc/core@1.10.6(@swc/helpers@0.5.5))(encoding@0.1.13) prettier: - specifier: ^3.3.3 + specifier: ^3.4.2 version: 3.4.2 tsup: - specifier: ^8.1.0 - version: 8.3.5(@swc/core@1.10.6(@swc/helpers@0.5.5))(jiti@2.4.2)(postcss@8.4.49)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.7.0) + specifier: ^8.3.5 + version: 8.3.5(@swc/core@1.10.6(@swc/helpers@0.5.5))(jiti@2.4.2)(postcss@8.4.49)(tsx@4.19.2)(typescript@5.7.3)(yaml@2.7.0) typedoc: - specifier: ^0.26.7 - version: 0.26.11(typescript@5.7.2) + specifier: ^0.26.11 + version: 0.26.11(typescript@5.7.3) typedoc-plugin-coverage: - specifier: ^3.3.0 - version: 3.4.0(typedoc@0.26.11(typescript@5.7.2)) + specifier: ^3.4.1 + version: 3.4.1(typedoc@0.26.11(typescript@5.7.3)) examples/example-nodejs-bot: dependencies: @@ -1681,6 +1681,10 @@ packages: resolution: {integrity: sha512-6FF/urZvD0sTeO7k6/B15pMLC4CHUv1426lzr3N01aHJTl046uCAh9LXW/fzeXXjPNCJ6iABW5XaWOsIZB93aQ==} engines: {node: '>=6.9.0'} + '@babel/generator@7.26.5': + resolution: {integrity: sha512-2caSP6fN9I7HOe6nqhtft7V4g7/V/gfDsC3Ag4W7kEzzvRGKqiv0pu0HogPiZ3KaVSoNDhUws6IJjDjpfmYIXw==} + engines: {node: '>=6.9.0'} + '@babel/helper-annotate-as-pure@7.25.9': resolution: {integrity: sha512-gv7320KBUFJz1RnylIg5WWYPRXKZ884AGkYpgpWW02TH66Dl+HaC1t1CKd0z3R4b6hdYEcmrNZHUmfCP+1u3/g==} engines: {node: '>=6.9.0'} @@ -1769,6 +1773,11 @@ packages: engines: {node: '>=6.0.0'} hasBin: true + '@babel/parser@7.26.5': + resolution: {integrity: sha512-SRJ4jYmXRqV1/Xc+TIVG84WjHBXKlxO9sHQnA2Pf12QQEAp1LOh6kDzNHXcUnbH1QI0FDoPPVOt+vyUDucxpaw==} + engines: {node: '>=6.0.0'} + hasBin: true + '@babel/plugin-bugfix-firefox-class-in-computed-class-key@7.25.9': resolution: {integrity: sha512-ZkRyVkThtxQ/J6nv3JFYv1RYY+JT5BvU0y3k5bWrmuG4woXypRa4PXmm9RhOwodRkYFWqC0C0cqcJ4OqR7kW+g==} engines: {node: '>=6.9.0'} @@ -2248,10 +2257,18 @@ packages: resolution: {integrity: sha512-fH+b7Y4p3yqvApJALCPJcwb0/XaOSgtK4pzV6WVjPR5GLFQBRI7pfoX2V2iM48NXvX07NUxxm1Vw98YjqTcU5w==} engines: {node: '>=6.9.0'} + '@babel/traverse@7.26.5': + resolution: {integrity: sha512-rkOSPOw+AXbgtwUga3U4u8RpoK9FEFWBNAlTpcnkLFjL5CT+oyHNuUUC/xx6XefEJ16r38r8Bc/lfp6rYuHeJQ==} + engines: {node: '>=6.9.0'} + '@babel/types@7.26.3': resolution: {integrity: sha512-vN5p+1kl59GVKMvTHt55NzzmYVxprfJD+ql7U9NFIfKCBkYE55LYtS+WtPlaYOyzydrKI8Nezd+aZextrd+FMA==} engines: {node: '>=6.9.0'} + '@babel/types@7.26.5': + resolution: {integrity: sha512-L6mZmwFDK6Cjh1nRCLXpa6no13ZIioJDz7mdkzHv399pThrTa/k0nUlNaenOeh2kWu/iaOQYElEpKPUswUa9Vg==} + engines: {node: '>=6.9.0'} + '@base2/pretty-print-object@1.0.1': resolution: {integrity: sha512-4iri8i1AqYHJE2DstZYkyEprg6Pq6sKx3xn5FpySk9sNhH7qN2LLlHJCfDTZRILNwQNPD7mATWM0TBui7uC1pA==} @@ -3842,8 +3859,8 @@ packages: resolution: {integrity: sha512-H9XAx3hc0BQHY6l+IFSWHDySypcXsvsuLhgYLUGywmJ5pswRVQJUHpOsobnLYp2ZUaUlKiKDrgWWhosOwAEM8Q==} engines: {node: '>=6.9.0'} - '@ianvs/prettier-plugin-sort-imports@4.4.0': - resolution: {integrity: sha512-f4/e+/ANGk3tHuwRW0uh2YuBR50I4h1ZjGQ+5uD8sWfinHTivQsnieR5cz24t8M6Vx4rYvZ5v/IEKZhYpzQm9Q==} + '@ianvs/prettier-plugin-sort-imports@4.4.1': + resolution: {integrity: sha512-F0/Hrcfpy8WuxlQyAWJTEren/uxKhYonOGY4OyWmwRdeTvkh9mMSCxowZLjNkhwi/2ipqCgtXwwOk7tW0mWXkA==} peerDependencies: '@vue/compiler-sfc': 2.7.x || 3.x prettier: 2 || 3 @@ -4264,67 +4281,67 @@ packages: resolution: {integrity: sha512-y7efHHwghQfk28G2z3tlZ67pLG0XdfYbcVG26r7YIXALRsrVQcTq4/tdenSmdOrEsNahIYA/eh8aEVROWGFUDg==} engines: {node: ^16.14.0 || >=18.0.0} - '@nx/devkit@20.3.0': - resolution: {integrity: sha512-u9oRd2F33DLNWPbzpYGW7xuMEYUAOwO9DLP9nGYpxbZXy6Z4AdoKeqhN+KBTyg8+DyQGuKUSEXcWriDyLLgcHw==} + '@nx/devkit@20.3.1': + resolution: {integrity: sha512-Z6VdBg5GRu2Vg9FpeQJY+zQ1TvBoMWk8cTCZOf8J6myjoWYbksRfpWfNIvEk9OUsEMhpg98vxH2Cc8JR1zfiew==} peerDependencies: nx: '>= 19 <= 21' - '@nx/nx-darwin-arm64@20.3.0': - resolution: {integrity: sha512-9PqSe1Sh7qNqA4GL0cZH0t3S0EZzb2Xn14XY9au7yf0+eoxyag1oETjjULrxLeUmSoXW2hDxzNtoqKFE9zF07Q==} + '@nx/nx-darwin-arm64@20.3.1': + resolution: {integrity: sha512-bx++T9/8l4PK1yDTxPnROT7RG8CkWGkxKC0D7xlS/YQzE7CelDfgNYu0Bd7upZF4gafW2Uz3dd3j6WhvZLxbbg==} engines: {node: '>= 10'} cpu: [arm64] os: [darwin] - '@nx/nx-darwin-x64@20.3.0': - resolution: {integrity: sha512-gsGGhJVvi5QZVVTZie5sNMo1zOAU+A2edm6DGegObdFRLV41Ju/Yrm/gTaSp4yUtywd3UU4S/30C/nI2c55adA==} + '@nx/nx-darwin-x64@20.3.1': + resolution: {integrity: sha512-elg2GiSivMHU1iLFYZ+FojM2V/FmTlC8e5FKM6nZ+bIqeoBoJm8Rxxe/kEtcsPdvjj+YiKSmXOP9s45DJb9WWw==} engines: {node: '>= 10'} cpu: [x64] os: [darwin] - '@nx/nx-freebsd-x64@20.3.0': - resolution: {integrity: sha512-DiymYZBBu0upbiskdfn9KRyoXdyvKohezJiV3j4VkeRE8KR2p04NgwRQviDFbeD1cjWrDy9wk8y+G5PabLlqAA==} + '@nx/nx-freebsd-x64@20.3.1': + resolution: {integrity: sha512-1iKZOCcU7bVAC2kdoukfJ7AOTLBhm69+vPff3HCJQ0DI/5ZbmiaPeBMsAVFtJ0jFGix8yYIhgvtXgDEfbXXRFQ==} engines: {node: '>= 10'} cpu: [x64] os: [freebsd] - '@nx/nx-linux-arm-gnueabihf@20.3.0': - resolution: {integrity: sha512-Aksx66e8jmt/4rGJ/5z34SWXbPcYr9Ht52UonEeuCdQdoEvAOs7yBUbllYOjIcUsfZikEyZgvqfiQslsggSJdQ==} + '@nx/nx-linux-arm-gnueabihf@20.3.1': + resolution: {integrity: sha512-LAteJ1/mWYdvj7zpXuWRUq1lvUiV6YVXCdFK3+7lDW+qvW3bb5zzUwbVDAF/pPeTjBrsdHDzSWOCLm/LKtYtMw==} engines: {node: '>= 10'} cpu: [arm] os: [linux] - '@nx/nx-linux-arm64-gnu@20.3.0': - resolution: {integrity: sha512-Y5wmYEwF1bl014Ps8QjagI911VbViQSFHSTVOCNSObdAzig9E5o6NOkoWe+doT1UZLrrInnlkrggQUsbtdKjOg==} + '@nx/nx-linux-arm64-gnu@20.3.1': + resolution: {integrity: sha512-2Qf+6NcAeODELyJR+V9hjC9kl2DwJTdI7Bw+BuiyXftfPHvZ86P//FC8kPjNaJCEEm/ZStP6Jcb1zlp4Eo2wBw==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] - '@nx/nx-linux-arm64-musl@20.3.0': - resolution: {integrity: sha512-yGcIkmImyOMfPkQSYH2EVjPmFE0VkLcO71Bbkpr3RlJ1N/vjYxsGbdnqPiBb8Wshib/hmwpiMHf/yzQtKH0SQw==} + '@nx/nx-linux-arm64-musl@20.3.1': + resolution: {integrity: sha512-8S8jlN6GFQpRakZ2ZVWq6eFnLVrEObIaxnYD0QMbsMf+qiedDJt+cDh1xebcPRvgpSgJVlJ8P6hun5+K/FiQDQ==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] - '@nx/nx-linux-x64-gnu@20.3.0': - resolution: {integrity: sha512-nkA2DLI+rpmiuiy7dyXP4l9s7dgHkQWDX7lG1XltiT41RzAReJF1h8qBE6XrsAYE1CtI76DRWVphnc93+iZr+A==} + '@nx/nx-linux-x64-gnu@20.3.1': + resolution: {integrity: sha512-qC2On2qwYCtn/Kt8epvUn0H3NY6zG9yYhiNjkm6RvVTDmvogFQ4gtfiWSRP/EnabCRqM8FACDIO/ws5CnRBX+Q==} engines: {node: '>= 10'} cpu: [x64] os: [linux] - '@nx/nx-linux-x64-musl@20.3.0': - resolution: {integrity: sha512-sPMtTt9iTrCmFEIp9Qv27UX9PeL1aqKck2dz2TAFbXKVtF6+djOdTcNnTYw45KIP6izcUcOXXAq4G0QSQE7CLg==} + '@nx/nx-linux-x64-musl@20.3.1': + resolution: {integrity: sha512-KKwHSfV1PEKW82eJ8vxZTPepoaLbaXH/aI0VOKZbBO4ytGyGUr9wFuWPsyo06rK7qtSD7w9bN7xpiBGQk0QTsg==} engines: {node: '>= 10'} cpu: [x64] os: [linux] - '@nx/nx-win32-arm64-msvc@20.3.0': - resolution: {integrity: sha512-ppfNa/8OfpWA9o26Pz3vArN4ulAC+Hx70/ghPRCP7ed1Mb3Z6yR2Ry9KfBRImbqajvuAExM0TePKMGq9LCdXmg==} + '@nx/nx-win32-arm64-msvc@20.3.1': + resolution: {integrity: sha512-YujkXXHn9rhtwZRDxiaxSPOMX7JkfGmXAFdyEfxhE3Dc/HjFgI+xJZ478/atttR7DWIwGpQJVLpbFWbFFpoNNg==} engines: {node: '>= 10'} cpu: [arm64] os: [win32] - '@nx/nx-win32-x64-msvc@20.3.0': - resolution: {integrity: sha512-8FOejZ4emtLSVn3pYWs4PIc3n4//qMbwMDPVxmPE8us3ir91Qh0bzr5zRj7Q8sEdSgvneXRXqtBp2grY2KMJsw==} + '@nx/nx-win32-x64-msvc@20.3.1': + resolution: {integrity: sha512-Os8iCamvHhE5noQKFE9D9xkiI529918tufTYmEhJ9ZmLU/ybVA0We6r7gXjYzdNfA3DtwfGXvNvUpy3u+pZXOg==} engines: {node: '>= 10'} cpu: [x64] os: [win32] @@ -5552,20 +5569,26 @@ packages: '@scure/starknet@1.1.0': resolution: {integrity: sha512-83g3M6Ix2qRsPN4wqLDqiRZ2GBNbjVWfboJE/9UjfG+MHr6oDSu/CWgy8hsBSJejr09DkkL+l0Ze4KVrlCIdtQ==} - '@shikijs/core@1.24.4': - resolution: {integrity: sha512-jjLsld+xEEGYlxAXDyGwWsKJ1sw5Pc1pnp4ai2ORpjx2UX08YYTC0NNqQYO1PaghYaR+PvgMOGuvzw2he9sk0Q==} + '@shikijs/core@1.27.0': + resolution: {integrity: sha512-2RkIwaXVWxJQQw8JvqikTVe4gBxS3elH3qF3b7Ews1KdJc+TH9/nsVEftrtPn0bLOkdlMaGj5H2RBHpfWmRIcA==} - '@shikijs/engine-javascript@1.24.4': - resolution: {integrity: sha512-TClaQOLvo9WEMJv6GoUsykQ6QdynuKszuORFWCke8qvi6PeLm7FcD9+7y45UenysxEWYpDL5KJaVXTngTE+2BA==} + '@shikijs/engine-javascript@1.27.0': + resolution: {integrity: sha512-1nzz37go+wb6uR97QSRtU4GEwx99efuucB6QI4R682wmPbti6LeWe5VcMNy8LJJt02GEYcZeJK6Lvq8YXBVNXA==} - '@shikijs/engine-oniguruma@1.24.4': - resolution: {integrity: sha512-Do2ry6flp2HWdvpj2XOwwa0ljZBRy15HKZITzPcNIBOGSeprnA8gOooA/bLsSPuy8aJBa+Q/r34dMmC3KNL/zw==} + '@shikijs/engine-oniguruma@1.27.0': + resolution: {integrity: sha512-x1XMJvQuToX2KhESav2cnaTFDEwpJ1bcczaXy8wlRWhPVVAGR/MxlWnJbhHFe+ETerQgdpLZN8l+EgO0rVfEFQ==} - '@shikijs/types@1.24.4': - resolution: {integrity: sha512-0r0XU7Eaow0PuDxuWC1bVqmWCgm3XqizIaT7SM42K03vc69LGooT0U8ccSR44xP/hGlNx4FKhtYpV+BU6aaKAA==} + '@shikijs/langs@1.27.0': + resolution: {integrity: sha512-6fBE0OL17XGYlNj8IuHfKtTALLk6+CVAXw8Rj2y/K8NP646/hows9+XwzIFcvFo3wZ0fPAcPKQ9pwG6a1FBevw==} - '@shikijs/vscode-textmate@9.3.1': - resolution: {integrity: sha512-79QfK1393x9Ho60QFyLti+QfdJzRQCVLFb97kOIV7Eo9vQU/roINgk7m24uv0a7AUvN//RDH36FLjjK48v0s9g==} + '@shikijs/themes@1.27.0': + resolution: {integrity: sha512-L21LFq8hdsrBUXLh0fxKRURwE1brSlofK3Onutpwk71/EddfPqv60PG+Cg/KawPi8B04Mwp66EWw1shQjcYfBQ==} + + '@shikijs/types@1.27.0': + resolution: {integrity: sha512-oOJdIeOnGo+hbM7MH+Ejpksse2ASex4DVHdvBoKyY3+26GEzG9PwM85BeXNGxUZuVxtVKo43sZl0qtJs/K2Zow==} + + '@shikijs/vscode-textmate@10.0.1': + resolution: {integrity: sha512-fTIQwLF+Qhuws31iw7Ncl1R3HUDtGwIipiJ9iU+UsDUwMhegFcQKQHd51nZjb7CArq0MvON8rbgCGQYWHUKAdg==} '@sigstore/bundle@2.3.2': resolution: {integrity: sha512-wueKWDk70QixNLB363yHc2D2ItTgYiMTdPwK8D9dKQMR3ZQ0c35IxP5xnwQ8cNLoCgCRcHf14kE+CLIvNX1zmA==} @@ -5575,9 +5598,9 @@ packages: resolution: {integrity: sha512-JzBqdVIyqm2FRQCulY6nbQzMpJJpSiJ8XXWMhtOX9eKgaXXpfNOF53lzQEjIydlStnd/eFtuC1dW4VYdD93oRg==} engines: {node: ^16.14.0 || >=18.0.0} - '@sigstore/protobuf-specs@0.3.2': - resolution: {integrity: sha512-c6B0ehIWxMI8wiS/bj6rHMPqeFvngFV7cDU/MY+B16P9Z3Mp9k8L93eYZ7BYzSickzuqAQqAq0V956b3Ju6mLw==} - engines: {node: ^16.14.0 || >=18.0.0} + '@sigstore/protobuf-specs@0.3.3': + resolution: {integrity: sha512-RpacQhBlwpBWd7KEJsRKcBQalbV28fvkxwTOJIqhIuDysMMaJW47V4OqW30iJB9uRpqOSxxEAQFdr8tTattReQ==} + engines: {node: ^18.17.0 || >=20.5.0} '@sigstore/sign@2.3.2': resolution: {integrity: sha512-5Vz5dPVuunIIvC5vBb0APwo7qKA4G9yM48kPWJT+OEERs40md5GoUR1yedwpekWZ4m0Hhw44m6zU+ObsON+iDA==} @@ -7970,8 +7993,8 @@ packages: resolution: {integrity: sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==} engines: {node: '>= 4'} - domutils@3.2.1: - resolution: {integrity: sha512-xWXmuRnN9OMP6ptPd2+H0cCbcYBULa5YDTbMm/2lvkWvNA3O4wcW+GvzooqBuNM8yy6pl3VIAeJTUUWUbfI5Fw==} + domutils@3.2.2: + resolution: {integrity: sha512-6kZKyUajlDuqlHKVX1w7gyslj9MPIXzIFiz/rGu35uC1wMi+kMhQwGhl4lt9unC9Vb9INnY9Z3/ZA3+FhASLaw==} dot-case@3.0.4: resolution: {integrity: sha512-Kv5nKlh6yRrdrGvxeJ2e5y2eRUpkUosIW4A2AS38zwSz27zu7ufDwQPi5Jhs3XAlGNetl3bmnGhQsMtkKJnj3w==} @@ -10218,6 +10241,7 @@ packages: libsql@0.4.7: resolution: {integrity: sha512-T9eIRCs6b0J1SHKYIvD8+KCJMcWZ900iZyxdnSCdqxN12Z1ijzT+jY5nrk72Jw4B0HGzms2NgpryArlJqvc3Lw==} + cpu: [x64, arm64, wasm32] os: [darwin, linux, win32] lie@3.3.0: @@ -10923,8 +10947,8 @@ packages: nwsapi@2.2.16: resolution: {integrity: sha512-F1I/bimDpj3ncaNDhfyMWuFqmQDBwDB0Fogc2qpL3BWvkQteFD/8BzWuIRl83rq0DXfm8SGt/HFhLXZyljTXcQ==} - nx@20.3.0: - resolution: {integrity: sha512-Nzi4k7tV22zwO2iBLk+pHxorLEWPJpPrVCACtz0SQ63j/LiAgfhoqruJO+VU+V+E9qdyPsvmqIL/Iaf/GRQlqA==} + nx@20.3.1: + resolution: {integrity: sha512-pO48DoQAwVKBEF7/od3bc1tHBYfafgiuS/hHX3yGmhpWW58baIlxMWFp6QY9+A9Q0R+26pd6AEGnE7d1f7+i/g==} hasBin: true peerDependencies: '@swc-node/register': ^1.8.0 @@ -11002,8 +11026,8 @@ packages: resolution: {integrity: sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==} engines: {node: '>=12'} - oniguruma-to-es@0.8.1: - resolution: {integrity: sha512-dekySTEvCxCj0IgKcA2uUCO/e4ArsqpucDPcX26w9ajx+DvMWLc5eZeJaRQkd7oC/+rwif5gnT900tA34uN9Zw==} + oniguruma-to-es@1.0.0: + resolution: {integrity: sha512-kihvp0O4lFwf5tZMkfanwQLIZ9ORe9OeOFgZonH0BQeThgwfJiaZFeOfvvJVnJIM9TiVmx0RDD35hUJDR0++rQ==} open@8.4.2: resolution: {integrity: sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ==} @@ -12102,8 +12126,8 @@ packages: resolution: {integrity: sha512-AzqKpGKjrj7EM6rKVQEPpB288oCfnrEIuyoT9cyF4nmGa7V8Zk6f7RRqYisX8X9m+Q7bd632aZW4ky7EhbQztA==} engines: {node: '>= 0.4'} - shiki@1.24.4: - resolution: {integrity: sha512-aVGSFAOAr1v26Hh/+GBIsRVDWJ583XYV7CuNURKRWh9gpGv4OdbisZGq96B9arMYTZhTQkmRF5BrShOSTvNqhw==} + shiki@1.27.0: + resolution: {integrity: sha512-PdrOqs36vGmftWETJJF6IJAUDS0ERYOYofHCBTHpLTvWLC8E/E6lyh+Xm1lMIZ/sBWT5uJSmri6NNW5ZDglMqQ==} side-channel-list@1.0.0: resolution: {integrity: sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==} @@ -12907,8 +12931,8 @@ packages: typedarray@0.0.6: resolution: {integrity: sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==} - typedoc-plugin-coverage@3.4.0: - resolution: {integrity: sha512-I8fLeQEERncGn4sUlGZ+B1ehx4L7VRwqa3i6AP+PFfvZK0ToXBGkh9sK7xs8l8FLPXq7Cv0yVy4YCEGgWNzDBw==} + typedoc-plugin-coverage@3.4.1: + resolution: {integrity: sha512-V23DAwinAMpGMGcL1R1s8Snr26hrjfIdwGf+4jR/65ZdmeAN+yRX0onfx5JlembTQhR6AePQ/parfQNS0AZ64A==} engines: {node: '>= 18'} peerDependencies: typedoc: 0.25.x || 0.26.x || 0.27.x @@ -12932,6 +12956,11 @@ packages: engines: {node: '>=14.17'} hasBin: true + typescript@5.7.3: + resolution: {integrity: sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==} + engines: {node: '>=14.17'} + hasBin: true + ua-parser-js@1.0.40: resolution: {integrity: sha512-z6PJ8Lml+v3ichVojCiB8toQJBuwR42ySM4ezjXIqXK3M0HczmKQ3LF4rhU55PfD99KEEXQG6yb7iOMyvYuHew==} hasBin: true @@ -13863,11 +13892,11 @@ snapshots: '@ardatan/relay-compiler@12.0.0(encoding@0.1.13)(graphql@16.10.0)': dependencies: '@babel/core': 7.26.0 - '@babel/generator': 7.26.3 - '@babel/parser': 7.26.3 + '@babel/generator': 7.26.5 + '@babel/parser': 7.26.5 '@babel/runtime': 7.26.0 - '@babel/traverse': 7.26.4 - '@babel/types': 7.26.3 + '@babel/traverse': 7.26.5 + '@babel/types': 7.26.5 babel-preset-fbjs: 3.4.0(@babel/core@7.26.0) chalk: 4.1.2 fb-watchman: 2.0.2 @@ -13930,15 +13959,23 @@ snapshots: '@babel/generator@7.26.3': dependencies: - '@babel/parser': 7.26.3 + '@babel/parser': 7.26.5 '@babel/types': 7.26.3 '@jridgewell/gen-mapping': 0.3.8 '@jridgewell/trace-mapping': 0.3.25 jsesc: 3.1.0 + '@babel/generator@7.26.5': + dependencies: + '@babel/parser': 7.26.5 + '@babel/types': 7.26.5 + '@jridgewell/gen-mapping': 0.3.8 + '@jridgewell/trace-mapping': 0.3.25 + jsesc: 3.1.0 + '@babel/helper-annotate-as-pure@7.25.9': dependencies: - '@babel/types': 7.26.3 + '@babel/types': 7.26.5 '@babel/helper-compilation-targets@7.25.9': dependencies: @@ -13956,7 +13993,7 @@ snapshots: '@babel/helper-optimise-call-expression': 7.25.9 '@babel/helper-replace-supers': 7.25.9(@babel/core@7.26.0) '@babel/helper-skip-transparent-expression-wrappers': 7.25.9 - '@babel/traverse': 7.26.4 + '@babel/traverse': 7.26.5 semver: 6.3.1 transitivePeerDependencies: - supports-color @@ -13981,8 +14018,8 @@ snapshots: '@babel/helper-member-expression-to-functions@7.25.9': dependencies: - '@babel/traverse': 7.26.4 - '@babel/types': 7.26.3 + '@babel/traverse': 7.26.5 + '@babel/types': 7.26.5 transitivePeerDependencies: - supports-color @@ -14004,7 +14041,7 @@ snapshots: '@babel/helper-optimise-call-expression@7.25.9': dependencies: - '@babel/types': 7.26.3 + '@babel/types': 7.26.5 '@babel/helper-plugin-utils@7.25.9': {} @@ -14013,7 +14050,7 @@ snapshots: '@babel/core': 7.26.0 '@babel/helper-annotate-as-pure': 7.25.9 '@babel/helper-wrap-function': 7.25.9 - '@babel/traverse': 7.26.4 + '@babel/traverse': 7.26.5 transitivePeerDependencies: - supports-color @@ -14022,14 +14059,14 @@ snapshots: '@babel/core': 7.26.0 '@babel/helper-member-expression-to-functions': 7.25.9 '@babel/helper-optimise-call-expression': 7.25.9 - '@babel/traverse': 7.26.4 + '@babel/traverse': 7.26.5 transitivePeerDependencies: - supports-color '@babel/helper-skip-transparent-expression-wrappers@7.25.9': dependencies: - '@babel/traverse': 7.26.4 - '@babel/types': 7.26.3 + '@babel/traverse': 7.26.5 + '@babel/types': 7.26.5 transitivePeerDependencies: - supports-color @@ -14042,8 +14079,8 @@ snapshots: '@babel/helper-wrap-function@7.25.9': dependencies: '@babel/template': 7.25.9 - '@babel/traverse': 7.26.4 - '@babel/types': 7.26.3 + '@babel/traverse': 7.26.5 + '@babel/types': 7.26.5 transitivePeerDependencies: - supports-color @@ -14056,11 +14093,15 @@ snapshots: dependencies: '@babel/types': 7.26.3 + '@babel/parser@7.26.5': + dependencies: + '@babel/types': 7.26.5 + '@babel/plugin-bugfix-firefox-class-in-computed-class-key@7.25.9(@babel/core@7.26.0)': dependencies: '@babel/core': 7.26.0 '@babel/helper-plugin-utils': 7.25.9 - '@babel/traverse': 7.26.4 + '@babel/traverse': 7.26.5 transitivePeerDependencies: - supports-color @@ -14087,7 +14128,7 @@ snapshots: dependencies: '@babel/core': 7.26.0 '@babel/helper-plugin-utils': 7.25.9 - '@babel/traverse': 7.26.4 + '@babel/traverse': 7.26.5 transitivePeerDependencies: - supports-color @@ -14163,7 +14204,7 @@ snapshots: '@babel/core': 7.26.0 '@babel/helper-plugin-utils': 7.25.9 '@babel/helper-remap-async-to-generator': 7.25.9(@babel/core@7.26.0) - '@babel/traverse': 7.26.4 + '@babel/traverse': 7.26.5 transitivePeerDependencies: - supports-color @@ -14209,7 +14250,7 @@ snapshots: '@babel/helper-compilation-targets': 7.25.9 '@babel/helper-plugin-utils': 7.25.9 '@babel/helper-replace-supers': 7.25.9(@babel/core@7.26.0) - '@babel/traverse': 7.26.4 + '@babel/traverse': 7.26.5 globals: 11.12.0 transitivePeerDependencies: - supports-color @@ -14276,7 +14317,7 @@ snapshots: '@babel/core': 7.26.0 '@babel/helper-compilation-targets': 7.25.9 '@babel/helper-plugin-utils': 7.25.9 - '@babel/traverse': 7.26.4 + '@babel/traverse': 7.26.5 transitivePeerDependencies: - supports-color @@ -14322,7 +14363,7 @@ snapshots: '@babel/helper-module-transforms': 7.26.0(@babel/core@7.26.0) '@babel/helper-plugin-utils': 7.25.9 '@babel/helper-validator-identifier': 7.25.9 - '@babel/traverse': 7.26.4 + '@babel/traverse': 7.26.5 transitivePeerDependencies: - supports-color @@ -14439,7 +14480,7 @@ snapshots: '@babel/helper-module-imports': 7.25.9 '@babel/helper-plugin-utils': 7.25.9 '@babel/plugin-syntax-jsx': 7.25.9(@babel/core@7.26.0) - '@babel/types': 7.26.3 + '@babel/types': 7.26.5 transitivePeerDependencies: - supports-color @@ -14608,7 +14649,7 @@ snapshots: dependencies: '@babel/core': 7.26.0 '@babel/helper-plugin-utils': 7.25.9 - '@babel/types': 7.26.3 + '@babel/types': 7.26.5 esutils: 2.0.3 '@babel/preset-typescript@7.26.0(@babel/core@7.26.0)': @@ -14638,7 +14679,7 @@ snapshots: '@babel/template@7.25.9': dependencies: '@babel/code-frame': 7.26.2 - '@babel/parser': 7.26.3 + '@babel/parser': 7.26.5 '@babel/types': 7.26.3 '@babel/traverse@7.26.4': @@ -14653,11 +14694,28 @@ snapshots: transitivePeerDependencies: - supports-color + '@babel/traverse@7.26.5': + dependencies: + '@babel/code-frame': 7.26.2 + '@babel/generator': 7.26.5 + '@babel/parser': 7.26.5 + '@babel/template': 7.25.9 + '@babel/types': 7.26.5 + debug: 4.4.0 + globals: 11.12.0 + transitivePeerDependencies: + - supports-color + '@babel/types@7.26.3': dependencies: '@babel/helper-string-parser': 7.25.9 '@babel/helper-validator-identifier': 7.25.9 + '@babel/types@7.26.5': + dependencies: + '@babel/helper-string-parser': 7.25.9 + '@babel/helper-validator-identifier': 7.25.9 + '@base2/pretty-print-object@1.0.1': {} '@bcoe/v8-coverage@0.2.3': {} @@ -14853,11 +14911,11 @@ snapshots: '@colors/colors@1.5.0': optional: true - '@commitlint/cli@18.6.1(@types/node@22.10.5)(typescript@5.7.2)': + '@commitlint/cli@18.6.1(@types/node@22.10.5)(typescript@5.7.3)': dependencies: '@commitlint/format': 18.6.1 '@commitlint/lint': 18.6.1 - '@commitlint/load': 18.6.1(@types/node@22.10.5)(typescript@5.7.2) + '@commitlint/load': 18.6.1(@types/node@22.10.5)(typescript@5.7.3) '@commitlint/read': 18.6.1 '@commitlint/types': 18.6.1 execa: 5.1.1 @@ -14907,15 +14965,15 @@ snapshots: '@commitlint/rules': 18.6.1 '@commitlint/types': 18.6.1 - '@commitlint/load@18.6.1(@types/node@22.10.5)(typescript@5.7.2)': + '@commitlint/load@18.6.1(@types/node@22.10.5)(typescript@5.7.3)': dependencies: '@commitlint/config-validator': 18.6.1 '@commitlint/execute-rule': 18.6.1 '@commitlint/resolve-extends': 18.6.1 '@commitlint/types': 18.6.1 chalk: 4.1.2 - cosmiconfig: 8.3.6(typescript@5.7.2) - cosmiconfig-typescript-loader: 5.1.0(@types/node@22.10.5)(cosmiconfig@8.3.6(typescript@5.7.2))(typescript@5.7.2) + cosmiconfig: 8.3.6(typescript@5.7.3) + cosmiconfig-typescript-loader: 5.1.0(@types/node@22.10.5)(cosmiconfig@8.3.6(typescript@5.7.3))(typescript@5.7.3) lodash.isplainobject: 4.0.6 lodash.merge: 4.6.2 lodash.uniq: 4.5.0 @@ -16232,9 +16290,9 @@ snapshots: '@graphql-tools/graphql-tag-pluck@8.3.10(graphql@16.10.0)': dependencies: '@babel/core': 7.26.0 - '@babel/parser': 7.26.3 + '@babel/parser': 7.26.5 '@babel/plugin-syntax-import-assertions': 7.26.0(@babel/core@7.26.0) - '@babel/traverse': 7.26.4 + '@babel/traverse': 7.26.5 '@babel/types': 7.26.3 '@graphql-tools/utils': 10.7.0(graphql@16.10.0) graphql: 16.10.0 @@ -16412,12 +16470,12 @@ snapshots: '@hutson/parse-repository-url@3.0.2': {} - '@ianvs/prettier-plugin-sort-imports@4.4.0(@vue/compiler-sfc@3.5.13)(prettier@3.4.2)': + '@ianvs/prettier-plugin-sort-imports@4.4.1(@vue/compiler-sfc@3.5.13)(prettier@3.4.2)': dependencies: - '@babel/generator': 7.26.3 - '@babel/parser': 7.26.3 - '@babel/traverse': 7.26.4 - '@babel/types': 7.26.3 + '@babel/generator': 7.26.5 + '@babel/parser': 7.26.5 + '@babel/traverse': 7.26.5 + '@babel/types': 7.26.5 prettier: 3.4.2 semver: 7.6.3 optionalDependencies: @@ -16771,12 +16829,12 @@ snapshots: proxy-deep: 3.1.1 rxjs: 7.5.5 - '@lerna/create@8.1.9(@swc/core@1.10.6(@swc/helpers@0.5.5))(encoding@0.1.13)(typescript@5.7.2)': + '@lerna/create@8.1.9(@swc/core@1.10.6(@swc/helpers@0.5.5))(encoding@0.1.13)(typescript@5.7.3)': dependencies: '@npmcli/arborist': 7.5.4 '@npmcli/package-json': 5.2.0 '@npmcli/run-script': 8.1.0 - '@nx/devkit': 20.3.0(nx@20.3.0(@swc/core@1.10.6(@swc/helpers@0.5.5))) + '@nx/devkit': 20.3.1(nx@20.3.1(@swc/core@1.10.6(@swc/helpers@0.5.5))) '@octokit/plugin-enterprise-rest': 6.0.1 '@octokit/rest': 19.0.11(encoding@0.1.13) aproba: 2.0.0 @@ -16789,7 +16847,7 @@ snapshots: console-control-strings: 1.1.0 conventional-changelog-core: 5.0.1 conventional-recommended-bump: 7.0.1 - cosmiconfig: 9.0.0(typescript@5.7.2) + cosmiconfig: 9.0.0(typescript@5.7.3) dedent: 1.5.3 execa: 5.0.0 fs-extra: 11.2.0 @@ -16815,7 +16873,7 @@ snapshots: npm-package-arg: 11.0.2 npm-packlist: 8.0.2 npm-registry-fetch: 17.1.0 - nx: 20.3.0(@swc/core@1.10.6(@swc/helpers@0.5.5)) + nx: 20.3.1(@swc/core@1.10.6(@swc/helpers@0.5.5)) p-map: 4.0.0 p-map-series: 2.1.0 p-queue: 6.6.2 @@ -17158,46 +17216,46 @@ snapshots: - bluebird - supports-color - '@nx/devkit@20.3.0(nx@20.3.0(@swc/core@1.10.6(@swc/helpers@0.5.5)))': + '@nx/devkit@20.3.1(nx@20.3.1(@swc/core@1.10.6(@swc/helpers@0.5.5)))': dependencies: ejs: 3.1.10 enquirer: 2.3.6 ignore: 5.3.2 minimatch: 9.0.3 - nx: 20.3.0(@swc/core@1.10.6(@swc/helpers@0.5.5)) + nx: 20.3.1(@swc/core@1.10.6(@swc/helpers@0.5.5)) semver: 7.6.3 tmp: 0.2.3 tslib: 2.8.1 yargs-parser: 21.1.1 - '@nx/nx-darwin-arm64@20.3.0': + '@nx/nx-darwin-arm64@20.3.1': optional: true - '@nx/nx-darwin-x64@20.3.0': + '@nx/nx-darwin-x64@20.3.1': optional: true - '@nx/nx-freebsd-x64@20.3.0': + '@nx/nx-freebsd-x64@20.3.1': optional: true - '@nx/nx-linux-arm-gnueabihf@20.3.0': + '@nx/nx-linux-arm-gnueabihf@20.3.1': optional: true - '@nx/nx-linux-arm64-gnu@20.3.0': + '@nx/nx-linux-arm64-gnu@20.3.1': optional: true - '@nx/nx-linux-arm64-musl@20.3.0': + '@nx/nx-linux-arm64-musl@20.3.1': optional: true - '@nx/nx-linux-x64-gnu@20.3.0': + '@nx/nx-linux-x64-gnu@20.3.1': optional: true - '@nx/nx-linux-x64-musl@20.3.0': + '@nx/nx-linux-x64-musl@20.3.1': optional: true - '@nx/nx-win32-arm64-msvc@20.3.0': + '@nx/nx-win32-arm64-msvc@20.3.1': optional: true - '@nx/nx-win32-x64-msvc@20.3.0': + '@nx/nx-win32-x64-msvc@20.3.1': optional: true '@octokit/auth-token@3.0.4': {} @@ -17304,7 +17362,7 @@ snapshots: '@octokit/request-error': 3.0.3 '@octokit/types': 9.3.2 is-plain-object: 5.0.0 - node-fetch: 2.7.0(encoding@0.1.13) + node-fetch: 2.6.7(encoding@0.1.13) universal-user-agent: 6.0.1 transitivePeerDependencies: - encoding @@ -18440,46 +18498,54 @@ snapshots: '@noble/curves': 1.7.0 '@noble/hashes': 1.6.1 - '@shikijs/core@1.24.4': + '@shikijs/core@1.27.0': dependencies: - '@shikijs/engine-javascript': 1.24.4 - '@shikijs/engine-oniguruma': 1.24.4 - '@shikijs/types': 1.24.4 - '@shikijs/vscode-textmate': 9.3.1 + '@shikijs/engine-javascript': 1.27.0 + '@shikijs/engine-oniguruma': 1.27.0 + '@shikijs/types': 1.27.0 + '@shikijs/vscode-textmate': 10.0.1 '@types/hast': 3.0.4 hast-util-to-html: 9.0.4 - '@shikijs/engine-javascript@1.24.4': + '@shikijs/engine-javascript@1.27.0': dependencies: - '@shikijs/types': 1.24.4 - '@shikijs/vscode-textmate': 9.3.1 - oniguruma-to-es: 0.8.1 + '@shikijs/types': 1.27.0 + '@shikijs/vscode-textmate': 10.0.1 + oniguruma-to-es: 1.0.0 - '@shikijs/engine-oniguruma@1.24.4': + '@shikijs/engine-oniguruma@1.27.0': dependencies: - '@shikijs/types': 1.24.4 - '@shikijs/vscode-textmate': 9.3.1 + '@shikijs/types': 1.27.0 + '@shikijs/vscode-textmate': 10.0.1 - '@shikijs/types@1.24.4': + '@shikijs/langs@1.27.0': dependencies: - '@shikijs/vscode-textmate': 9.3.1 + '@shikijs/types': 1.27.0 + + '@shikijs/themes@1.27.0': + dependencies: + '@shikijs/types': 1.27.0 + + '@shikijs/types@1.27.0': + dependencies: + '@shikijs/vscode-textmate': 10.0.1 '@types/hast': 3.0.4 - '@shikijs/vscode-textmate@9.3.1': {} + '@shikijs/vscode-textmate@10.0.1': {} '@sigstore/bundle@2.3.2': dependencies: - '@sigstore/protobuf-specs': 0.3.2 + '@sigstore/protobuf-specs': 0.3.3 '@sigstore/core@1.1.0': {} - '@sigstore/protobuf-specs@0.3.2': {} + '@sigstore/protobuf-specs@0.3.3': {} '@sigstore/sign@2.3.2': dependencies: '@sigstore/bundle': 2.3.2 '@sigstore/core': 1.1.0 - '@sigstore/protobuf-specs': 0.3.2 + '@sigstore/protobuf-specs': 0.3.3 make-fetch-happen: 13.0.1 proc-log: 4.2.0 promise-retry: 2.0.1 @@ -18488,7 +18554,7 @@ snapshots: '@sigstore/tuf@2.3.4': dependencies: - '@sigstore/protobuf-specs': 0.3.2 + '@sigstore/protobuf-specs': 0.3.3 tuf-js: 2.2.1 transitivePeerDependencies: - supports-color @@ -18497,7 +18563,7 @@ snapshots: dependencies: '@sigstore/bundle': 2.3.2 '@sigstore/core': 1.1.0 - '@sigstore/protobuf-specs': 0.3.2 + '@sigstore/protobuf-specs': 0.3.3 '@sinclair/typebox@0.27.8': {} @@ -18777,7 +18843,7 @@ snapshots: dependencies: '@babel/core': 7.26.0 '@babel/preset-env': 7.26.0(@babel/core@7.26.0) - '@babel/types': 7.26.3 + '@babel/types': 7.26.5 '@ndelangen/get-tarball': 3.0.9 '@storybook/codemod': 7.6.20 '@storybook/core-common': 7.6.20(encoding@0.1.13) @@ -18829,7 +18895,7 @@ snapshots: dependencies: '@babel/core': 7.26.0 '@babel/preset-env': 7.26.0(@babel/core@7.26.0) - '@babel/types': 7.26.3 + '@babel/types': 7.26.5 '@storybook/csf': 0.1.13 '@storybook/csf-tools': 7.6.20 '@storybook/node-logger': 7.6.20 @@ -18957,10 +19023,10 @@ snapshots: '@storybook/csf-tools@7.6.20': dependencies: - '@babel/generator': 7.26.3 - '@babel/parser': 7.26.3 - '@babel/traverse': 7.26.4 - '@babel/types': 7.26.3 + '@babel/generator': 7.26.5 + '@babel/parser': 7.26.5 + '@babel/traverse': 7.26.5 + '@babel/types': 7.26.5 '@storybook/csf': 0.1.13 '@storybook/types': 7.6.20 fs-extra: 11.2.0 @@ -19245,7 +19311,7 @@ snapshots: '@svgr/hast-util-to-babel-ast@8.0.0': dependencies: - '@babel/types': 7.26.3 + '@babel/types': 7.26.5 entities: 4.5.0 '@svgr/plugin-jsx@8.1.0(@svgr/core@8.1.0(typescript@5.7.2))': @@ -19496,8 +19562,8 @@ snapshots: '@types/babel__core@7.20.5': dependencies: - '@babel/parser': 7.26.3 - '@babel/types': 7.26.3 + '@babel/parser': 7.26.5 + '@babel/types': 7.26.5 '@types/babel__generator': 7.6.8 '@types/babel__template': 7.4.4 '@types/babel__traverse': 7.20.6 @@ -19966,10 +20032,10 @@ snapshots: '@typescript-eslint/types': 8.19.1 eslint-visitor-keys: 4.2.0 - '@typhonjs-typedoc/typedoc-theme-dmt@0.2.3(typedoc@0.26.11(typescript@5.7.2))': + '@typhonjs-typedoc/typedoc-theme-dmt@0.2.3(typedoc@0.26.11(typescript@5.7.3))': dependencies: cheerio: 1.0.0 - typedoc: 0.26.11(typescript@5.7.2) + typedoc: 0.26.11(typescript@5.7.3) '@ungap/structured-clone@1.2.1': {} @@ -20207,7 +20273,7 @@ snapshots: '@vue/compiler-core@3.5.13': dependencies: - '@babel/parser': 7.26.3 + '@babel/parser': 7.26.5 '@vue/shared': 3.5.13 entities: 4.5.0 estree-walker: 2.0.2 @@ -20220,7 +20286,7 @@ snapshots: '@vue/compiler-sfc@3.5.13': dependencies: - '@babel/parser': 7.26.3 + '@babel/parser': 7.26.5 '@vue/compiler-core': 3.5.13 '@vue/compiler-dom': 3.5.13 '@vue/compiler-ssr': 3.5.13 @@ -21066,14 +21132,14 @@ snapshots: css-what: 6.1.0 domelementtype: 2.3.0 domhandler: 5.0.3 - domutils: 3.2.1 + domutils: 3.2.2 cheerio@1.0.0: dependencies: cheerio-select: 2.1.0 dom-serializer: 2.0.0 domhandler: 5.0.3 - domutils: 3.2.1 + domutils: 3.2.2 encoding-sniffer: 0.2.0 htmlparser2: 9.1.0 parse5: 7.2.1 @@ -21358,12 +21424,12 @@ snapshots: core-util-is@1.0.3: {} - cosmiconfig-typescript-loader@5.1.0(@types/node@22.10.5)(cosmiconfig@8.3.6(typescript@5.7.2))(typescript@5.7.2): + cosmiconfig-typescript-loader@5.1.0(@types/node@22.10.5)(cosmiconfig@8.3.6(typescript@5.7.3))(typescript@5.7.3): dependencies: '@types/node': 22.10.5 - cosmiconfig: 8.3.6(typescript@5.7.2) + cosmiconfig: 8.3.6(typescript@5.7.3) jiti: 1.21.7 - typescript: 5.7.2 + typescript: 5.7.3 cosmiconfig@8.3.6(typescript@5.7.2): dependencies: @@ -21374,14 +21440,23 @@ snapshots: optionalDependencies: typescript: 5.7.2 - cosmiconfig@9.0.0(typescript@5.7.2): + cosmiconfig@8.3.6(typescript@5.7.3): + dependencies: + import-fresh: 3.3.0 + js-yaml: 4.1.0 + parse-json: 5.2.0 + path-type: 4.0.0 + optionalDependencies: + typescript: 5.7.3 + + cosmiconfig@9.0.0(typescript@5.7.3): dependencies: env-paths: 2.2.1 import-fresh: 3.3.0 js-yaml: 4.1.0 parse-json: 5.2.0 optionalDependencies: - typescript: 5.7.2 + typescript: 5.7.3 cross-env@7.0.3: dependencies: @@ -21414,7 +21489,7 @@ snapshots: boolbase: 1.0.0 css-what: 6.1.0 domhandler: 5.0.3 - domutils: 3.2.1 + domutils: 3.2.2 nth-check: 2.1.1 css-to-react-native@3.2.0: @@ -21690,7 +21765,7 @@ snapshots: dependencies: domelementtype: 2.3.0 - domutils@3.2.1: + domutils@3.2.2: dependencies: dom-serializer: 2.0.0 domelementtype: 2.3.0 @@ -22214,8 +22289,8 @@ snapshots: '@typescript-eslint/parser': 5.62.0(eslint@8.57.1)(typescript@5.7.2) eslint: 8.57.1 eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.7.0(eslint-plugin-import@2.31.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.7.2))(eslint@8.57.1))(eslint@8.57.1) - eslint-plugin-import: 2.31.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.7.2))(eslint-import-resolver-typescript@3.7.0(eslint-plugin-import@2.31.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.7.2))(eslint@8.57.1))(eslint@8.57.1))(eslint@8.57.1) + eslint-import-resolver-typescript: 3.7.0(eslint-plugin-import@2.31.0)(eslint@8.57.1) + eslint-plugin-import: 2.31.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.7.2))(eslint-import-resolver-typescript@3.7.0)(eslint@8.57.1) eslint-plugin-jsx-a11y: 6.10.2(eslint@8.57.1) eslint-plugin-react: 7.37.3(eslint@8.57.1) eslint-plugin-react-hooks: 4.6.2(eslint@8.57.1) @@ -22234,7 +22309,7 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-import-resolver-typescript@3.7.0(eslint-plugin-import@2.31.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.7.2))(eslint@8.57.1))(eslint@8.57.1): + eslint-import-resolver-typescript@3.7.0(eslint-plugin-import@2.31.0)(eslint@8.57.1): dependencies: '@nolyfill/is-core-module': 1.0.39 debug: 4.4.0 @@ -22246,22 +22321,22 @@ snapshots: is-glob: 4.0.3 stable-hash: 0.0.4 optionalDependencies: - eslint-plugin-import: 2.31.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.7.2))(eslint-import-resolver-typescript@3.7.0(eslint-plugin-import@2.31.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.7.2))(eslint@8.57.1))(eslint@8.57.1))(eslint@8.57.1) + eslint-plugin-import: 2.31.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.7.2))(eslint-import-resolver-typescript@3.7.0)(eslint@8.57.1) transitivePeerDependencies: - supports-color - eslint-module-utils@2.12.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.7.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.7.0(eslint-plugin-import@2.31.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.7.2))(eslint@8.57.1))(eslint@8.57.1))(eslint@8.57.1): + eslint-module-utils@2.12.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.7.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.7.0)(eslint@8.57.1): dependencies: debug: 3.2.7 optionalDependencies: '@typescript-eslint/parser': 5.62.0(eslint@8.57.1)(typescript@5.7.2) eslint: 8.57.1 eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.7.0(eslint-plugin-import@2.31.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.7.2))(eslint@8.57.1))(eslint@8.57.1) + eslint-import-resolver-typescript: 3.7.0(eslint-plugin-import@2.31.0)(eslint@8.57.1) transitivePeerDependencies: - supports-color - eslint-plugin-import@2.31.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.7.2))(eslint-import-resolver-typescript@3.7.0(eslint-plugin-import@2.31.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.7.2))(eslint@8.57.1))(eslint@8.57.1))(eslint@8.57.1): + eslint-plugin-import@2.31.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.7.2))(eslint-import-resolver-typescript@3.7.0)(eslint@8.57.1): dependencies: '@rtsao/scc': 1.1.0 array-includes: 3.1.8 @@ -22272,7 +22347,7 @@ snapshots: doctrine: 2.1.0 eslint: 8.57.1 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.12.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.7.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.7.0(eslint-plugin-import@2.31.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.7.2))(eslint@8.57.1))(eslint@8.57.1))(eslint@8.57.1) + eslint-module-utils: 2.12.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.7.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.7.0)(eslint@8.57.1) hasown: 2.0.2 is-core-module: 2.16.1 is-glob: 4.0.3 @@ -23272,7 +23347,7 @@ snapshots: dependencies: domelementtype: 2.3.0 domhandler: 5.0.3 - domutils: 3.2.1 + domutils: 3.2.2 entities: 4.5.0 http-cache-semantics@4.1.1: {} @@ -23681,7 +23756,7 @@ snapshots: istanbul-lib-instrument@5.2.1: dependencies: '@babel/core': 7.26.0 - '@babel/parser': 7.26.3 + '@babel/parser': 7.26.5 '@istanbuljs/schema': 0.1.3 istanbul-lib-coverage: 3.2.2 semver: 6.3.1 @@ -23828,7 +23903,7 @@ snapshots: jscodeshift@0.15.2(@babel/preset-env@7.26.0(@babel/core@7.26.0)): dependencies: '@babel/core': 7.26.0 - '@babel/parser': 7.26.3 + '@babel/parser': 7.26.5 '@babel/plugin-transform-class-properties': 7.25.9(@babel/core@7.26.0) '@babel/plugin-transform-modules-commonjs': 7.26.3(@babel/core@7.26.0) '@babel/plugin-transform-nullish-coalescing-operator': 7.25.9(@babel/core@7.26.0) @@ -24007,11 +24082,11 @@ snapshots: lerna@8.1.9(@swc/core@1.10.6(@swc/helpers@0.5.5))(encoding@0.1.13): dependencies: - '@lerna/create': 8.1.9(@swc/core@1.10.6(@swc/helpers@0.5.5))(encoding@0.1.13)(typescript@5.7.2) + '@lerna/create': 8.1.9(@swc/core@1.10.6(@swc/helpers@0.5.5))(encoding@0.1.13)(typescript@5.7.3) '@npmcli/arborist': 7.5.4 '@npmcli/package-json': 5.2.0 '@npmcli/run-script': 8.1.0 - '@nx/devkit': 20.3.0(nx@20.3.0(@swc/core@1.10.6(@swc/helpers@0.5.5))) + '@nx/devkit': 20.3.1(nx@20.3.1(@swc/core@1.10.6(@swc/helpers@0.5.5))) '@octokit/plugin-enterprise-rest': 6.0.1 '@octokit/rest': 19.0.11(encoding@0.1.13) aproba: 2.0.0 @@ -24025,7 +24100,7 @@ snapshots: conventional-changelog-angular: 7.0.0 conventional-changelog-core: 5.0.1 conventional-recommended-bump: 7.0.1 - cosmiconfig: 9.0.0(typescript@5.7.2) + cosmiconfig: 9.0.0(typescript@5.7.3) dedent: 1.5.3 envinfo: 7.13.0 execa: 5.0.0 @@ -24056,7 +24131,7 @@ snapshots: npm-package-arg: 11.0.2 npm-packlist: 8.0.2 npm-registry-fetch: 17.1.0 - nx: 20.3.0(@swc/core@1.10.6(@swc/helpers@0.5.5)) + nx: 20.3.1(@swc/core@1.10.6(@swc/helpers@0.5.5)) p-map: 4.0.0 p-map-series: 2.1.0 p-pipe: 3.1.0 @@ -24078,7 +24153,7 @@ snapshots: strong-log-transformer: 2.1.0 tar: 6.2.1 temp-dir: 1.0.0 - typescript: 5.7.2 + typescript: 5.7.3 upath: 2.0.1 uuid: 10.0.0 validate-npm-package-license: 3.0.4 @@ -24320,8 +24395,8 @@ snapshots: magicast@0.3.5: dependencies: - '@babel/parser': 7.26.3 - '@babel/types': 7.26.3 + '@babel/parser': 7.26.5 + '@babel/types': 7.26.5 source-map-js: 1.2.1 make-dir@2.1.0: @@ -24853,7 +24928,7 @@ snapshots: nwsapi@2.2.16: {} - nx@20.3.0(@swc/core@1.10.6(@swc/helpers@0.5.5)): + nx@20.3.1(@swc/core@1.10.6(@swc/helpers@0.5.5)): dependencies: '@napi-rs/wasm-runtime': 0.2.4 '@yarnpkg/lockfile': 1.1.0 @@ -24886,20 +24961,20 @@ snapshots: tmp: 0.2.3 tsconfig-paths: 4.2.0 tslib: 2.8.1 - yaml: 2.6.1 + yaml: 2.7.0 yargs: 17.7.2 yargs-parser: 21.1.1 optionalDependencies: - '@nx/nx-darwin-arm64': 20.3.0 - '@nx/nx-darwin-x64': 20.3.0 - '@nx/nx-freebsd-x64': 20.3.0 - '@nx/nx-linux-arm-gnueabihf': 20.3.0 - '@nx/nx-linux-arm64-gnu': 20.3.0 - '@nx/nx-linux-arm64-musl': 20.3.0 - '@nx/nx-linux-x64-gnu': 20.3.0 - '@nx/nx-linux-x64-musl': 20.3.0 - '@nx/nx-win32-arm64-msvc': 20.3.0 - '@nx/nx-win32-x64-msvc': 20.3.0 + '@nx/nx-darwin-arm64': 20.3.1 + '@nx/nx-darwin-x64': 20.3.1 + '@nx/nx-freebsd-x64': 20.3.1 + '@nx/nx-linux-arm-gnueabihf': 20.3.1 + '@nx/nx-linux-arm64-gnu': 20.3.1 + '@nx/nx-linux-arm64-musl': 20.3.1 + '@nx/nx-linux-x64-gnu': 20.3.1 + '@nx/nx-linux-x64-musl': 20.3.1 + '@nx/nx-win32-arm64-msvc': 20.3.1 + '@nx/nx-win32-x64-msvc': 20.3.1 '@swc/core': 1.10.6(@swc/helpers@0.5.5) transitivePeerDependencies: - debug @@ -24981,7 +25056,7 @@ snapshots: dependencies: mimic-fn: 4.0.0 - oniguruma-to-es@0.8.1: + oniguruma-to-es@1.0.0: dependencies: emoji-regex-xs: 1.0.0 regex: 5.1.1 @@ -25625,8 +25700,8 @@ snapshots: react-docgen@7.1.0: dependencies: '@babel/core': 7.26.0 - '@babel/traverse': 7.26.4 - '@babel/types': 7.26.3 + '@babel/traverse': 7.26.5 + '@babel/types': 7.26.5 '@types/babel__core': 7.20.5 '@types/babel__traverse': 7.20.6 '@types/doctrine': 0.0.9 @@ -26185,13 +26260,15 @@ snapshots: shell-quote@1.8.2: {} - shiki@1.24.4: + shiki@1.27.0: dependencies: - '@shikijs/core': 1.24.4 - '@shikijs/engine-javascript': 1.24.4 - '@shikijs/engine-oniguruma': 1.24.4 - '@shikijs/types': 1.24.4 - '@shikijs/vscode-textmate': 9.3.1 + '@shikijs/core': 1.27.0 + '@shikijs/engine-javascript': 1.27.0 + '@shikijs/engine-oniguruma': 1.27.0 + '@shikijs/langs': 1.27.0 + '@shikijs/themes': 1.27.0 + '@shikijs/types': 1.27.0 + '@shikijs/vscode-textmate': 10.0.1 '@types/hast': 3.0.4 side-channel-list@1.0.0: @@ -26234,7 +26311,7 @@ snapshots: dependencies: '@sigstore/bundle': 2.3.2 '@sigstore/core': 1.1.0 - '@sigstore/protobuf-specs': 0.3.2 + '@sigstore/protobuf-specs': 0.3.3 '@sigstore/sign': 2.3.2 '@sigstore/tuf': 2.3.4 '@sigstore/verify': 1.2.1 @@ -26977,6 +27054,34 @@ snapshots: - tsx - yaml + tsup@8.3.5(@swc/core@1.10.6(@swc/helpers@0.5.5))(jiti@2.4.2)(postcss@8.4.49)(tsx@4.19.2)(typescript@5.7.3)(yaml@2.7.0): + dependencies: + bundle-require: 5.1.0(esbuild@0.24.2) + cac: 6.7.14 + chokidar: 4.0.3 + consola: 3.3.3 + debug: 4.4.0 + esbuild: 0.24.2 + joycon: 3.1.1 + picocolors: 1.1.1 + postcss-load-config: 6.0.1(jiti@2.4.2)(postcss@8.4.49)(tsx@4.19.2)(yaml@2.7.0) + resolve-from: 5.0.0 + rollup: 4.29.1 + source-map: 0.8.0-beta.0 + sucrase: 3.35.0 + tinyexec: 0.3.1 + tinyglobby: 0.2.10 + tree-kill: 1.2.2 + optionalDependencies: + '@swc/core': 1.10.6(@swc/helpers@0.5.5) + postcss: 8.4.49 + typescript: 5.7.3 + transitivePeerDependencies: + - jiti + - supports-color + - tsx + - yaml + tsutils@3.21.0(typescript@5.7.2): dependencies: tslib: 1.14.1 @@ -27079,18 +27184,18 @@ snapshots: typedarray@0.0.6: {} - typedoc-plugin-coverage@3.4.0(typedoc@0.26.11(typescript@5.7.2)): + typedoc-plugin-coverage@3.4.1(typedoc@0.26.11(typescript@5.7.3)): dependencies: - typedoc: 0.26.11(typescript@5.7.2) + typedoc: 0.26.11(typescript@5.7.3) - typedoc@0.26.11(typescript@5.7.2): + typedoc@0.26.11(typescript@5.7.3): dependencies: lunr: 2.3.9 markdown-it: 14.1.0 minimatch: 9.0.5 - shiki: 1.24.4 - typescript: 5.7.2 - yaml: 2.6.1 + shiki: 1.27.0 + typescript: 5.7.3 + yaml: 2.7.0 typescript-eslint@8.18.2(eslint@9.17.0(jiti@2.4.2))(typescript@5.7.2): dependencies: @@ -27104,6 +27209,8 @@ snapshots: typescript@5.7.2: {} + typescript@5.7.3: {} + ua-parser-js@1.0.40: {} uc.micro@2.1.0: {} diff --git a/worlds/dojo-starter b/worlds/dojo-starter index cbd43d50..435171ea 160000 --- a/worlds/dojo-starter +++ b/worlds/dojo-starter @@ -1 +1 @@ -Subproject commit cbd43d5036b472483086a4069552e806de23083f +Subproject commit 435171ea38c17e36d6760532e34fb797dc1cf834 diff --git a/worlds/onchain-dash b/worlds/onchain-dash index 0581aa9e..437c5d2c 160000 --- a/worlds/onchain-dash +++ b/worlds/onchain-dash @@ -1 +1 @@ -Subproject commit 0581aa9e01d81fc9cda36407e5a9ba85061b4d58 +Subproject commit 437c5d2cb23deb04876dfd2546378f66afae94ac