@akta/sdk 1.1.0 → 1.2.0

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.
@@ -1079,6 +1079,7 @@ var ProposalActionEnum = /* @__PURE__ */ ((ProposalActionEnum2) => {
1079
1079
  ProposalActionEnum2[ProposalActionEnum2["NewEscrow"] = 70] = "NewEscrow";
1080
1080
  ProposalActionEnum2[ProposalActionEnum2["ToggleEscrowLock"] = 71] = "ToggleEscrowLock";
1081
1081
  ProposalActionEnum2[ProposalActionEnum2["UpdateFields"] = 80] = "UpdateFields";
1082
+ ProposalActionEnum2[ProposalActionEnum2["UpdateWallet"] = 90] = "UpdateWallet";
1082
1083
  return ProposalActionEnum2;
1083
1084
  })(ProposalActionEnum || {});
1084
1085
  var EMPTY_CID = Buffer.from("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx");
@@ -1560,6 +1561,10 @@ var AkitaDaoSDK = class extends BaseSDK {
1560
1561
  structType = "ProposalUpdateField";
1561
1562
  break;
1562
1563
  }
1564
+ case 90 /* UpdateWallet */: {
1565
+ preppedActions.push([typedAction.type, new Uint8Array()]);
1566
+ continue;
1567
+ }
1563
1568
  default: {
1564
1569
  throw new Error(`Unsupported proposal action type`);
1565
1570
  }
@@ -1775,6 +1780,9 @@ var AkitaDaoSDK = class extends BaseSDK {
1775
1780
  return "ProposalToggleEscrowLock";
1776
1781
  case 80 /* UpdateFields */:
1777
1782
  return "ProposalUpdateField";
1783
+ case 90 /* UpdateWallet */:
1784
+ return "";
1785
+ // No struct — empty data
1778
1786
  default:
1779
1787
  throw new Error(`Unknown proposal action type: ${actionType}`);
1780
1788
  }
@@ -1834,6 +1842,9 @@ var AkitaDaoSDK = class extends BaseSDK {
1834
1842
  const decoded = getABIDecodedValue(actionData, structType, structs);
1835
1843
  return { type: 80 /* UpdateFields */, ...decoded };
1836
1844
  }
1845
+ case 90 /* UpdateWallet */: {
1846
+ return { type: 90 /* UpdateWallet */ };
1847
+ }
1837
1848
  default:
1838
1849
  throw new Error(`Unknown proposal action type: ${actionType}`);
1839
1850
  }
@@ -1870,4 +1881,4 @@ export {
1870
1881
  DAOProposalVotesMBR,
1871
1882
  AkitaDaoSDK
1872
1883
  };
1873
- //# sourceMappingURL=chunk-H76YCOUY.mjs.map
1884
+ //# sourceMappingURL=chunk-TQADXRCE.mjs.map