Skip to content

Commit

Permalink
feat: update triggers (auth is required by default)
Browse files Browse the repository at this point in the history
  • Loading branch information
alerdenisov committed Jan 14, 2024
1 parent 31a8bfa commit 79dba54
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/pieces/alchemy/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "@tookey-io/piece-alchemy",
"version": "0.0.2"
"version": "0.0.3"
}
1 change: 0 additions & 1 deletion packages/pieces/alchemy/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,6 @@ block {
export const BlockEventTrigger = createTrigger({
displayName: 'On block event',
auth: AlchemyHooksAuth,
requireAuth: true,
name: 'block_event',
description: 'Trigger on block event',
props: {
Expand Down
2 changes: 1 addition & 1 deletion packages/pieces/epn/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "@tookey-io/piece-epn",
"version": "0.0.4"
"version": "0.0.5"
}
1 change: 0 additions & 1 deletion packages/pieces/epn/src/lib/trigger/balanceChange.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ const polling: Polling<PiecePropValueSchema<typeof EPNAuth>, {}> = {

export const BalanceChange = createTrigger({
auth: EPNAuth,
requireAuth: true,
name: 'balance_change',
displayName: 'Balance change',
description: 'Triggers when account balance is changed',
Expand Down
1 change: 0 additions & 1 deletion packages/pieces/epn/src/lib/trigger/balanceLowerThan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ const polling: Polling<PiecePropValueSchema<typeof EPNAuth>, {}> = {

export const BalanceLowerThan = createTrigger({
auth: EPNAuth,
requireAuth: true,
name: 'balance_lower_than',
displayName: 'Balance lower than',
description: 'Triggers when account balance is lower than specified value',
Expand Down
1 change: 0 additions & 1 deletion packages/pieces/epn/src/lib/trigger/cardIssued.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ const polling: Polling<PiecePropValueSchema<typeof EPNAuth>, {}> = {

export const CardIssued = createTrigger({
auth: EPNAuth,
requireAuth: true,
name: 'card_issued',
displayName: 'Card Issued',
description: 'Triggers when a card is issued',
Expand Down
2 changes: 1 addition & 1 deletion packages/pieces/instant-form/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "@tookey-io/piece-instant-form",
"version": "0.0.2"
"version": "0.0.3"
}
1 change: 0 additions & 1 deletion packages/pieces/instant-form/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ export const instantFormNewResponse = createTrigger({
})
},
auth: InstantFormAuth,
requireAuth: true,
type: TriggerStrategy.WEBHOOK,
async onEnable(ctx) {
const id = await httpClient.sendRequest<{ data: {id: string } }>({
Expand Down

0 comments on commit 79dba54

Please sign in to comment.