Skip to content

Commit

Permalink
style: format
Browse files Browse the repository at this point in the history
  • Loading branch information
Hanssen0 committed Aug 24, 2024
1 parent 44e2ec9 commit f712b1d
Show file tree
Hide file tree
Showing 18 changed files with 39 additions and 94 deletions.
11 changes: 3 additions & 8 deletions packages/ccc/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
{
"$schema": "https://typedoc.org/schema.json",
"entryPoints": [
"./src/index.ts",
"./src/advanced.ts"
],
"extends": [
"../../typedoc.base.json"
],
"entryPoints": ["./src/index.ts", "./src/advanced.ts"],
"extends": ["../../typedoc.base.json"],
"name": "@ckb-ccc ccc"
}
}
11 changes: 3 additions & 8 deletions packages/connector-react/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
{
"$schema": "https://typedoc.org/schema.json",
"entryPoints": [
"./src/index.ts",
"./src/advanced.ts"
],
"extends": [
"../../typedoc.base.json"
],
"entryPoints": ["./src/index.ts", "./src/advanced.ts"],
"extends": ["../../typedoc.base.json"],
"name": "@ckb-ccc connector-react"
}
}
11 changes: 3 additions & 8 deletions packages/connector/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
{
"$schema": "https://typedoc.org/schema.json",
"entryPoints": [
"./src/index.ts",
"./src/advanced.ts"
],
"extends": [
"../../typedoc.base.json"
],
"entryPoints": ["./src/index.ts", "./src/advanced.ts"],
"extends": ["../../typedoc.base.json"],
"name": "@ckb-ccc connector"
}
}
2 changes: 1 addition & 1 deletion packages/core/src/ckb/transaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export type DepType = "depGroup" | "code";
/**
* Converts a DepTypeLike value to a DepType.
* @public
*
*
* @param val - The value to convert, which can be a string, number, or bigint.
* @returns The corresponding DepType.
*
Expand Down
1 change: 0 additions & 1 deletion packages/core/src/client/jsonRpc/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { Hex, HexLike, hexFrom } from "../../hex/index.js";
import { Num, NumLike, numFrom, numToHex } from "../../num/index.js";
import { Client } from "../client.js";
import {
ClientBlock,
ClientFindCellsResponse,
ClientIndexerSearchKeyLike,
ClientTransactionResponse,
Expand Down
11 changes: 3 additions & 8 deletions packages/core/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
{
"$schema": "https://typedoc.org/schema.json",
"entryPoints": [
"./src/index.ts",
"./src/advanced.ts"
],
"extends": [
"../../typedoc.base.json"
],
"entryPoints": ["./src/index.ts", "./src/advanced.ts"],
"extends": ["../../typedoc.base.json"],
"name": "@ckb-ccc core"
}
}
11 changes: 3 additions & 8 deletions packages/eip6963/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
{
"$schema": "https://typedoc.org/schema.json",
"entryPoints": [
"./src/index.ts",
"./src/advanced.ts"
],
"extends": [
"../../typedoc.base.json"
],
"entryPoints": ["./src/index.ts", "./src/advanced.ts"],
"extends": ["../../typedoc.base.json"],
"name": "@ckb-ccc eip6963"
}
}
2 changes: 1 addition & 1 deletion packages/joy-id/src/signerFactory/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { NostrSigner } from "../nostr/index.js";
* If the browser is standalone or a webview, returns SignerAlwaysError instances.
* Otherwise, returns instances of CkbSigner, BitcoinSigner, and EvmSigner.
* @public
*
*
* @param client - The client instance.
* @param name - The name of the signer.
* @param icon - The icon URL of the signer.
Expand Down
11 changes: 3 additions & 8 deletions packages/joy-id/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
{
"$schema": "https://typedoc.org/schema.json",
"entryPoints": [
"./src/index.ts",
"./src/advanced.ts"
],
"extends": [
"../../typedoc.base.json"
],
"entryPoints": ["./src/index.ts", "./src/advanced.ts"],
"extends": ["../../typedoc.base.json"],
"name": "@ckb-ccc joy-id"
}
}
2 changes: 1 addition & 1 deletion packages/lumos-patches/src/default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ function generateCollectorClass(codeHash: string) {
/**
* Generates custom lock script information.
* @public
*
*
* @param codeHash - The code hash of the custom script.
* @param cellDeps - The cell dependencies for the custom script.
* @returns The lock script information.
Expand Down
2 changes: 1 addition & 1 deletion packages/lumos-patches/src/utils.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* Asserts that a condition is true, throwing an error if it is not.
* @public
*
*
* @param condition - The condition to assert.
* @param [message="Assert failed"] - The error message to throw if the condition is false.
* @throws {Error} If the condition is false.
Expand Down
10 changes: 3 additions & 7 deletions packages/lumos-patches/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
{
"$schema": "https://typedoc.org/schema.json",
"entryPoints": [
"./src/index.ts"
],
"extends": [
"../../typedoc.base.json"
],
"entryPoints": ["./src/index.ts"],
"extends": ["../../typedoc.base.json"],
"name": "@ckb-ccc lumos-patches"
}
}
11 changes: 3 additions & 8 deletions packages/nip07/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
{
"$schema": "https://typedoc.org/schema.json",
"entryPoints": [
"./src/index.ts",
"./src/advanced.ts"
],
"extends": [
"../../typedoc.base.json"
],
"entryPoints": ["./src/index.ts", "./src/advanced.ts"],
"extends": ["../../typedoc.base.json"],
"name": "@ckb-ccc nip07"
}
}
2 changes: 1 addition & 1 deletion packages/okx/src/signersFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { NostrSigner } from "./nostr/index.js";
/**
* Retrieves the OKX Bitcoin signer if available.
* @public
*
*
* @param client - The client instance.
* @returns The BitcoinSigner instance if the OKX wallet is available, otherwise undefined.
*/
Expand Down
11 changes: 3 additions & 8 deletions packages/okx/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
{
"$schema": "https://typedoc.org/schema.json",
"entryPoints": [
"./src/index.ts",
"./src/advanced.ts"
],
"extends": [
"../../typedoc.base.json"
],
"entryPoints": ["./src/index.ts", "./src/advanced.ts"],
"extends": ["../../typedoc.base.json"],
"name": "@ckb-ccc okx"
}
}
2 changes: 1 addition & 1 deletion packages/uni-sat/src/signersFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Signer } from "./signer.js";
/**
* Retrieves the UniSat signer if available.
* @public
*
*
* @param client - The client instance.
* @returns The Signer instance if the UniSat provider is available, otherwise undefined.
*/
Expand Down
11 changes: 3 additions & 8 deletions packages/uni-sat/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
{
"$schema": "https://typedoc.org/schema.json",
"entryPoints": [
"./src/index.ts",
"./src/advanced.ts"
],
"extends": [
"../../typedoc.base.json"
],
"entryPoints": ["./src/index.ts", "./src/advanced.ts"],
"extends": ["../../typedoc.base.json"],
"name": "@ckb-ccc uni-sat"
}
}
11 changes: 3 additions & 8 deletions packages/utxo-global/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
{
"$schema": "https://typedoc.org/schema.json",
"entryPoints": [
"./src/index.ts",
"./src/advanced.ts"
],
"extends": [
"../../typedoc.base.json"
],
"entryPoints": ["./src/index.ts", "./src/advanced.ts"],
"extends": ["../../typedoc.base.json"],
"name": "@ckb-ccc utxo-global"
}
}

0 comments on commit f712b1d

Please sign in to comment.