@dynamic-labs-wallet/aleo 0.0.331 → 0.0.332

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/index.cjs.js CHANGED
@@ -1138,6 +1138,22 @@ function _define_property(obj, key, value) {
1138
1138
  }
1139
1139
  return obj;
1140
1140
  }
1141
+ function _get(target, property, receiver) {
1142
+ if (typeof Reflect !== "undefined" && Reflect.get) {
1143
+ _get = Reflect.get;
1144
+ } else {
1145
+ _get = function get(target, property, receiver) {
1146
+ var base = _super_prop_base(target, property);
1147
+ if (!base) return;
1148
+ var desc = Object.getOwnPropertyDescriptor(base, property);
1149
+ if (desc.get) {
1150
+ return desc.get.call(receiver || target);
1151
+ }
1152
+ return desc.value;
1153
+ };
1154
+ }
1155
+ return _get(target, property, receiver || target);
1156
+ }
1141
1157
  function _get_prototype_of(o) {
1142
1158
  _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
1143
1159
  return o.__proto__ || Object.getPrototypeOf(o);
@@ -1247,6 +1263,13 @@ function _set_prototype_of(o, p) {
1247
1263
  function _sliced_to_array(arr, i) {
1248
1264
  return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
1249
1265
  }
1266
+ function _super_prop_base(object, property) {
1267
+ while(!Object.prototype.hasOwnProperty.call(object, property)){
1268
+ object = _get_prototype_of(object);
1269
+ if (object === null) break;
1270
+ }
1271
+ return object;
1272
+ }
1250
1273
  function _to_consumable_array(arr) {
1251
1274
  return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_spread();
1252
1275
  }
@@ -1745,6 +1768,78 @@ var DynamicAleoWalletClient = /*#__PURE__*/ function(DynamicWalletClient) {
1745
1768
  })();
1746
1769
  }
1747
1770
  },
1771
+ {
1772
+ key: "getReconstructedKeyShare",
1773
+ value: /**
1774
+ * EdBls12377 (Aleo) keygen results store (computeKey, address, secretShare)
1775
+ * rather than a pubkey, so the base class's pubkey-based reconstruction
1776
+ * doesn't apply. Reconstruct directly into EdBls12377KeygenResult.
1777
+ */ function getReconstructedKeyShare(accountAddress, mpcSigner) {
1778
+ var _this = this;
1779
+ var _this1 = this, _superprop_get_getReconstructedKeyShare = function() {
1780
+ return _get(_get_prototype_of(DynamicAleoWalletClient.prototype), "getReconstructedKeyShare", _this);
1781
+ };
1782
+ return _async_to_generator(function() {
1783
+ var clientKeyShares, aleoShare;
1784
+ return _ts_generator(this, function(_state) {
1785
+ switch(_state.label){
1786
+ case 0:
1787
+ if (!_instanceof(mpcSigner, browser.EdBls12377)) {
1788
+ return [
1789
+ 2,
1790
+ _superprop_get_getReconstructedKeyShare().call(_this1, accountAddress, mpcSigner)
1791
+ ];
1792
+ }
1793
+ return [
1794
+ 4,
1795
+ _this1.getClientKeySharesFromStorage({
1796
+ accountAddress: accountAddress
1797
+ })
1798
+ ];
1799
+ case 1:
1800
+ clientKeyShares = _state.sent();
1801
+ if (!clientKeyShares || clientKeyShares.length === 0) {
1802
+ throw new Error('No client key shares found for account');
1803
+ }
1804
+ aleoShare = clientKeyShares[0];
1805
+ if (!aleoShare.computeKey || !aleoShare.address || !aleoShare.secretShare) {
1806
+ throw new Error('EdBls12377 key share reconstruction: stored share missing computeKey/address/secretShare');
1807
+ }
1808
+ return [
1809
+ 2,
1810
+ new browser.EdBls12377KeygenResult(aleoShare.computeKey, aleoShare.address, aleoShare.secretShare)
1811
+ ];
1812
+ }
1813
+ });
1814
+ })();
1815
+ }
1816
+ },
1817
+ {
1818
+ key: "derivePrivateKeyFromExport",
1819
+ value: /**
1820
+ * Aleo has no BIP32/BIP44 derivation — the exported full private key from
1821
+ * EdBls12377 is the canonical raw scalar and is returned as-is.
1822
+ */ function derivePrivateKeyFromExport(mpcSigner, keyExportRaw, wallet) {
1823
+ var _this = this;
1824
+ var _this1 = this, _superprop_get_derivePrivateKeyFromExport = function() {
1825
+ return _get(_get_prototype_of(DynamicAleoWalletClient.prototype), "derivePrivateKeyFromExport", _this);
1826
+ };
1827
+ return _async_to_generator(function() {
1828
+ return _ts_generator(this, function(_state) {
1829
+ if (_instanceof(mpcSigner, browser.EdBls12377)) {
1830
+ return [
1831
+ 2,
1832
+ keyExportRaw
1833
+ ];
1834
+ }
1835
+ return [
1836
+ 2,
1837
+ _superprop_get_derivePrivateKeyFromExport().call(_this1, mpcSigner, keyExportRaw, wallet)
1838
+ ];
1839
+ });
1840
+ })();
1841
+ }
1842
+ },
1748
1843
  {
1749
1844
  key: "signAleoRequest",
1750
1845
  value: /**
package/index.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import { AuthMode, DynamicWalletClient, ERROR_PASSWORD_MISMATCH, getMPCChainConfig, getMPCSigner } from '@dynamic-labs-wallet/browser';
1
+ import { AuthMode, DynamicWalletClient, ERROR_PASSWORD_MISMATCH, getMPCChainConfig, EdBls12377KeygenResult, getMPCSigner, EdBls12377 } from '@dynamic-labs-wallet/browser';
2
2
  import * as AleoSdkMainnet from '@provablehq/sdk/mainnet.js';
3
3
  import * as AleoSdkTestnet from '@provablehq/sdk/testnet.js';
4
4
 
@@ -1116,6 +1116,22 @@ function _define_property(obj, key, value) {
1116
1116
  }
1117
1117
  return obj;
1118
1118
  }
1119
+ function _get(target, property, receiver) {
1120
+ if (typeof Reflect !== "undefined" && Reflect.get) {
1121
+ _get = Reflect.get;
1122
+ } else {
1123
+ _get = function get(target, property, receiver) {
1124
+ var base = _super_prop_base(target, property);
1125
+ if (!base) return;
1126
+ var desc = Object.getOwnPropertyDescriptor(base, property);
1127
+ if (desc.get) {
1128
+ return desc.get.call(receiver || target);
1129
+ }
1130
+ return desc.value;
1131
+ };
1132
+ }
1133
+ return _get(target, property, receiver || target);
1134
+ }
1119
1135
  function _get_prototype_of(o) {
1120
1136
  _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
1121
1137
  return o.__proto__ || Object.getPrototypeOf(o);
@@ -1225,6 +1241,13 @@ function _set_prototype_of(o, p) {
1225
1241
  function _sliced_to_array(arr, i) {
1226
1242
  return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
1227
1243
  }
1244
+ function _super_prop_base(object, property) {
1245
+ while(!Object.prototype.hasOwnProperty.call(object, property)){
1246
+ object = _get_prototype_of(object);
1247
+ if (object === null) break;
1248
+ }
1249
+ return object;
1250
+ }
1228
1251
  function _to_consumable_array(arr) {
1229
1252
  return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_spread();
1230
1253
  }
@@ -1723,6 +1746,78 @@ var DynamicAleoWalletClient = /*#__PURE__*/ function(DynamicWalletClient) {
1723
1746
  })();
1724
1747
  }
1725
1748
  },
1749
+ {
1750
+ key: "getReconstructedKeyShare",
1751
+ value: /**
1752
+ * EdBls12377 (Aleo) keygen results store (computeKey, address, secretShare)
1753
+ * rather than a pubkey, so the base class's pubkey-based reconstruction
1754
+ * doesn't apply. Reconstruct directly into EdBls12377KeygenResult.
1755
+ */ function getReconstructedKeyShare(accountAddress, mpcSigner) {
1756
+ var _this = this;
1757
+ var _this1 = this, _superprop_get_getReconstructedKeyShare = function() {
1758
+ return _get(_get_prototype_of(DynamicAleoWalletClient.prototype), "getReconstructedKeyShare", _this);
1759
+ };
1760
+ return _async_to_generator(function() {
1761
+ var clientKeyShares, aleoShare;
1762
+ return _ts_generator(this, function(_state) {
1763
+ switch(_state.label){
1764
+ case 0:
1765
+ if (!_instanceof(mpcSigner, EdBls12377)) {
1766
+ return [
1767
+ 2,
1768
+ _superprop_get_getReconstructedKeyShare().call(_this1, accountAddress, mpcSigner)
1769
+ ];
1770
+ }
1771
+ return [
1772
+ 4,
1773
+ _this1.getClientKeySharesFromStorage({
1774
+ accountAddress: accountAddress
1775
+ })
1776
+ ];
1777
+ case 1:
1778
+ clientKeyShares = _state.sent();
1779
+ if (!clientKeyShares || clientKeyShares.length === 0) {
1780
+ throw new Error('No client key shares found for account');
1781
+ }
1782
+ aleoShare = clientKeyShares[0];
1783
+ if (!aleoShare.computeKey || !aleoShare.address || !aleoShare.secretShare) {
1784
+ throw new Error('EdBls12377 key share reconstruction: stored share missing computeKey/address/secretShare');
1785
+ }
1786
+ return [
1787
+ 2,
1788
+ new EdBls12377KeygenResult(aleoShare.computeKey, aleoShare.address, aleoShare.secretShare)
1789
+ ];
1790
+ }
1791
+ });
1792
+ })();
1793
+ }
1794
+ },
1795
+ {
1796
+ key: "derivePrivateKeyFromExport",
1797
+ value: /**
1798
+ * Aleo has no BIP32/BIP44 derivation — the exported full private key from
1799
+ * EdBls12377 is the canonical raw scalar and is returned as-is.
1800
+ */ function derivePrivateKeyFromExport(mpcSigner, keyExportRaw, wallet) {
1801
+ var _this = this;
1802
+ var _this1 = this, _superprop_get_derivePrivateKeyFromExport = function() {
1803
+ return _get(_get_prototype_of(DynamicAleoWalletClient.prototype), "derivePrivateKeyFromExport", _this);
1804
+ };
1805
+ return _async_to_generator(function() {
1806
+ return _ts_generator(this, function(_state) {
1807
+ if (_instanceof(mpcSigner, EdBls12377)) {
1808
+ return [
1809
+ 2,
1810
+ keyExportRaw
1811
+ ];
1812
+ }
1813
+ return [
1814
+ 2,
1815
+ _superprop_get_derivePrivateKeyFromExport().call(_this1, mpcSigner, keyExportRaw, wallet)
1816
+ ];
1817
+ });
1818
+ })();
1819
+ }
1820
+ },
1726
1821
  {
1727
1822
  key: "signAleoRequest",
1728
1823
  value: /**
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@dynamic-labs-wallet/aleo",
3
- "version": "0.0.331",
3
+ "version": "0.0.332",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "dependencies": {
7
- "@dynamic-labs-wallet/browser": "0.0.331",
8
- "@dynamic-labs-wallet/core": "0.0.331",
7
+ "@dynamic-labs-wallet/browser": "0.0.332",
8
+ "@dynamic-labs-wallet/core": "0.0.332",
9
9
  "@provablehq/sdk": "0.10.4"
10
10
  },
11
11
  "publishConfig": {
@@ -1,4 +1,4 @@
1
- import { DynamicWalletClient, type DynamicWalletClientInternalOptions, type DynamicWalletClientProps, type RequestWithElevatedAccessToken, type ThresholdSignatureScheme } from '@dynamic-labs-wallet/browser';
1
+ import { DynamicWalletClient, type DynamicWalletClientInternalOptions, type DynamicWalletClientProps, type MPCSigner, type RequestWithElevatedAccessToken, type ThresholdSignatureScheme, type WalletProperties } from '@dynamic-labs-wallet/browser';
2
2
  export declare class DynamicAleoWalletClient extends DynamicWalletClient {
3
3
  readonly chainName = "ALEO";
4
4
  constructor({ environmentId, authToken, baseApiUrl, baseMPCRelayApiUrl, storageKey, debug, featureFlags, authMode, sdkVersion, forwardMPCClient, logger, }: DynamicWalletClientProps, internalOptions?: DynamicWalletClientInternalOptions);
@@ -43,6 +43,17 @@ export declare class DynamicAleoWalletClient extends DynamicWalletClient {
43
43
  rawPublicKey: Uint8Array;
44
44
  }>;
45
45
  getAleoWallets(): Promise<any>;
46
+ /**
47
+ * EdBls12377 (Aleo) keygen results store (computeKey, address, secretShare)
48
+ * rather than a pubkey, so the base class's pubkey-based reconstruction
49
+ * doesn't apply. Reconstruct directly into EdBls12377KeygenResult.
50
+ */
51
+ protected getReconstructedKeyShare(accountAddress: string, mpcSigner: MPCSigner): Promise<import("@dynamic-labs-wallet/browser").ClientKeyShare>;
52
+ /**
53
+ * Aleo has no BIP32/BIP44 derivation — the exported full private key from
54
+ * EdBls12377 is the canonical raw scalar and is returned as-is.
55
+ */
56
+ protected derivePrivateKeyFromExport(mpcSigner: MPCSigner, keyExportRaw: string, wallet: WalletProperties): Promise<string | undefined>;
46
57
  /**
47
58
  * Runs the Aleo signRequest MPC ceremony for the given structured payload.
48
59
  * The payload is Sodot's `EdBls12377RequestSignPayload` shape:
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/client/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL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