@ckb-ccc/okx 1.0.26 → 1.0.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # @ckb-ccc/okx
2
2
 
3
+ ## 1.0.28
4
+ ### Patch Changes
5
+
6
+ - Updated dependencies [[`6cb6bfc`](https://github.com/ckb-devrel/ccc/commit/6cb6bfcc24af00b460ab7d112986088a9a526ecd)]:
7
+ - @ckb-ccc/core@1.12.1
8
+ - @ckb-ccc/nip07@1.0.28
9
+ - @ckb-ccc/uni-sat@1.0.28
10
+
11
+ ## 1.0.27
12
+ ### Patch Changes
13
+
14
+
15
+
16
+ - [#290](https://github.com/ckb-devrel/ccc/pull/290) [`1b9b197`](https://github.com/ckb-devrel/ccc/commit/1b9b19754002461bbd37677a7a44a15c31fd537f) Thanks [@Hanssen0](https://github.com/Hanssen0)! - chore(deps): bump dependency version with `--latest`
17
+
18
+ - Updated dependencies [[`1b9b197`](https://github.com/ckb-devrel/ccc/commit/1b9b19754002461bbd37677a7a44a15c31fd537f), [`12c1e6b`](https://github.com/ckb-devrel/ccc/commit/12c1e6b751de220898ed94998027c7cf07c7a7dc), [`d382469`](https://github.com/ckb-devrel/ccc/commit/d382469ffca7934f19d0156af6939d7794808265), [`50b5537`](https://github.com/ckb-devrel/ccc/commit/50b553715f150ca7c68a661c7cbf8696ec674846)]:
19
+ - @ckb-ccc/uni-sat@1.0.27
20
+ - @ckb-ccc/nip07@1.0.27
21
+ - @ckb-ccc/core@1.12.0
22
+
3
23
  ## 1.0.26
4
24
  ### Patch Changes
5
25
 
package/dist/btc/index.js CHANGED
@@ -119,7 +119,7 @@ export class BitcoinSigner extends ccc.SignerBtc {
119
119
  */
120
120
  async isConnected() {
121
121
  try {
122
- this.provider;
122
+ void this.provider; // Invoke provider getter
123
123
  }
124
124
  catch (_) {
125
125
  return false;
@@ -122,7 +122,7 @@ class BitcoinSigner extends core_1.ccc.SignerBtc {
122
122
  */
123
123
  async isConnected() {
124
124
  try {
125
- this.provider;
125
+ void this.provider; // Invoke provider getter
126
126
  }
127
127
  catch (_) {
128
128
  return false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckb-ccc/okx",
3
- "version": "1.0.26",
3
+ "version": "1.0.28",
4
4
  "description": "CCC - CKBer's Codebase. Common Chains Connector's support for OKX",
5
5
  "author": "Hanssen0 <hanssen0@hanssen0.com>",
6
6
  "license": "MIT",
@@ -33,17 +33,17 @@
33
33
  "eslint-plugin-prettier": "^5.5.4",
34
34
  "prettier": "^3.6.2",
35
35
  "prettier-plugin-organize-imports": "^4.2.0",
36
- "rimraf": "^5.0.10",
36
+ "rimraf": "^6.0.1",
37
37
  "typescript": "^5.9.2",
38
- "typescript-eslint": "^7.18.0"
38
+ "typescript-eslint": "^8.41.0"
39
39
  },
40
40
  "publishConfig": {
41
41
  "access": "public"
42
42
  },
43
43
  "dependencies": {
44
- "@ckb-ccc/core": "1.11.5",
45
- "@ckb-ccc/nip07": "1.0.26",
46
- "@ckb-ccc/uni-sat": "1.0.26"
44
+ "@ckb-ccc/core": "1.12.1",
45
+ "@ckb-ccc/nip07": "1.0.28",
46
+ "@ckb-ccc/uni-sat": "1.0.28"
47
47
  },
48
48
  "scripts": {
49
49
  "build": "rimraf ./dist && rimraf ./dist.commonjs && tsc && tsc --project tsconfig.commonjs.json && copyfiles -u 2 misc/basedirs/**/* .",
@@ -1,5 +1,3 @@
1
- // prettier.config.js, .prettierrc.js, prettier.config.mjs, or .prettierrc.mjs
2
-
3
1
  /**
4
2
  * @see https://prettier.io/docs/configuration
5
3
  * @type {import("prettier").Config}
@@ -7,7 +5,7 @@
7
5
  const config = {
8
6
  singleQuote: false,
9
7
  trailingComma: "all",
10
- plugins: ["prettier-plugin-organize-imports"],
8
+ plugins: [require.resolve("prettier-plugin-organize-imports")],
11
9
  };
12
10
 
13
- export default config;
11
+ module.exports = config;
package/src/btc/index.ts CHANGED
@@ -146,7 +146,7 @@ export class BitcoinSigner extends ccc.SignerBtc {
146
146
  */
147
147
  async isConnected(): Promise<boolean> {
148
148
  try {
149
- this.provider;
149
+ void this.provider; // Invoke provider getter
150
150
  } catch (_) {
151
151
  return false;
152
152
  }