@typemove/aptos 1.8.1-rc.1 → 1.8.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typemove/aptos",
3
- "version": "1.8.1-rc.1",
3
+ "version": "1.8.1",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "exports": {
@@ -47,7 +47,7 @@
47
47
  "commander": "^12.0.0",
48
48
  "prettier": "^3.2.4",
49
49
  "radash": "^12.0.0",
50
- "@typemove/move": "1.8.1-rc.1"
50
+ "@typemove/move": "1.8.1"
51
51
  },
52
52
  "url": "https://github.com/sentioxyz/typemove",
53
53
  "scripts": {
@@ -74,6 +74,10 @@ export class AptosChainAdapter extends ChainAdapter<MoveModuleBytecode, Event |
74
74
  if (struct.isEvent) {
75
75
  eventMap.set(typeName, struct)
76
76
  }
77
+ if (struct.name.endsWith('Event')) {
78
+ // this is a hack to support some old events
79
+ eventMap.set(typeName, struct)
80
+ }
77
81
 
78
82
  structMap.set(qname + SPLITTER + struct.name, struct)
79
83
  }
@@ -14323,6 +14323,12 @@ export namespace staking_contract {
14323
14323
  }
14324
14324
  }
14325
14325
 
14326
+ export interface StakingGroupUpdateCommissionEventInstance
14327
+ extends TypedEventInstance<StakingGroupUpdateCommissionEvent> {
14328
+ data_decoded: StakingGroupUpdateCommissionEvent;
14329
+ type_arguments: [];
14330
+ }
14331
+
14326
14332
  export interface Store {
14327
14333
  staking_contracts: simple_map.SimpleMap<
14328
14334
  MoveAddressType,