Skip to content

Commit

Permalink
chore: update deps (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-smart authored May 30, 2023
1 parent d386222 commit 9911b3e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 16 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@effect/io": "^0.25.13",
"@effect/schema": "^0.19.3",
"@effect/stream": "^0.21.1",
"dfx": "^0.47.4",
"dfx": "^0.47.5",
"dotenv": "^16.0.3",
"effect-schema-class": "^0.3.0",
"html-entities": "^2.3.3",
Expand Down
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 1 addition & 5 deletions src/AutoThreads.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,11 +181,7 @@ const make = ({ topicKeyword }: AutoThreadsOptions) =>
context: Ix.Interaction,
}),
Effect.tap(({ title, context }) =>
pipe(
rest.modifyChannel(context.channel_id!, { name: title }),
Effect.flatMap(_ => _.json),
Effect.tap(channels.put),
),
rest.modifyChannel(context.channel_id!, { name: title }),
),
Effect.as(
Ix.response({
Expand Down
4 changes: 2 additions & 2 deletions src/DocsLookup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ const make = Effect.gen(function* (_) {
pipe(
Effect.all({
key: ix.optionValue("query"),
reveal: Effect.map(
reveal: Effect.someOrElse(
ix.optionValueOptional("public"),
Option.getOrElse(() => false),
() => false,
),
docs: allDocs,
}),
Expand Down
5 changes: 1 addition & 4 deletions src/Summarizer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,10 +224,7 @@ ${message.content
pipe(
Effect.all({
context: Ix.Interaction,
small: Effect.map(
ix.optionValueOptional("small"),
Option.getOrElse(() => true),
),
small: Effect.someOrElse(ix.optionValueOptional("small"), () => true),
}),
Effect.bind("channel", ({ context }) =>
channels.get(context.guild_id!, context.channel_id!),
Expand Down

0 comments on commit 9911b3e

Please sign in to comment.