From 52fa68f31aa1e48934cc3a64b7ac8cf9f932a6b1 Mon Sep 17 00:00:00 2001 From: trungnotchung Date: Thu, 19 Dec 2024 15:02:29 +0700 Subject: [PATCH] format code --- packages/node/package.json | 2 +- packages/node/src/version.ts | 2 +- packages/node/tests/node.test.ts | 8 ++++---- pnpm-lock.yaml | 28 ++++++++++++++-------------- 4 files changed, 20 insertions(+), 20 deletions(-) diff --git a/packages/node/package.json b/packages/node/package.json index b2281bfa..44905b39 100644 --- a/packages/node/package.json +++ b/packages/node/package.json @@ -43,7 +43,7 @@ "@ts-drp/object": "0.4.1", "@ts-drp/logger": "0.4.1", "commander": "^12.1.0", - "uint8arrays": "^5.1.0", + "uint8arrays": "^5.1.0", "base64-js": "^1.5.1" } } diff --git a/packages/node/src/version.ts b/packages/node/src/version.ts index fab18188..de04e980 100644 --- a/packages/node/src/version.ts +++ b/packages/node/src/version.ts @@ -1 +1 @@ -export const VERSION = "0.4.0"; +export const VERSION = "0.4.1"; diff --git a/packages/node/tests/node.test.ts b/packages/node/tests/node.test.ts index edad1580..3e56968c 100644 --- a/packages/node/tests/node.test.ts +++ b/packages/node/tests/node.test.ts @@ -1,12 +1,12 @@ +import { describe } from "node:test"; +import { AddWinsSetWithACL } from "@topology-foundation/blueprints/src/AddWinsSetWithACL/index.js"; +import { type DRP, DRPObject } from "@ts-drp/object"; import { beforeAll, expect, test } from "vitest"; -import { DRPNode, type DRPNodeConfig } from "../src/index.js"; import { signGeneratedVertices, verifyIncomingVertices, } from "../src/handlers.js"; -import { describe } from "node:test"; -import { type DRP, DRPObject } from "@ts-drp/object"; -import { AddWinsSetWithACL } from "@topology-foundation/blueprints/src/AddWinsSetWithACL/index.js"; +import { DRPNode, type DRPNodeConfig } from "../src/index.js"; describe("DPRNode with verify and sign signature", () => { let drp: DRP; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0708465b..0749180f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -45,10 +45,10 @@ importers: examples/canvas: dependencies: '@ts-drp/node': - specifier: 0.4.0 + specifier: 0.4.1 version: link:../../packages/node '@ts-drp/object': - specifier: 0.4.0 + specifier: 0.4.1 version: link:../../packages/object devDependencies: '@types/node': @@ -67,10 +67,10 @@ importers: examples/chat: dependencies: '@ts-drp/node': - specifier: 0.4.0 + specifier: 0.4.1 version: link:../../packages/node '@ts-drp/object': - specifier: 0.4.0 + specifier: 0.4.1 version: link:../../packages/object devDependencies: '@types/node': @@ -89,10 +89,10 @@ importers: examples/grid: dependencies: '@ts-drp/node': - specifier: 0.4.0 + specifier: 0.4.1 version: link:../../packages/node '@ts-drp/object': - specifier: 0.4.0 + specifier: 0.4.1 version: link:../../packages/object devDependencies: '@types/node': @@ -111,7 +111,7 @@ importers: examples/local-bootstrap: dependencies: '@ts-drp/node': - specifier: 0.4.0 + specifier: 0.4.1 version: link:../../packages/node devDependencies: '@types/node': @@ -134,7 +134,7 @@ importers: version: 4.1.4 devDependencies: '@ts-drp/object': - specifier: 0.4.0 + specifier: 0.4.1 version: link:../object packages/logger: @@ -197,7 +197,7 @@ importers: specifier: ^12.3.1 version: 12.3.4 '@ts-drp/logger': - specifier: ^0.4.0 + specifier: ^0.4.1 version: link:../logger base64-js: specifier: ^1.5.1 @@ -240,16 +240,16 @@ importers: specifier: ^2.1.3 version: 2.2.1 '@ts-drp/blueprints': - specifier: 0.4.0 + specifier: 0.4.1 version: link:../blueprints '@ts-drp/logger': - specifier: 0.4.0 + specifier: 0.4.1 version: link:../logger '@ts-drp/network': - specifier: 0.4.0 + specifier: 0.4.1 version: link:../network '@ts-drp/object': - specifier: 0.4.0 + specifier: 0.4.1 version: link:../object base64-js: specifier: ^1.5.1 @@ -283,7 +283,7 @@ importers: packages/object: dependencies: '@ts-drp/logger': - specifier: ^0.4.0 + specifier: ^0.4.1 version: link:../logger devDependencies: '@bufbuild/protobuf':