@dfinity/ckbtc 3.1.10 → 3.1.11

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/README.md CHANGED
@@ -78,9 +78,20 @@ Parameters:
78
78
 
79
79
  [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/ckbtc/src/minter.canister.ts#L42)
80
80
 
81
- #### Methods
81
+ #### Static Methods
82
82
 
83
83
  - [create](#gear-create)
84
+
85
+ ##### :gear: create
86
+
87
+ | Method | Type |
88
+ | -------- | ------------------------------------------------------------------ |
89
+ | `create` | `(options: CkBTCCanisterOptions<_SERVICE>) => CkBTCMinterCanister` |
90
+
91
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/ckbtc/src/minter.canister.ts#L43)
92
+
93
+ #### Methods
94
+
84
95
  - [getBtcAddress](#gear-getbtcaddress)
85
96
  - [updateBalance](#gear-updatebalance)
86
97
  - [getWithdrawalAccount](#gear-getwithdrawalaccount)
@@ -92,14 +103,6 @@ Parameters:
92
103
  - [getMinterInfo](#gear-getminterinfo)
93
104
  - [getKnownUtxos](#gear-getknownutxos)
94
105
 
95
- ##### :gear: create
96
-
97
- | Method | Type |
98
- | -------- | ------------------------------------------------------------------ |
99
- | `create` | `(options: CkBTCCanisterOptions<_SERVICE>) => CkBTCMinterCanister` |
100
-
101
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/ckbtc/src/minter.canister.ts#L43)
102
-
103
106
  ##### :gear: getBtcAddress
104
107
 
105
108
  Returns a BTC address for a given account.
@@ -278,11 +281,9 @@ Parameters:
278
281
 
279
282
  [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/ckbtc/src/bitcoin.canister.ts#L17)
280
283
 
281
- #### Methods
284
+ #### Static Methods
282
285
 
283
286
  - [create](#gear-create)
284
- - [getUtxosQuery](#gear-getutxosquery)
285
- - [getBalanceQuery](#gear-getbalancequery)
286
287
 
287
288
  ##### :gear: create
288
289
 
@@ -292,6 +293,11 @@ Parameters:
292
293
 
293
294
  [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/ckbtc/src/bitcoin.canister.ts#L18)
294
295
 
296
+ #### Methods
297
+
298
+ - [getUtxosQuery](#gear-getutxosquery)
299
+ - [getBalanceQuery](#gear-getbalancequery)
300
+
295
301
  ##### :gear: getUtxosQuery
296
302
 
297
303
  Given a `get_utxos_request`, which must specify a Bitcoin address and a Bitcoin network (`mainnet`, `testnet` or `regtest`), the function returns all unspent transaction outputs (UTXOs) associated with the provided address in the specified Bitcoin network based on the current view of the Bitcoin blockchain available to the Bitcoin component.
@@ -1,4 +1,4 @@
1
- // Generated from IC repo commit 2f02a66 (2025-02-13 tags: release-2025-02-20_10-16-disable-best-effort-messaging) 'rs/bitcoin/ckbtc/minter/ckbtc_minter.did' by import-candid
1
+ // Generated from IC repo commit 3ae3649 (2025-03-26 tags: release-2025-03-27_03-14-base) 'rs/bitcoin/ckbtc/minter/ckbtc_minter.did' by import-candid
2
2
  // Represents an account on the ckBTC ledger.
3
3
  type Account = record { owner : principal; subaccount : opt blob };
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dfinity/ckbtc",
3
- "version": "3.1.10",
3
+ "version": "3.1.11",
4
4
  "description": "A library for interfacing with ckBTC.",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/cjs/index.cjs.js",
@@ -41,7 +41,7 @@
41
41
  "@dfinity/agent": "^2.0.0",
42
42
  "@dfinity/candid": "^2.0.0",
43
43
  "@dfinity/principal": "^2.0.0",
44
- "@dfinity/utils": "^2.11.0"
44
+ "@dfinity/utils": "^2.12.0"
45
45
  },
46
46
  "dependencies": {
47
47
  "@noble/hashes": "^1.3.2",