From 49a162999511a5dbb6fad28b6808c7536c8cc4c6 Mon Sep 17 00:00:00 2001 From: moreal Date: Wed, 11 Dec 2024 17:39:21 +0900 Subject: [PATCH] fix(js): avoid confusion between jsr pkg and monorepo pkg --- .../@planetarium/9c-headless-provider/package.json | 2 +- .../@planetarium/9c-headless-provider/src/index.ts | 2 +- integrations/javascript/@planetarium/pnpm-lock.yaml | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/integrations/javascript/@planetarium/9c-headless-provider/package.json b/integrations/javascript/@planetarium/9c-headless-provider/package.json index 37cd6d284d..29e30c54bf 100644 --- a/integrations/javascript/@planetarium/9c-headless-provider/package.json +++ b/integrations/javascript/@planetarium/9c-headless-provider/package.json @@ -17,7 +17,7 @@ "dependencies": { "@planetarium/account": "^5.4.1", "@planetarium/bencodex": "^0.2.2", - "@planetarium/lib9c": "npm:@jsr/planetarium__lib9c@^0.4.0", + "@jsr/planetarium__lib9c": "^0.4.0", "@planetarium/tx": "^5.4.1", "graphql-request": "^6.0.0", "graphql-tag": "^2.12.6" diff --git a/integrations/javascript/@planetarium/9c-headless-provider/src/index.ts b/integrations/javascript/@planetarium/9c-headless-provider/src/index.ts index 7dfd9b5e8d..891c53565b 100644 --- a/integrations/javascript/@planetarium/9c-headless-provider/src/index.ts +++ b/integrations/javascript/@planetarium/9c-headless-provider/src/index.ts @@ -1,6 +1,6 @@ +import type { TxMetadataProvider } from "@jsr/planetarium__lib9c"; import type { Address } from "@planetarium/account"; import { encode } from "@planetarium/bencodex"; -import type { TxMetadataProvider } from "@planetarium/lib9c"; import { encodeSignedTx, type signTx } from "@planetarium/tx"; import { GraphQLClient } from "graphql-request"; import { type Sdk, getSdk } from "./generated/headless/graphql-request.js"; diff --git a/integrations/javascript/@planetarium/pnpm-lock.yaml b/integrations/javascript/@planetarium/pnpm-lock.yaml index 7a74cbcd68..d696fcd004 100644 --- a/integrations/javascript/@planetarium/pnpm-lock.yaml +++ b/integrations/javascript/@planetarium/pnpm-lock.yaml @@ -10,15 +10,15 @@ importers: 9c-headless-provider: dependencies: + '@jsr/planetarium__lib9c': + specifier: ^0.4.0 + version: 0.4.0 '@planetarium/account': specifier: ^5.4.1 version: 5.4.1 '@planetarium/bencodex': specifier: ^0.2.2 version: 0.2.2 - '@planetarium/lib9c': - specifier: npm:@jsr/planetarium__lib9c@^0.4.0 - version: '@jsr/planetarium__lib9c@0.4.0' '@planetarium/tx': specifier: ^5.4.1 version: 5.4.1(@planetarium/account@5.4.1)