@gearbox-protocol/cli-utils 9.4.0 → 9.4.2-beta.1

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +10 -10
  2. package/package.json +7 -7
package/dist/index.d.ts CHANGED
@@ -118,33 +118,33 @@ export declare function getProviders(config: ProvidersSchema, logger?: ILogger):
118
118
  //#region src/notifications/schema.d.ts
119
119
  export declare const TelegramConfig: z.ZodObject<{
120
120
  type: z.ZodLiteral<"telegram">;
121
- token: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<CensoredString<string>, CensoredString<string>>]>, z.ZodTransform<CensoredString<string>, string | CensoredString<string>>>;
122
- alertsChannel: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<CensoredString<string>, CensoredString<string>>]>, z.ZodTransform<CensoredString<string>, string | CensoredString<string>>>;
123
- notificationsChannel: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<CensoredString<string>, CensoredString<string>>]>, z.ZodTransform<CensoredString<string>, string | CensoredString<string>>>>;
121
+ token: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodInstanceOf<CensoredString<string>>]>, z.ZodTransform<CensoredString<string>, string | CensoredString<string>>>;
122
+ alertsChannel: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodInstanceOf<CensoredString<string>>]>, z.ZodTransform<CensoredString<string>, string | CensoredString<string>>>;
123
+ notificationsChannel: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodInstanceOf<CensoredString<string>>]>, z.ZodTransform<CensoredString<string>, string | CensoredString<string>>>>;
124
124
  prefix: z.ZodOptional<z.ZodString>;
125
125
  }, z.core.$strip>;
126
126
  export type TelegramConfig = z.infer<typeof TelegramConfig>;
127
127
  export declare const SlackConfig: z.ZodObject<{
128
128
  type: z.ZodLiteral<"slack">;
129
- webhookUrl: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<CensoredString<string>, CensoredString<string>>]>, z.ZodTransform<CensoredString<string>, string | CensoredString<string>>>;
129
+ webhookUrl: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodInstanceOf<CensoredString<string>>]>, z.ZodTransform<CensoredString<string>, string | CensoredString<string>>>;
130
130
  alertsOnly: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
131
131
  }, z.core.$strip>;
132
132
  export type SlackConfig = z.infer<typeof SlackConfig>;
133
133
  export declare const NotificationConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
134
134
  type: z.ZodLiteral<"telegram">;
135
- token: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<CensoredString<string>, CensoredString<string>>]>, z.ZodTransform<CensoredString<string>, string | CensoredString<string>>>;
136
- alertsChannel: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<CensoredString<string>, CensoredString<string>>]>, z.ZodTransform<CensoredString<string>, string | CensoredString<string>>>;
137
- notificationsChannel: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<CensoredString<string>, CensoredString<string>>]>, z.ZodTransform<CensoredString<string>, string | CensoredString<string>>>>;
135
+ token: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodInstanceOf<CensoredString<string>>]>, z.ZodTransform<CensoredString<string>, string | CensoredString<string>>>;
136
+ alertsChannel: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodInstanceOf<CensoredString<string>>]>, z.ZodTransform<CensoredString<string>, string | CensoredString<string>>>;
137
+ notificationsChannel: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodInstanceOf<CensoredString<string>>]>, z.ZodTransform<CensoredString<string>, string | CensoredString<string>>>>;
138
138
  prefix: z.ZodOptional<z.ZodString>;
139
139
  }, z.core.$strip>, z.ZodObject<{
140
140
  type: z.ZodLiteral<"slack">;
141
- webhookUrl: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<CensoredString<string>, CensoredString<string>>]>, z.ZodTransform<CensoredString<string>, string | CensoredString<string>>>;
141
+ webhookUrl: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodInstanceOf<CensoredString<string>>]>, z.ZodTransform<CensoredString<string>, string | CensoredString<string>>>;
142
142
  alertsOnly: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
143
143
  }, z.core.$strip>], "type">;
144
144
  export type NotificationConfig = z.infer<typeof NotificationConfig>;
145
145
  export declare const SignlConfig: z.ZodObject<{
146
- apiKey: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<CensoredString<string>, CensoredString<string>>]>, z.ZodTransform<CensoredString<string>, string | CensoredString<string>>>;
147
- teamId: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<CensoredString<string>, CensoredString<string>>]>, z.ZodTransform<CensoredString<string>, string | CensoredString<string>>>;
146
+ apiKey: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodInstanceOf<CensoredString<string>>]>, z.ZodTransform<CensoredString<string>, string | CensoredString<string>>>;
147
+ teamId: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodInstanceOf<CensoredString<string>>]>, z.ZodTransform<CensoredString<string>, string | CensoredString<string>>>;
148
148
  }, z.core.$strip>;
149
149
  export type SignlConfig = z.infer<typeof SignlConfig>;
150
150
  //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/cli-utils",
3
- "version": "9.4.0",
3
+ "version": "9.4.2-beta.1",
4
4
  "description": "Utils for creating cli apps",
5
5
  "homepage": "https://gearbox.fi",
6
6
  "keywords": [
@@ -32,11 +32,11 @@
32
32
  "dist"
33
33
  ],
34
34
  "dependencies": {
35
- "@aws-sdk/client-s3": "^3.1127.0",
36
- "@aws-sdk/client-secrets-manager": "^3.1127.0",
37
- "@aws-sdk/client-ssm": "^3.1127.0",
35
+ "@aws-sdk/client-s3": "^3.1129.0",
36
+ "@aws-sdk/client-secrets-manager": "^3.1129.0",
37
+ "@aws-sdk/client-ssm": "^3.1129.0",
38
38
  "@commander-js/extra-typings": "^15.0.0",
39
- "@gearbox-protocol/sdk": "^16.1.1",
39
+ "@gearbox-protocol/sdk": "^16.3.1",
40
40
  "@vlad-yakovlev/telegram-md": "^2.1.0",
41
41
  "abitype": "^1.3.0",
42
42
  "commander": "^15.0.0",
@@ -45,11 +45,11 @@
45
45
  "p-queue": "^9.3.3",
46
46
  "viem": "^2.56.3",
47
47
  "yaml": "^2.9.0",
48
- "zod": "^4.5.4"
48
+ "zod": "^4.6.1"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@types/lodash-es": "^4.17.12",
52
- "@types/node": "^26.4.1",
52
+ "@types/node": "^26.5.1",
53
53
  "tsdown": "^0.23.0",
54
54
  "typescript": "^7.0.2",
55
55
  "vitest": "^5.0.0"