From c3439b4ff1a30e9ad6ff232119b082e4b23dd0cc Mon Sep 17 00:00:00 2001 From: Atralupus Date: Fri, 20 Dec 2024 00:08:36 +0900 Subject: [PATCH 1/2] fix has export path --- integrations/javascript/@planetarium/lib9c/src/index.ts | 4 ++++ .../@planetarium/lib9c/tests/actions/hack_and_slash.test.ts | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/integrations/javascript/@planetarium/lib9c/src/index.ts b/integrations/javascript/@planetarium/lib9c/src/index.ts index b2b3cbdc85..a7a3c04b87 100644 --- a/integrations/javascript/@planetarium/lib9c/src/index.ts +++ b/integrations/javascript/@planetarium/lib9c/src/index.ts @@ -18,6 +18,10 @@ export { TransferAssets, type TransferAssetsArgs, } from "./actions/transfer_assets.js"; +export { + HackAndSlash, + type HackAndSlashArgs, +} from "./actions/hack_and_slash.js"; export { DeliverToOtherGarages, type DeliverToOtherGaragesArgs, diff --git a/integrations/javascript/@planetarium/lib9c/tests/actions/hack_and_slash.test.ts b/integrations/javascript/@planetarium/lib9c/tests/actions/hack_and_slash.test.ts index dca2f59a87..00c27adf48 100644 --- a/integrations/javascript/@planetarium/lib9c/tests/actions/hack_and_slash.test.ts +++ b/integrations/javascript/@planetarium/lib9c/tests/actions/hack_and_slash.test.ts @@ -1,6 +1,5 @@ import { describe } from "vitest"; -import { HackAndSlash } from "../../src/actions/hack_and_slash.js"; -import { RuneSlotInfo, uuidToGuidBytes } from "../../src/index.js"; +import { HackAndSlash, RuneSlotInfo, uuidToGuidBytes } from "../../src/index.js"; import { runTests } from "./common.js"; import { avatarAddress } from "./fixtures.js"; From 981dd99bb41303f8063bb544ae63e62dca1527cf Mon Sep 17 00:00:00 2001 From: Atralupus Date: Fri, 20 Dec 2024 02:36:40 +0900 Subject: [PATCH 2/2] lint --- .../@planetarium/lib9c/tests/actions/hack_and_slash.test.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/integrations/javascript/@planetarium/lib9c/tests/actions/hack_and_slash.test.ts b/integrations/javascript/@planetarium/lib9c/tests/actions/hack_and_slash.test.ts index 00c27adf48..56f7f54e8c 100644 --- a/integrations/javascript/@planetarium/lib9c/tests/actions/hack_and_slash.test.ts +++ b/integrations/javascript/@planetarium/lib9c/tests/actions/hack_and_slash.test.ts @@ -1,5 +1,9 @@ import { describe } from "vitest"; -import { HackAndSlash, RuneSlotInfo, uuidToGuidBytes } from "../../src/index.js"; +import { + HackAndSlash, + RuneSlotInfo, + uuidToGuidBytes, +} from "../../src/index.js"; import { runTests } from "./common.js"; import { avatarAddress } from "./fixtures.js";