Skip to content

Commit 608ef99

Browse files
feat(api): manual updates
1 parent d0d45ee commit 608ef99

File tree

4 files changed

+10
-14
lines changed

4 files changed

+10
-14
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 42
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/imagekit-inc%2Fimagekit-d1a3e6dfc45ae832b6b14a0aef25878985c679fa9f48c1470df188b1578ba648.yml
33
openapi_spec_hash: 1d382866fce3284f26d341f112988d9d
4-
config_hash: c9c7bed2a4341f915a2dc85958ce7f0e
4+
config_hash: 51a9632be24fc533ad69a5bd56934651

packages/mcp-server/cloudflare-worker/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const serverConfig: ServerConfig = {
3030
key: 'password',
3131
label: 'Password',
3232
description:
33-
'Leave this field unset. ImageKit uses Basic Authentication scheme that requires the `private_key` as the username and empty string as the password.\nThe password field is automatically managed by the SDK and should not be set.\n',
33+
'ImageKit uses your API key as username and ignores the password. \nThe SDK sets a dummy value. You can ignore this field.\n',
3434
required: false,
3535
default: 'do_not_set',
3636
placeholder: 'My Password',
@@ -40,7 +40,7 @@ const serverConfig: ServerConfig = {
4040
key: 'webhookSecret',
4141
label: 'Webhook Secret',
4242
description:
43-
'Your ImageKit webhook secret used by the SDK to verify webhook signatures for security.\nThis secret starts with a `whsec_` prefix and is essential for webhook verification.\nYou can view and manage your webhook secret in the [ImageKit dashboard](https://imagekit.io/dashboard/developer/webhooks).\n\n**Security Note**: Treat this secret like a password - keep it private and never expose it publicly.\nThis field is optional and only required if you plan to use webhook signature verification.\nLearn more about [webhook verification](https://imagekit.io/docs/webhooks#verify-webhook-signature).\n',
43+
"Your ImageKit webhook secret for verifying webhook signatures (starts with `whsec_`).\nYou can find this in the [ImageKit dashboard](https://imagekit.io/dashboard/developer/webhooks).\nOnly required if you're using webhooks.\n",
4444
required: false,
4545
default: null,
4646
placeholder: 'My Webhook Secret',

packages/mcp-server/manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@
3535
},
3636
"OPTIONAL_IMAGEKIT_IGNORES_THIS": {
3737
"title": "password",
38-
"description": "Leave this field unset. ImageKit uses Basic Authentication scheme that requires the `private_key` as the username and empty string as the password.\nThe password field is automatically managed by the SDK and should not be set.\n",
38+
"description": "ImageKit uses your API key as username and ignores the password. \nThe SDK sets a dummy value. You can ignore this field.\n",
3939
"required": false,
4040
"type": "string"
4141
},
4242
"IMAGEKIT_WEBHOOK_SECRET": {
4343
"title": "webhook_secret",
44-
"description": "Your ImageKit webhook secret used by the SDK to verify webhook signatures for security.\nThis secret starts with a `whsec_` prefix and is essential for webhook verification.\nYou can view and manage your webhook secret in the [ImageKit dashboard](https://imagekit.io/dashboard/developer/webhooks).\n\n**Security Note**: Treat this secret like a password - keep it private and never expose it publicly.\nThis field is optional and only required if you plan to use webhook signature verification.\nLearn more about [webhook verification](https://imagekit.io/docs/webhooks#verify-webhook-signature).\n",
44+
"description": "Your ImageKit webhook secret for verifying webhook signatures (starts with `whsec_`).\nYou can find this in the [ImageKit dashboard](https://imagekit.io/dashboard/developer/webhooks).\nOnly required if you're using webhooks.\n",
4545
"required": false,
4646
"type": "string"
4747
}

src/client.ts

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -95,20 +95,16 @@ export interface ClientOptions {
9595
privateKey?: string | undefined;
9696

9797
/**
98-
* Leave this field unset. ImageKit uses Basic Authentication scheme that requires the `private_key` as the username and empty string as the password.
99-
* The password field is automatically managed by the SDK and should not be set.
98+
* ImageKit uses your API key as username and ignores the password.
99+
* The SDK sets a dummy value. You can ignore this field.
100100
*
101101
*/
102102
password?: string | null | undefined;
103103

104104
/**
105-
* Your ImageKit webhook secret used by the SDK to verify webhook signatures for security.
106-
* This secret starts with a `whsec_` prefix and is essential for webhook verification.
107-
* You can view and manage your webhook secret in the [ImageKit dashboard](https://imagekit.io/dashboard/developer/webhooks).
108-
*
109-
* **Security Note**: Treat this secret like a password - keep it private and never expose it publicly.
110-
* This field is optional and only required if you plan to use webhook signature verification.
111-
* Learn more about [webhook verification](https://imagekit.io/docs/webhooks#verify-webhook-signature).
105+
* Your ImageKit webhook secret for verifying webhook signatures (starts with `whsec_`).
106+
* You can find this in the [ImageKit dashboard](https://imagekit.io/dashboard/developer/webhooks).
107+
* Only required if you're using webhooks.
112108
*
113109
*/
114110
webhookSecret?: string | null | undefined;

0 commit comments

Comments
 (0)