@typemove/aptos 1.7.0 → 1.7.1-rc.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.7.0",
3
+ "version": "1.7.1-rc.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.7.0"
50
+ "@typemove/move": "1.7.1-rc.1"
51
51
  },
52
52
  "url": "https://github.com/sentioxyz/typemove",
53
53
  "scripts": {
@@ -66,6 +66,11 @@ export class AptosChainAdapter extends ChainAdapter<MoveModuleBytecode, Event |
66
66
  const qname = moduleQname(module)
67
67
  for (const struct of module.structs) {
68
68
  const typeName = qname + SPLITTER + struct.name
69
+ // deprecated v2 event
70
+ if (typeName == '0x1::coin::Deposit' || typeName == '0x1::coin::Withdraw') {
71
+ continue
72
+ }
73
+
69
74
  if (struct.isEvent) {
70
75
  eventMap.set(typeName, struct)
71
76
  }
@@ -500,11 +500,6 @@ export namespace coin {
500
500
  }
501
501
  }
502
502
 
503
- export interface DepositInstance extends TypedEventInstance<Deposit<any>> {
504
- data_decoded: Deposit<any>;
505
- type_arguments: [string];
506
- }
507
-
508
503
  export interface DepositEvent {
509
504
  amount: bigint;
510
505
  }
@@ -689,11 +684,6 @@ export namespace coin {
689
684
  }
690
685
  }
691
686
 
692
- export interface WithdrawInstance extends TypedEventInstance<Withdraw<any>> {
693
- data_decoded: Withdraw<any>;
694
- type_arguments: [string];
695
- }
696
-
697
687
  export interface WithdrawEvent {
698
688
  amount: bigint;
699
689
  }