otomato-sdk 2.0.460 → 2.0.462

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.
@@ -1,4 +1,4 @@
1
- export const SDK_VERSION = '2.0.460';
1
+ export const SDK_VERSION = '2.0.462';
2
2
  export function compareVersions(v1, v2) {
3
3
  // Split the version strings into parts
4
4
  const v1Parts = v1.split('.').map(Number);
@@ -1018,6 +1018,62 @@ export declare const TRIGGERS: {
1018
1018
  blockId: number;
1019
1019
  image: string;
1020
1020
  };
1021
+ V3_SUPPLY_CAP_CHANGE: {
1022
+ name: string;
1023
+ dynamicName: string;
1024
+ description: string;
1025
+ type: number;
1026
+ prototype: string;
1027
+ method: string;
1028
+ parameters: Parameter[];
1029
+ output: {
1030
+ previousCap: string;
1031
+ newCap: string;
1032
+ direction: string;
1033
+ timestamp: string;
1034
+ };
1035
+ examples: {
1036
+ name: string;
1037
+ description: string;
1038
+ parameters: ({
1039
+ key: string;
1040
+ value: number;
1041
+ } | {
1042
+ key: string;
1043
+ value: string;
1044
+ })[];
1045
+ }[];
1046
+ blockId: number;
1047
+ image: string;
1048
+ };
1049
+ V3_BORROW_CAP_CHANGE: {
1050
+ name: string;
1051
+ dynamicName: string;
1052
+ description: string;
1053
+ type: number;
1054
+ prototype: string;
1055
+ method: string;
1056
+ parameters: Parameter[];
1057
+ output: {
1058
+ previousCap: string;
1059
+ newCap: string;
1060
+ direction: string;
1061
+ timestamp: string;
1062
+ };
1063
+ examples: {
1064
+ name: string;
1065
+ description: string;
1066
+ parameters: ({
1067
+ key: string;
1068
+ value: number;
1069
+ } | {
1070
+ key: string;
1071
+ value: string;
1072
+ })[];
1073
+ }[];
1074
+ blockId: number;
1075
+ image: string;
1076
+ };
1021
1077
  };
1022
1078
  MOONWELL: {
1023
1079
  description: string;
@@ -1,2 +1,2 @@
1
- export declare const SDK_VERSION = "2.0.460";
1
+ export declare const SDK_VERSION = "2.0.462";
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.460",
3
+ "version": "2.0.462",
4
4
  "description": "An SDK for building and managing automations on Otomato",
5
5
  "repository": {
6
6
  "type": "git",