Skip to content
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/l3mbda/l3mbda.app.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default {
},
methods: {
_baseUrl() {
return "https://l3mbda.com/integrations/pipedream";
return "https://l3mbda.com/api/oracles";
},
_headers() {
return {
Expand Down
2 changes: 1 addition & 1 deletion components/l3mbda/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/l3mbda",
"version": "0.1.0",
"version": "0.1.1",
"description": "Pipedream l3mbda Components",
"main": "l3mbda.app.mjs",
"keywords": [
Expand Down
15 changes: 5 additions & 10 deletions components/l3mbda/sources/common/webhook.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,13 @@ export default {
},
createEndpoint(args = {}) {
return this.app.post({
path: "/endpoint",
path: "/simple",
...args,
});
},
deleteEndpoint(args = {}) {
deleteEndpoint(endpointId) {
return this.app.delete({
path: "/endpoint",
...args,
path: `/${endpointId}`
});
},
getEvent() {
Expand Down Expand Up @@ -89,7 +88,7 @@ export default {
},
});

setEndpointId(response.endpointId);
setEndpointId(response.id);
},
async deactivate() {
const {
Expand All @@ -99,11 +98,7 @@ export default {

const endpointId = getEndpointId();
if (endpointId) {
await deleteEndpoint({
data: {
endpointId,
},
});
await deleteEndpoint(endpointId);
}
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default {
key: "l3mbda-new-erc-1155-transfer-instant",
name: "New ERC1155 NFT Transfer (Instant)",
description: "Emit new event when a new ERC1155 NFT transfer is detected by [l3mbda.](https://l3mbda.com/)",
version: "0.0.1",
version: "0.0.2",
type: "source",
dedupe: "unique",
props: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default {
key: "l3mbda-new-erc-20-transfer-instant",
name: "New ERC20 Transfer (Instant)",
description: "Emit new event when a new ERC20 transfer is detected by [l3mbda.](https://l3mbda.com/)",
version: "0.0.1",
version: "0.0.2",
type: "source",
dedupe: "unique",
props: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default {
key: "l3mbda-new-erc-721-transfer-instant",
name: "New ERC721 NFT Transfer (Instant)",
description: "Emit new event when a new ERC721 NFT transfer is detected by [l3mbda.](https://l3mbda.com/)",
version: "0.0.1",
version: "0.0.2",
type: "source",
dedupe: "unique",
props: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default {
key: "l3mbda-new-eth-transfer-instant",
name: "New ETH Transfer (Instant)",
description: "Emit new event when a new ETH transfer is detected by [l3mbda.](https://l3mbda.com/)",
version: "0.0.1",
version: "0.0.2",
type: "source",
dedupe: "unique",
props: {
Expand Down