otomato-sdk 2.0.307 → 2.0.308
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.
|
@@ -692,7 +692,7 @@ export const TRIGGERS = {
|
|
|
692
692
|
"image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/approval.png",
|
|
693
693
|
"APPROVAL": {
|
|
694
694
|
"name": "Token Approval",
|
|
695
|
-
"dynamicName": "async (env, { otomatoSDK }) => {\n const { getDynamicNameWrapperHTML, getTokenHTML, getChainHTML
|
|
695
|
+
"dynamicName": "async (env, { otomatoSDK }) => {\n const { getDynamicNameWrapperHTML, getTokenHTML, getChainHTML } = otomatoSDK;\n return getDynamicNameWrapperHTML(\n `Monitor`,\n await getTokenHTML(env.parameters.chainId, env.parameters.contractAddress),\n 'approvals',\n `on ${getChainHTML(env.parameters.chainId)}`\n );\n }",
|
|
696
696
|
"description": "Triggers when someone approves this token.",
|
|
697
697
|
"type": 0,
|
|
698
698
|
"output": {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "2.0.
|
|
1
|
+
export declare const SDK_VERSION = "2.0.308";
|
|
2
2
|
export declare function compareVersions(v1: string, v2: string): number;
|