@dfinity/cmc 7.0.0-next-2025-10-22.4 → 7.0.0
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 +7 -7
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -55,7 +55,7 @@ const rate = await getIcpToCyclesConversionRate();
|
|
|
55
55
|
|
|
56
56
|
### :factory: CMCCanister
|
|
57
57
|
|
|
58
|
-
[:link: Source](https://github.com/dfinity/
|
|
58
|
+
[:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/cmc/src/cmc.canister.ts#L15)
|
|
59
59
|
|
|
60
60
|
#### Static Methods
|
|
61
61
|
|
|
@@ -67,7 +67,7 @@ const rate = await getIcpToCyclesConversionRate();
|
|
|
67
67
|
| -------- | ---------------------------------------------- |
|
|
68
68
|
| `create` | `(options: CMCCanisterOptions) => CMCCanister` |
|
|
69
69
|
|
|
70
|
-
[:link: Source](https://github.com/dfinity/
|
|
70
|
+
[:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/cmc/src/cmc.canister.ts#L16)
|
|
71
71
|
|
|
72
72
|
#### Methods
|
|
73
73
|
|
|
@@ -94,7 +94,7 @@ Returns:
|
|
|
94
94
|
|
|
95
95
|
Promise<BigInt>
|
|
96
96
|
|
|
97
|
-
[:link: Source](https://github.com/dfinity/
|
|
97
|
+
[:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/cmc/src/cmc.canister.ts#L35)
|
|
98
98
|
|
|
99
99
|
##### :gear: notifyCreateCanister
|
|
100
100
|
|
|
@@ -109,7 +109,7 @@ Returns:
|
|
|
109
109
|
|
|
110
110
|
Promise<Principal>
|
|
111
111
|
|
|
112
|
-
[:link: Source](https://github.com/dfinity/
|
|
112
|
+
[:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/cmc/src/cmc.canister.ts#L57)
|
|
113
113
|
|
|
114
114
|
##### :gear: notifyTopUp
|
|
115
115
|
|
|
@@ -124,7 +124,7 @@ Returns:
|
|
|
124
124
|
|
|
125
125
|
Promise<Cycles>
|
|
126
126
|
|
|
127
|
-
[:link: Source](https://github.com/dfinity/
|
|
127
|
+
[:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/cmc/src/cmc.canister.ts#L85)
|
|
128
128
|
|
|
129
129
|
##### :gear: getDefaultSubnets
|
|
130
130
|
|
|
@@ -146,7 +146,7 @@ Returns:
|
|
|
146
146
|
- A promise that resolves to an array of `Principal` objects
|
|
147
147
|
representing the default subnets.
|
|
148
148
|
|
|
149
|
-
[:link: Source](https://github.com/dfinity/
|
|
149
|
+
[:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/cmc/src/cmc.canister.ts#L110)
|
|
150
150
|
|
|
151
151
|
##### :gear: getSubnetTypesToSubnets
|
|
152
152
|
|
|
@@ -169,6 +169,6 @@ Returns:
|
|
|
169
169
|
- A promise that resolves to an object representing
|
|
170
170
|
the mapping of subnet types to subnets.
|
|
171
171
|
|
|
172
|
-
[:link: Source](https://github.com/dfinity/
|
|
172
|
+
[:link: Source](https://github.com/dfinity/icp-js-canisters/tree/main/packages/cmc/src/cmc.canister.ts#L129)
|
|
173
173
|
|
|
174
174
|
<!-- TSDOC_END -->
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dfinity/cmc",
|
|
3
|
-
"version": "7.0.0
|
|
3
|
+
"version": "7.0.0",
|
|
4
4
|
"description": "A library for interfacing with the cycle minting canister.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
},
|
|
34
34
|
"repository": {
|
|
35
35
|
"type": "git",
|
|
36
|
-
"url": "git+https://github.com/dfinity/
|
|
36
|
+
"url": "git+https://github.com/dfinity/icp-js-canisters.git",
|
|
37
37
|
"directory": "packages/cmc"
|
|
38
38
|
},
|
|
39
39
|
"bugs": {
|
|
40
|
-
"url": "https://github.com/dfinity/
|
|
40
|
+
"url": "https://github.com/dfinity/icp-js-canisters"
|
|
41
41
|
},
|
|
42
42
|
"keywords": [
|
|
43
43
|
"internet computer",
|
|
@@ -47,9 +47,9 @@
|
|
|
47
47
|
"cmc",
|
|
48
48
|
"cycle minting canister"
|
|
49
49
|
],
|
|
50
|
-
"homepage": "https://github.com/dfinity/
|
|
50
|
+
"homepage": "https://github.com/dfinity/icp-js-canisters#readme",
|
|
51
51
|
"peerDependencies": {
|
|
52
|
-
"@dfinity/utils": "
|
|
53
|
-
"@icp-sdk/core": "
|
|
52
|
+
"@dfinity/utils": "^4",
|
|
53
|
+
"@icp-sdk/core": "^4"
|
|
54
54
|
}
|
|
55
|
-
}
|
|
55
|
+
}
|