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, shortenAddress } = 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 }",
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,4 +1,4 @@
1
- export const SDK_VERSION = '2.0.307';
1
+ export const SDK_VERSION = '2.0.308';
2
2
  export function compareVersions(v1, v2) {
3
3
  // Split the version strings into parts
4
4
  const v1Parts = v1.split('.').map(Number);
@@ -1,2 +1,2 @@
1
- export declare const SDK_VERSION = "2.0.307";
1
+ export declare const SDK_VERSION = "2.0.308";
2
2
  export declare function compareVersions(v1: string, v2: string): number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "otomato-sdk",
3
- "version": "2.0.307",
3
+ "version": "2.0.308",
4
4
  "description": "An SDK for building and managing automations on Otomato",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/types/src/index.d.ts",