@anywalletkit/protocol-swap2-omniston 0.5.4 → 0.5.6

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.
Files changed (41) hide show
  1. package/README.md +72 -4
  2. package/dist/activity.cjs +4 -1
  3. package/dist/activity.cjs.map +1 -1
  4. package/dist/activity.d.cts +7 -1
  5. package/dist/activity.d.ts +7 -1
  6. package/dist/activity.js +1 -1
  7. package/dist/{chunk-AIWAM7BS.js → chunk-ENAEOF7N.js} +5 -2
  8. package/dist/chunk-ENAEOF7N.js.map +1 -0
  9. package/dist/{chunk-4JOTKQOT.js → chunk-FDSTD34Z.js} +10 -3
  10. package/dist/{chunk-4JOTKQOT.js.map → chunk-FDSTD34Z.js.map} +1 -1
  11. package/dist/chunk-IDRZHWWL.js +74 -0
  12. package/dist/chunk-IDRZHWWL.js.map +1 -0
  13. package/dist/{chunk-2E6CVWD6.js → chunk-IX4NF2J7.js} +2 -2
  14. package/dist/index.cjs +49 -2
  15. package/dist/index.cjs.map +1 -1
  16. package/dist/index.d.cts +1 -1
  17. package/dist/index.d.ts +1 -1
  18. package/dist/index.js +4 -4
  19. package/dist/protocol.cjs +11 -1
  20. package/dist/protocol.cjs.map +1 -1
  21. package/dist/protocol.d.cts +1 -1
  22. package/dist/protocol.d.ts +1 -1
  23. package/dist/protocol.js +4 -4
  24. package/dist/{provider-CcCZB-Cj.d.cts → provider-BQzNkVvW.d.cts} +18 -2
  25. package/dist/{provider-CcCZB-Cj.d.ts → provider-BQzNkVvW.d.ts} +18 -2
  26. package/dist/provider.cjs +49 -2
  27. package/dist/provider.cjs.map +1 -1
  28. package/dist/provider.d.cts +1 -1
  29. package/dist/provider.d.ts +1 -1
  30. package/dist/provider.js +3 -3
  31. package/dist/validators.cjs +56 -3
  32. package/dist/validators.cjs.map +1 -1
  33. package/dist/validators.d.cts +1 -1
  34. package/dist/validators.d.ts +1 -1
  35. package/dist/validators.js +19 -3
  36. package/dist/validators.js.map +1 -1
  37. package/package.json +4 -4
  38. package/dist/chunk-AIWAM7BS.js.map +0 -1
  39. package/dist/chunk-JWYDIW4V.js +0 -37
  40. package/dist/chunk-JWYDIW4V.js.map +0 -1
  41. /package/dist/{chunk-2E6CVWD6.js.map → chunk-IX4NF2J7.js.map} +0 -0
@@ -1,4 +1,4 @@
1
- export { D as DEFAULT_OMNISTON_TON_CODE_HASHES, w as DEFAULT_OMNISTON_TON_PROXY_TON_MASTERS, x as DEFAULT_OMNISTON_TON_SWAP_INTERFACES, M as MAX_OMNISTON_EXCLUSIVITY_SECONDS, y as OmnistonTonDeliveryInput, z as OmnistonTonDeliveryLocatorOptions, B as OmnistonTonValidationOptions, F as TonEscrowBuildExpectation, G as TonOutputPositionInput, I as createOmnistonTonDeliveryLocator, J as createOmnistonTonValidators } from './provider-CcCZB-Cj.cjs';
1
+ export { D as DEFAULT_OMNISTON_TON_CODE_HASHES, w as DEFAULT_OMNISTON_TON_PROXY_TON_MASTERS, x as DEFAULT_OMNISTON_TON_SWAP_INTERFACES, M as MAX_OMNISTON_EXCLUSIVITY_SECONDS, y as OmnistonTonDeliveryInput, z as OmnistonTonDeliveryLocatorOptions, B as OmnistonTonValidationOptions, F as TonEscrowBuildExpectation, G as TonOutputPositionInput, I as createOmnistonTonDeliveryLocator, J as createOmnistonTonValidators } from './provider-BQzNkVvW.cjs';
2
2
  import '@anywalletkit/protocol-swap2-core/types';
3
3
 
4
4
  /** How far back (blocks) a factory event is searched, per chain — shared with the EVM input validator. */
@@ -1,4 +1,4 @@
1
- export { D as DEFAULT_OMNISTON_TON_CODE_HASHES, w as DEFAULT_OMNISTON_TON_PROXY_TON_MASTERS, x as DEFAULT_OMNISTON_TON_SWAP_INTERFACES, M as MAX_OMNISTON_EXCLUSIVITY_SECONDS, y as OmnistonTonDeliveryInput, z as OmnistonTonDeliveryLocatorOptions, B as OmnistonTonValidationOptions, F as TonEscrowBuildExpectation, G as TonOutputPositionInput, I as createOmnistonTonDeliveryLocator, J as createOmnistonTonValidators } from './provider-CcCZB-Cj.js';
1
+ export { D as DEFAULT_OMNISTON_TON_CODE_HASHES, w as DEFAULT_OMNISTON_TON_PROXY_TON_MASTERS, x as DEFAULT_OMNISTON_TON_SWAP_INTERFACES, M as MAX_OMNISTON_EXCLUSIVITY_SECONDS, y as OmnistonTonDeliveryInput, z as OmnistonTonDeliveryLocatorOptions, B as OmnistonTonValidationOptions, F as TonEscrowBuildExpectation, G as TonOutputPositionInput, I as createOmnistonTonDeliveryLocator, J as createOmnistonTonValidators } from './provider-BQzNkVvW.js';
2
2
  import '@anywalletkit/protocol-swap2-core/types';
3
3
 
4
4
  /** How far back (blocks) a factory event is searched, per chain — shared with the EVM input validator. */
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  AUDITED_OMNISTON_EVM_ORDER_PROTOCOLS,
3
3
  AUDITED_OMNISTON_SETTLEMENT_CONTRACTS
4
- } from "./chunk-JWYDIW4V.js";
4
+ } from "./chunk-IDRZHWWL.js";
5
5
 
6
6
  // src/validators/evm-output.ts
7
7
  import {
@@ -580,8 +580,24 @@ var DEFAULT_OMNISTON_TON_CODE_HASHES = {
580
580
  authorityKeys: ["ed210da12aa96ea42de4f2f61dc172bbaa3da86051a1b2a6f342f69a777d2770"],
581
581
  /** EVM→TON output position: the contract the factory deploys for the
582
582
  * resolver's jetton lock (observed on every resolver-created position,
583
- * 2026-10-15/16), and the escrow code cell it carries in its state. */
584
- position: ["e4d5115a321ade7b827e38fb522c20d2f2cd46e4c6b0b5f7dd8b6b096792d77b"],
583
+ * 2026-10-15/16), and the escrow code cell it carries in its state.
584
+ * A position counts only when a trusted factory itself sent its deploy
585
+ * message, and a minter deploys only the position code stored in its own
586
+ * data, so this list follows the trusted minters in
587
+ * AUDITED_OMNISTON_SETTLEMENT_CONTRACTS["ton:-239"]:
588
+ * - eb503578…: positions of the rev2 Escrow Minter EQDybO88… (the position
589
+ * code stored in its data; reviewed 2026-11-12). The diff to rev1's
590
+ * e4d5115a… is 13 sub-VM calls in another mode (RUNVMX 20 -> 276) and 2
591
+ * escrow-code whitelist checks. The state layout is the same, and live
592
+ * and settled rev2 positions pass every check of
593
+ * validateTonOutputPosition.
594
+ * - e4d5115a… (positions of the rev1 minter EQAbWJ3Y…) left the default
595
+ * with rev1 on 2026-11-12. Only an EVM -> TON order quoted on rev1 less
596
+ * than 6 h before an app upgrades can still need it (positionCodeHashes
597
+ * with both codes, until those 6 h are over). That pin alone trusts no
598
+ * new order: a new quote must name a trusted minter, and a position
599
+ * counts only when the minter its quote named deployed it. */
600
+ position: ["eb503578b4d9cd791c9c0ecd0da6da4064aae2bcb19d3c924d4001c493386bc5"],
585
601
  outputEscrow: ["d30423575384773abaad8d3c6f763898afa3d57a5693005904b7c61e95cee630"]
586
602
  };
587
603
  var POSITION_DEPLOY_OP = "0xf240cd30";