otomato-sdk 2.0.288 → 2.0.290
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.
|
@@ -6503,6 +6503,87 @@ export const TRIGGERS = {
|
|
|
6503
6503
|
"blockId": 61,
|
|
6504
6504
|
"image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/defillama.webp"
|
|
6505
6505
|
}
|
|
6506
|
+
},
|
|
6507
|
+
"OVERPASS_IP": {
|
|
6508
|
+
"description": "Maximize the potential of your NFT's with OverpassIP.",
|
|
6509
|
+
"image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/overpass_ip.webp",
|
|
6510
|
+
"ON_NEW_OPPORTUNITY": {
|
|
6511
|
+
"name": "New Licensing Opportunity",
|
|
6512
|
+
"description": "Notifies when a new licensing opportunity is available for selected NFT collections.",
|
|
6513
|
+
"type": 3,
|
|
6514
|
+
"method": "POST",
|
|
6515
|
+
"output": {
|
|
6516
|
+
"title": "string"
|
|
6517
|
+
},
|
|
6518
|
+
"parameters": [
|
|
6519
|
+
{
|
|
6520
|
+
"key": "collectionDeal",
|
|
6521
|
+
"type": "string",
|
|
6522
|
+
"enum": [
|
|
6523
|
+
"Lil Pudgys",
|
|
6524
|
+
"Pudgy Penguins",
|
|
6525
|
+
"Pudgy Rods"
|
|
6526
|
+
],
|
|
6527
|
+
"description": "Filter opportunities by one or more NFT collections.",
|
|
6528
|
+
"mandatory": false,
|
|
6529
|
+
"category": 1
|
|
6530
|
+
},
|
|
6531
|
+
{
|
|
6532
|
+
"key": "condition",
|
|
6533
|
+
"type": "logic_operator",
|
|
6534
|
+
"description": "Logic operator for comparing the new opportunities (e.g. ==, !=)",
|
|
6535
|
+
"category": 0,
|
|
6536
|
+
"hideInUI": true
|
|
6537
|
+
},
|
|
6538
|
+
{
|
|
6539
|
+
"key": "comparisonValue",
|
|
6540
|
+
"type": "boolean",
|
|
6541
|
+
"description": "Comparison target: true if should be new",
|
|
6542
|
+
"category": 0,
|
|
6543
|
+
"hideInUI": true
|
|
6544
|
+
},
|
|
6545
|
+
],
|
|
6546
|
+
"examples": [
|
|
6547
|
+
{
|
|
6548
|
+
"name": "Notify when a new opportunity is available for Pudgy Penguins holders",
|
|
6549
|
+
"description": "Triggers when a new licensing opportunity is available for Pudgy Penguins holders.",
|
|
6550
|
+
"parameters": [
|
|
6551
|
+
{
|
|
6552
|
+
"key": "collectionDeal",
|
|
6553
|
+
"value": "Pudgy Penguins"
|
|
6554
|
+
},
|
|
6555
|
+
{
|
|
6556
|
+
"key": "condition",
|
|
6557
|
+
"value": "eq"
|
|
6558
|
+
},
|
|
6559
|
+
{
|
|
6560
|
+
"key": "comparisonValue",
|
|
6561
|
+
"value": true
|
|
6562
|
+
}
|
|
6563
|
+
]
|
|
6564
|
+
},
|
|
6565
|
+
{
|
|
6566
|
+
"name": "Notify when a new opportunity is available for any supported collection",
|
|
6567
|
+
"description": "Triggers when a new licensing opportunity is available for any supported collection.",
|
|
6568
|
+
"parameters": [
|
|
6569
|
+
{
|
|
6570
|
+
"key": "collectionDeal",
|
|
6571
|
+
"value": ""
|
|
6572
|
+
},
|
|
6573
|
+
{
|
|
6574
|
+
"key": "condition",
|
|
6575
|
+
"value": "eq"
|
|
6576
|
+
},
|
|
6577
|
+
{
|
|
6578
|
+
"key": "comparisonValue",
|
|
6579
|
+
"value": true
|
|
6580
|
+
}
|
|
6581
|
+
]
|
|
6582
|
+
}
|
|
6583
|
+
],
|
|
6584
|
+
"blockId": 66,
|
|
6585
|
+
"image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/overpass_ip.webp"
|
|
6586
|
+
}
|
|
6506
6587
|
}
|
|
6507
6588
|
},
|
|
6508
6589
|
"ETFS": {
|
|
@@ -545,15 +545,15 @@ const createMonitorHyperliquidFundingRatesWorkflow = () => {
|
|
|
545
545
|
gsheetAction.setParams("mode", "append");
|
|
546
546
|
gsheetAction.setPosition(400, 240);
|
|
547
547
|
const edge = new Edge({ source: trigger, target: gsheetAction });
|
|
548
|
-
const workflow = new Workflow(`
|
|
548
|
+
const workflow = new Workflow(`Save Hyperliquid hourly funding rates in a Google Sheet`, [trigger, gsheetAction], [edge]);
|
|
549
549
|
return workflow;
|
|
550
550
|
};
|
|
551
551
|
export const WORKFLOW_TEMPLATES = [
|
|
552
552
|
{
|
|
553
|
-
'name': '
|
|
554
|
-
'description': '
|
|
553
|
+
'name': 'Save Hyperliquid hourly funding rates in a Google Sheet',
|
|
554
|
+
'description': 'Save Hyperliquid hourly funding rates for a selection of 20 assets (BTC, ETH, BNB, SOL, XRP, ADA, AVAX, DOGE, etc.) in a Google Sheet.',
|
|
555
555
|
'tags': [WORKFLOW_TEMPLATES_TAGS.DEXES, WORKFLOW_TEMPLATES_TAGS.NOTIFICATIONS],
|
|
556
|
-
'thumbnail': 'https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/templates/
|
|
556
|
+
'thumbnail': 'https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/templates/google_sheet_template.webp',
|
|
557
557
|
'image': [
|
|
558
558
|
TRIGGERS.CORE.EVERY_PERIOD.EVERY_PERIOD.image,
|
|
559
559
|
ACTIONS.OTHERS.GSHEET.GSHEET.image
|
|
@@ -2420,6 +2420,33 @@ export declare const TRIGGERS: {
|
|
|
2420
2420
|
image: string;
|
|
2421
2421
|
};
|
|
2422
2422
|
};
|
|
2423
|
+
OVERPASS_IP: {
|
|
2424
|
+
description: string;
|
|
2425
|
+
image: string;
|
|
2426
|
+
ON_NEW_OPPORTUNITY: {
|
|
2427
|
+
name: string;
|
|
2428
|
+
description: string;
|
|
2429
|
+
type: number;
|
|
2430
|
+
method: string;
|
|
2431
|
+
output: {
|
|
2432
|
+
title: string;
|
|
2433
|
+
};
|
|
2434
|
+
parameters: Parameter[];
|
|
2435
|
+
examples: {
|
|
2436
|
+
name: string;
|
|
2437
|
+
description: string;
|
|
2438
|
+
parameters: ({
|
|
2439
|
+
key: string;
|
|
2440
|
+
value: string;
|
|
2441
|
+
} | {
|
|
2442
|
+
key: string;
|
|
2443
|
+
value: boolean;
|
|
2444
|
+
})[];
|
|
2445
|
+
}[];
|
|
2446
|
+
blockId: number;
|
|
2447
|
+
image: string;
|
|
2448
|
+
};
|
|
2449
|
+
};
|
|
2423
2450
|
};
|
|
2424
2451
|
ETFS: {
|
|
2425
2452
|
IBIT: {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "2.0.
|
|
1
|
+
export declare const SDK_VERSION = "2.0.290";
|
|
2
2
|
export declare function compareVersions(v1: string, v2: string): number;
|