diff --git a/dist/scheduler.js b/dist/scheduler.js index 8d9737b..647cf5f 100644 --- a/dist/scheduler.js +++ b/dist/scheduler.js @@ -103,7 +103,7 @@ class Scheduler { }, types: { AutomationAction: { - _enum: ['Notify', 'NativeTransfer', 'XCMP', 'AutoCompoundDelgatedStake'], + _enum: ['Notify', 'NativeTransfer', 'XCMP', 'AutoCompoundDelegatedStake'], }, AutostakingResult: { period: 'i32', diff --git a/dist/scheduler.js.map b/dist/scheduler.js.map index b9d3f79..da4a42d 100644 --- a/dist/scheduler.js.map +++ b/dist/scheduler.js.map @@ -1 +1 @@ -{"version":3,"file":"scheduler.js","sourceRoot":"","sources":["../src/scheduler.ts"],"names":[],"mappings":";;;AAAA,uCAAsD;AAKtD,4BAA2B;AAE3B,2CASoB;AAOpB;;;;GAIG;AACH,MAAa,SAAS;IAMpB,YAAY,KAAgB;QAC1B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAA;QAClB,IAAI,CAAC,UAAU,GAAG,IAAI,gBAAU,CAAC,8BAAkB,CAAC,KAAK,CAAC,CAAC,CAAA;QAC3D,IAAI,CAAC,mBAAmB,GAAG,mCAAuB,CAAC,KAAK,CAAC,CAAA;IAC3D,CAAC;IAED;;;OAGG;IACK,KAAK,CAAC,YAAY;QACxB,IAAI,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE;YACrB,IAAI,CAAC,GAAG,GAAG,MAAM,gBAAU,CAAC,MAAM,CAAC;gBACjC,QAAQ,EAAE,IAAI,CAAC,UAAU;gBACzB,GAAG,EAAE;oBACH,cAAc,EAAE;wBACd,cAAc,EAAE;4BACd,WAAW,EAAE,kDAAkD;4BAC/D,MAAM,EAAE;gCACN;oCACE,IAAI,EAAE,WAAW;oCACjB,IAAI,EAAE,WAAW;iCAClB;gCACD;oCACE,IAAI,EAAE,YAAY;oCAClB,IAAI,EAAE,MAAM;iCACb;6BACF;4BACD,IAAI,EAAE,MAAM;yBACb;wBACD,qBAAqB,EAAE;4B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CAAC,CAAC,4BAA4B,CAAC,CAC9E,UAAU,EACV,gBAAgB,EAChB,gBAAgB,EAChB,MAAM,CACP,CAAA;QACD,MAAM,eAAe,GAAG,MAAM,SAAS,CAAC,SAAS,CAAC,OAAO,EAAE;YACzD,MAAM;YACN,KAAK,EAAE,CAAC,CAAC;SACV,CAAC,CAAA;QACF,OAAO,eAAe,CAAC,KAAK,EAAE,CAAA;IAChC,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,wBAAwB,CAAC,OAAsB,EAAE,MAAc,EAAE,MAAe;QACpF,MAAM,WAAW,GAAG,MAAM,IAAI,CAAC,YAAY,EAAE,CAAA;QAC7C,MAAM,SAAS,GAAG,WAAW,CAAC,EAAE,CAAC,gBAAgB,CAAC,CAAC,YAAY,CAAC,CAAC,MAAM,CAAC,CAAA;QACxE,MAAM,eAAe,GAAG,MAAM,SAAS,CAAC,SAAS,CAAC,OAAO,EAAE;YACzD,MAAM;YACN,KAAK,EAAE,CAAC,CAAC;SACV,CAAC,CAAA;QACF,OAAO,eAAe,CAAC,KAAK,EAAE,CAAA;IAChC,CAAC;CACF;AAhaD,8BAgaC"} \ No newline at end of file diff --git a/src/scheduler.ts b/src/scheduler.ts index 5b5ed8f..1bd8e79 100644 --- a/src/scheduler.ts +++ b/src/scheduler.ts @@ -126,7 +126,7 @@ export class Scheduler { }, types: { AutomationAction: { - _enum: ['Notify', 'NativeTransfer', 'XCMP', 'AutoCompoundDelgatedStake'], + _enum: ['Notify', 'NativeTransfer', 'XCMP', 'AutoCompoundDelegatedStake'], }, AutostakingResult: { period: 'i32',