Skip to content

Commit

Permalink
docs: fix canister_install_mode instead of InstallMode
Browse files Browse the repository at this point in the history
Signed-off-by: David Dal Busco <[email protected]>
  • Loading branch information
peterpeterparker committed Nov 22, 2024
1 parent 26c7221 commit b0c07d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ic-management/src/ic-management.canister.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export class ICManagementCanister {
* Install code to a canister
*
* @param {Object} params
* @param {InstallMode} params.mode
* @param {canister_install_mode} params.mode
* @param {Principal} params.canisterId
* @param {Uint8Array} params.wasmModule
* @param {Uint8Array} params.arg
Expand Down Expand Up @@ -209,7 +209,7 @@ export class ICManagementCanister {
* @link https://internetcomputer.org/docs/current/references/ic-interface-spec/#ic-install_chunked_code
*
* @param {InstallChunkedCodeParams} params
* @param {InstallMode} params.mode Installation, re-installation or upgrade.
* @param {canister_install_mode} params.mode Installation, re-installation or upgrade.
* @param {Uint8Array} params.arg The arguments of the canister.
* @param {Uint8Array | undefined} params.senderCanisterVersion The optional sender_canister_version parameter can contain the caller's canister version.
* @param {Array<chunk_hash>} params.chunkHashesList The list of chunks of the Wasm module to install.
Expand Down

0 comments on commit b0c07d8

Please sign in to comment.