@dedot/chaintypes 0.0.1-alpha.41 → 0.0.1-alpha.43

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.
@@ -377,6 +377,11 @@ export interface ChainEvents extends GenericChainEvents {
377
377
  **/
378
378
  ForceEra: GenericPalletEvent<'Staking', 'ForceEra', { mode: PalletStakingForcing }>;
379
379
 
380
+ /**
381
+ * Report of a controller batch deprecation.
382
+ **/
383
+ ControllerBatchDeprecated: GenericPalletEvent<'Staking', 'ControllerBatchDeprecated', { failures: number }>;
384
+
380
385
  /**
381
386
  * Generic pallet event
382
387
  **/
package/kusama/types.d.ts CHANGED
@@ -342,7 +342,11 @@ export type PalletStakingPalletEvent =
342
342
  /**
343
343
  * A new force era mode was set.
344
344
  **/
345
- | { name: 'ForceEra'; data: { mode: PalletStakingForcing } };
345
+ | { name: 'ForceEra'; data: { mode: PalletStakingForcing } }
346
+ /**
347
+ * Report of a controller batch deprecation.
348
+ **/
349
+ | { name: 'ControllerBatchDeprecated'; data: { failures: number } };
346
350
 
347
351
  export type PalletStakingRewardDestination =
348
352
  | { tag: 'Staked' }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dedot/chaintypes",
3
- "version": "0.0.1-alpha.41",
3
+ "version": "0.0.1-alpha.43",
4
4
  "description": "Types for substrate-based chains",
5
5
  "author": "Thang X. Vu <thang@coongcrafts.io>",
6
6
  "main": "",
@@ -20,7 +20,7 @@
20
20
  "directory": "dist"
21
21
  },
22
22
  "license": "Apache-2.0",
23
- "gitHead": "3395bcaaf9de7fb9b9c6e25e0086066f84ec7cf0",
23
+ "gitHead": "39571fdd6ba8fcf7c48be49c6c4ef36c0ad648b0",
24
24
  "module": "./index.js",
25
25
  "types": "./index.d.ts"
26
26
  }
@@ -450,6 +450,11 @@ export interface ChainEvents extends GenericChainEvents {
450
450
  **/
451
451
  ForceEra: GenericPalletEvent<'Staking', 'ForceEra', { mode: PalletStakingForcing }>;
452
452
 
453
+ /**
454
+ * Report of a controller batch deprecation.
455
+ **/
456
+ ControllerBatchDeprecated: GenericPalletEvent<'Staking', 'ControllerBatchDeprecated', { failures: number }>;
457
+
453
458
  /**
454
459
  * Generic pallet event
455
460
  **/
@@ -383,7 +383,11 @@ export type PalletStakingPalletEvent =
383
383
  /**
384
384
  * A new force era mode was set.
385
385
  **/
386
- | { name: 'ForceEra'; data: { mode: PalletStakingForcing } };
386
+ | { name: 'ForceEra'; data: { mode: PalletStakingForcing } }
387
+ /**
388
+ * Report of a controller batch deprecation.
389
+ **/
390
+ | { name: 'ControllerBatchDeprecated'; data: { failures: number } };
387
391
 
388
392
  export type PalletStakingRewardDestination =
389
393
  | { tag: 'Staked' }