@dfinity/ckbtc 4.0.1-beta-2025-09-25 → 4.0.1-beta-2025-09-30
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 +1 -1
- package/dist/candid/bitcoin.certified.idl.d.ts +1 -1
- package/dist/candid/bitcoin.d.ts +3 -3
- package/dist/candid/bitcoin.idl.d.ts +1 -1
- package/dist/candid/minter.certified.idl.d.ts +1 -1
- package/dist/candid/minter.d.ts +3 -3
- package/dist/candid/minter.did +1 -1
- package/dist/candid/minter.idl.d.ts +1 -1
- package/dist/types/types/canister.options.d.ts +1 -1
- package/dist/types/types/minter.params.d.ts +1 -1
- package/package.json +5 -4
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ npm i @dfinity/ckbtc
|
|
|
21
21
|
The bundle needs peer dependencies, be sure that following resources are available in your project as well.
|
|
22
22
|
|
|
23
23
|
```bash
|
|
24
|
-
npm i @
|
|
24
|
+
npm i @dfinity/agent @dfinity/candid @dfinity/principal @dfinity/utils
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
## Usage
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { IDL } from "@
|
|
1
|
+
import type { IDL } from "@dfinity/candid";
|
|
2
2
|
export const idlFactory: IDL.InterfaceFactory;
|
package/dist/candid/bitcoin.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { ActorMethod } from "@
|
|
2
|
-
import type { IDL } from "@
|
|
3
|
-
import type { Principal } from "@
|
|
1
|
+
import type { ActorMethod } from "@dfinity/agent";
|
|
2
|
+
import type { IDL } from "@dfinity/candid";
|
|
3
|
+
import type { Principal } from "@dfinity/principal";
|
|
4
4
|
|
|
5
5
|
export type address = string;
|
|
6
6
|
export type block_hash = Uint8Array | number[];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { IDL } from "@
|
|
1
|
+
import type { IDL } from "@dfinity/candid";
|
|
2
2
|
export const idlFactory: IDL.InterfaceFactory;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { IDL } from "@
|
|
1
|
+
import type { IDL } from "@dfinity/candid";
|
|
2
2
|
export const idlFactory: IDL.InterfaceFactory;
|
package/dist/candid/minter.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { ActorMethod } from "@
|
|
2
|
-
import type { IDL } from "@
|
|
3
|
-
import type { Principal } from "@
|
|
1
|
+
import type { ActorMethod } from "@dfinity/agent";
|
|
2
|
+
import type { IDL } from "@dfinity/candid";
|
|
3
|
+
import type { Principal } from "@dfinity/principal";
|
|
4
4
|
|
|
5
5
|
export interface Account {
|
|
6
6
|
owner: Principal;
|
package/dist/candid/minter.did
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated from IC repo commit
|
|
1
|
+
// Generated from IC repo commit 206b61a (2025-09-25 tags: release-2025-09-25_09-52-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
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { IDL } from "@
|
|
1
|
+
import type { IDL } from "@dfinity/candid";
|
|
2
2
|
export const idlFactory: IDL.InterfaceFactory;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { Principal } from "@dfinity/principal";
|
|
1
2
|
import type { CanisterOptions } from "@dfinity/utils";
|
|
2
|
-
import type { Principal } from "@icp-sdk/core/principal";
|
|
3
3
|
export interface CkBTCCanisterOptions<T> extends Omit<CanisterOptions<T>, "canisterId"> {
|
|
4
4
|
canisterId: Principal;
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { Principal } from "@dfinity/principal";
|
|
1
2
|
import type { QueryParams } from "@dfinity/utils";
|
|
2
|
-
import type { Principal } from "@icp-sdk/core/principal";
|
|
3
3
|
import type { RetrieveBtcArgs } from "../../candid/minter";
|
|
4
4
|
export interface MinterAccount {
|
|
5
5
|
owner: Principal;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dfinity/ckbtc",
|
|
3
|
-
"version": "4.0.1-beta-2025-09-
|
|
3
|
+
"version": "4.0.1-beta-2025-09-30",
|
|
4
4
|
"description": "A library for interfacing with ckBTC.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "dist/cjs/index.cjs.js",
|
|
@@ -38,9 +38,10 @@
|
|
|
38
38
|
],
|
|
39
39
|
"homepage": "https://github.com/dfinity/ic-js#readme",
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"@dfinity/
|
|
42
|
-
"@
|
|
43
|
-
"@
|
|
41
|
+
"@dfinity/agent": "*",
|
|
42
|
+
"@dfinity/candid": "*",
|
|
43
|
+
"@dfinity/principal": "*",
|
|
44
|
+
"@dfinity/utils": "*"
|
|
44
45
|
},
|
|
45
46
|
"dependencies": {
|
|
46
47
|
"@noble/hashes": "^1.8.0",
|