Skip to content

Commit 711999c

Browse files
committed
Merge remote-tracking branch 'origin/luca/subnet-status' into luca/api-v3-readstate
2 parents f6f207e + 95c67e5 commit 711999c

File tree

1 file changed

+4
-1
lines changed
  • packages/core/src/agent/canisterStatus

1 file changed

+4
-1
lines changed

packages/core/src/agent/canisterStatus/index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,10 @@ export type CanisterStatusOptions = {
7070
/**
7171
* Requests information from a canister's `read_state` endpoint.
7272
* Can be used to request information about the canister's controllers, time, module hash, candid interface, and more.
73-
* @deprecated Requesting the `subnet` path from the canister status might be deprecated in the future. Use {@link https://js.icp.build/core/latest/libs/agent/api/namespaces/subnetstatus/functions/request | SubnetStatus.request} to fetch subnet information instead.
73+
*
74+
* > [!WARNING]
75+
* > Requesting the `subnet` path from the canister status might be deprecated in the future.
76+
* > Use {@link https://js.icp.build/core/latest/libs/agent/api/namespaces/subnetstatus/functions/request | SubnetStatus.request} to fetch subnet information instead.
7477
* @param {CanisterStatusOptions} options The configuration for the canister status request.
7578
* @see {@link CanisterStatusOptions} for detailed options.
7679
* @returns {Promise<StatusMap>} A map populated with data from the requested paths. Each path is a key in the map, and the value is the data obtained from the certificate for that path.

0 commit comments

Comments
 (0)