@ckb-ccc/okx 0.0.10-alpha.0 → 0.0.10-alpha.1

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/dist/btc/index.js CHANGED
@@ -72,7 +72,7 @@ export class BitcoinSigner extends ccc.SignerBtc {
72
72
  if (!account) {
73
73
  throw Error("Not connected");
74
74
  }
75
- return ccc.hexFrom(account.publicKey);
75
+ return ccc.hexFrom(account.compressedPublicKey);
76
76
  }
77
77
  return ccc.hexFrom(await this.provider.getPublicKey());
78
78
  }
@@ -75,7 +75,7 @@ class BitcoinSigner extends core_1.ccc.SignerBtc {
75
75
  if (!account) {
76
76
  throw Error("Not connected");
77
77
  }
78
- return core_1.ccc.hexFrom(account.publicKey);
78
+ return core_1.ccc.hexFrom(account.compressedPublicKey);
79
79
  }
80
80
  return core_1.ccc.hexFrom(await this.provider.getPublicKey());
81
81
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckb-ccc/okx",
3
- "version": "0.0.10-alpha.0",
3
+ "version": "0.0.10-alpha.1",
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",
@@ -46,5 +46,5 @@
46
46
  "@ckb-ccc/nip07": "0.0.10-alpha.0",
47
47
  "@ckb-ccc/uni-sat": "0.0.10-alpha.0"
48
48
  },
49
- "gitHead": "8a4c789419f5e12e1f230cead213c59373834a1a"
49
+ "gitHead": "02feb9428353aaf2c63c927e9ad45fa4b175d956"
50
50
  }
package/src/btc/index.ts CHANGED
@@ -89,7 +89,7 @@ export class BitcoinSigner extends ccc.SignerBtc {
89
89
  if (!account) {
90
90
  throw Error("Not connected");
91
91
  }
92
- return ccc.hexFrom(account.publicKey);
92
+ return ccc.hexFrom(account.compressedPublicKey);
93
93
  }
94
94
 
95
95
  return ccc.hexFrom(await this.provider.getPublicKey());