genius-intents 0.24.1-develop.0 → 0.24.1-develop.2
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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,47 @@
|
|
|
1
|
+
## [0.24.1-develop.2] - 2025-11-21 (Beta)
|
|
2
|
+
|
|
3
|
+
🧪 **This is a beta release for testing purposes.**
|
|
4
|
+
|
|
5
|
+
### [0.24.1-develop.2](https://github.com/Genius-Foundation/genius-intents/compare/v0.24.0...v0.24.1-develop.2) (2025-11-21)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Documentation
|
|
9
|
+
|
|
10
|
+
* update CHANGELOG.md for v0.24.1-develop.1 (beta) ([b6910aa](https://github.com/Genius-Foundation/genius-intents/commit/b6910aa2708af37cfb29e1bd4087630e1dad75b5))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
⚠️ **Beta Release Notes:**
|
|
15
|
+
- This version is intended for testing and development
|
|
16
|
+
- May contain experimental features
|
|
17
|
+
- Not recommended for production use
|
|
18
|
+
- Feedback and bug reports are welcome
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
## [0.24.1-develop.1] - 2025-11-21 (Beta)
|
|
24
|
+
|
|
25
|
+
🧪 **This is a beta release for testing purposes.**
|
|
26
|
+
|
|
27
|
+
### [0.24.1-develop.1](https://github.com/Genius-Foundation/genius-intents/compare/v0.24.0...v0.24.1-develop.1) (2025-11-21)
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
### Documentation
|
|
31
|
+
|
|
32
|
+
* update CHANGELOG.md for v0.24.1-develop.0 (beta) ([a328c70](https://github.com/Genius-Foundation/genius-intents/commit/a328c70a3d86aec52fcae3c7348f2f642349ce1f))
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
⚠️ **Beta Release Notes:**
|
|
37
|
+
- This version is intended for testing and development
|
|
38
|
+
- May contain experimental features
|
|
39
|
+
- Not recommended for production use
|
|
40
|
+
- Feedback and bug reports are welcome
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
|
|
1
45
|
## [0.24.1-develop.0] - 2025-11-21 (Beta)
|
|
2
46
|
|
|
3
47
|
🧪 **This is a beta release for testing purposes.**
|
package/dist/index.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ export * as Ve33 from './protocols/ve33';
|
|
|
28
28
|
export * as Algebra from './protocols/algebra';
|
|
29
29
|
export * as Lfj from './protocols/lfj';
|
|
30
30
|
export * as EvmDirectPool from './lib/dex/evm-direct-pool';
|
|
31
|
+
export { EvmDirectPoolService } from './lib/dex/evm-direct-pool';
|
|
31
32
|
export * as GeniusIntentsUtils from './utils';
|
|
32
33
|
export * as EvmDirectPoolDiscovery from './lib/dex/pair-discovery';
|
|
33
34
|
import { ChainIdEnum, ProtocolEnum, SdkErrorEnum, ChainVmTypeEnum } from './types/enums';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,OAAO,MAAM,qBAAqB,CAAC;AAC/C,OAAO,KAAK,GAAG,MAAM,iBAAiB,CAAC;AACvC,OAAO,KAAK,OAAO,MAAM,qBAAqB,CAAC;AAC/C,OAAO,KAAK,IAAI,MAAM,kBAAkB,CAAC;AACzC,OAAO,KAAK,SAAS,MAAM,uBAAuB,CAAC;AACnD,OAAO,KAAK,SAAS,MAAM,uBAAuB,CAAC;AACnD,OAAO,KAAK,SAAS,MAAM,uBAAuB,CAAC;AACnD,OAAO,KAAK,KAAK,MAAM,mBAAmB,CAAC;AAC3C,OAAO,KAAK,QAAQ,MAAM,sBAAsB,CAAC;AACjD,OAAO,KAAK,YAAY,MAAM,2BAA2B,CAAC;AAC1D,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAC7C,OAAO,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AGf,OAAO,EACP,aAAa,EACb,aAAa,EACb,UAAU,GACX,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -33,7 +33,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.NoOpLogger = exports.ConsoleLogger = exports.LoggerFactory = exports.LogLevelEnum = exports.ChainVmTypeEnum = exports.SdkErrorEnum = exports.ProtocolEnum = exports.ChainIdEnum = exports.GeniusIntents = exports.EvmDirectPoolDiscovery = exports.GeniusIntentsUtils = exports.EvmDirectPool = exports.Lfj = exports.Algebra = exports.Ve33 = exports.DirectPoolInfo = exports.DirectPoolPumpFun = exports.DirectPoolWhirlpools = exports.DirectPoolRaydium = exports.DirectPoolMeteora = exports.Pumpswap = exports.Relay = exports.Cetus = exports.PumpFun = exports.DFlow = exports.Lifinity = exports.Lifi = exports.V3Dex = exports.V2Dex = exports.FourMeme = exports.Across = exports.GeniusBridge = exports.DeBridge = exports.ZeroX = exports.Aftermath = exports.OpenOcean = exports.Kyberswap = exports.Odos = exports.Raydium = exports.Okx = exports.Jupiter = void 0;
|
|
36
|
+
exports.NoOpLogger = exports.ConsoleLogger = exports.LoggerFactory = exports.LogLevelEnum = exports.ChainVmTypeEnum = exports.SdkErrorEnum = exports.ProtocolEnum = exports.ChainIdEnum = exports.GeniusIntents = exports.EvmDirectPoolDiscovery = exports.GeniusIntentsUtils = exports.EvmDirectPoolService = exports.EvmDirectPool = exports.Lfj = exports.Algebra = exports.Ve33 = exports.DirectPoolInfo = exports.DirectPoolPumpFun = exports.DirectPoolWhirlpools = exports.DirectPoolRaydium = exports.DirectPoolMeteora = exports.Pumpswap = exports.Relay = exports.Cetus = exports.PumpFun = exports.DFlow = exports.Lifinity = exports.Lifi = exports.V3Dex = exports.V2Dex = exports.FourMeme = exports.Across = exports.GeniusBridge = exports.DeBridge = exports.ZeroX = exports.Aftermath = exports.OpenOcean = exports.Kyberswap = exports.Odos = exports.Raydium = exports.Okx = exports.Jupiter = void 0;
|
|
37
37
|
// Protocol imports from their index files
|
|
38
38
|
exports.Jupiter = __importStar(require("./protocols/jupiter"));
|
|
39
39
|
exports.Okx = __importStar(require("./protocols/okx"));
|
|
@@ -65,6 +65,8 @@ exports.Ve33 = __importStar(require("./protocols/ve33"));
|
|
|
65
65
|
exports.Algebra = __importStar(require("./protocols/algebra"));
|
|
66
66
|
exports.Lfj = __importStar(require("./protocols/lfj"));
|
|
67
67
|
exports.EvmDirectPool = __importStar(require("./lib/dex/evm-direct-pool"));
|
|
68
|
+
var evm_direct_pool_1 = require("./lib/dex/evm-direct-pool");
|
|
69
|
+
Object.defineProperty(exports, "EvmDirectPoolService", { enumerable: true, get: function () { return evm_direct_pool_1.EvmDirectPoolService; } });
|
|
68
70
|
exports.GeniusIntentsUtils = __importStar(require("./utils"));
|
|
69
71
|
exports.EvmDirectPoolDiscovery = __importStar(require("./lib/dex/pair-discovery"));
|
|
70
72
|
// Core types and utilities
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0CAA0C;AAC1C,+DAA+C;AAC/C,uDAAuC;AACvC,+DAA+C;AAC/C,yDAAyC;AACzC,mEAAmD;AACnD,mEAAmD;AACnD,mEAAmD;AACnD,2DAA2C;AAC3C,iEAAiD;AACjD,0EAA0D;AAC1D,6DAA6C;AAC7C,kEAAkD;AAClD,4DAA4C;AAC5C,4DAA4C;AAC5C,yDAAyC;AACzC,iEAAiD;AACjD,2DAA2C;AAC3C,+DAA+C;AAC/C,2DAA2C;AAC3C,2DAA2C;AAC3C,iEAAiD;AACjD,4EAA4D;AAC5D,4EAA4D;AAC5D,kFAAkE;AAClE,6EAA6D;AAC7D,2EAA2D;AAC3D,yDAAyC;AACzC,+DAA+C;AAC/C,uDAAuC;AACvC,2EAA2D;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0CAA0C;AAC1C,+DAA+C;AAC/C,uDAAuC;AACvC,+DAA+C;AAC/C,yDAAyC;AACzC,mEAAmD;AACnD,mEAAmD;AACnD,mEAAmD;AACnD,2DAA2C;AAC3C,iEAAiD;AACjD,0EAA0D;AAC1D,6DAA6C;AAC7C,kEAAkD;AAClD,4DAA4C;AAC5C,4DAA4C;AAC5C,yDAAyC;AACzC,iEAAiD;AACjD,2DAA2C;AAC3C,+DAA+C;AAC/C,2DAA2C;AAC3C,2DAA2C;AAC3C,iEAAiD;AACjD,4EAA4D;AAC5D,4EAA4D;AAC5D,kFAAkE;AAClE,6EAA6D;AAC7D,2EAA2D;AAC3D,yDAAyC;AACzC,+DAA+C;AAC/C,uDAAuC;AACvC,2EAA2D;AAC3D,6DAAiE;AAAxD,uHAAA,oBAAoB,OAAA;AAE7B,8DAA8C;AAC9C,mFAAmE;AAEnE,2BAA2B;AAC3B,yCAAyF;AAqDvF,4FArDO,mBAAW,OAqDP;AACX,6FAtDoB,oBAAY,OAsDpB;AACZ,6FAvDkC,oBAAY,OAuDlC;AACZ,gGAxDgD,uBAAe,OAwDhD;AAlDjB,qDAAiD;AAmB/C,8FAnBO,8BAAa,OAmBP;AAJf,2CAAiG;AAoC/F,6FApCgB,qBAAY,OAoChB;AAOZ,8FA3C8B,sBAAa,OA2C9B;AACb,8FA5C6C,sBAAa,OA4C7C;AACb,2FA7C4D,mBAAU,OA6C5D"}
|
|
@@ -66,7 +66,7 @@ class EvmDirectPoolService {
|
|
|
66
66
|
[enums_1.ChainIdEnum.POLYGON, BigInt(1063723)],
|
|
67
67
|
[enums_1.ChainIdEnum.SONIC, BigInt(1739615)],
|
|
68
68
|
[enums_1.ChainIdEnum.BASE, BigInt(2137996)],
|
|
69
|
-
[enums_1.ChainIdEnum.HYPEREVM, BigInt(
|
|
69
|
+
[enums_1.ChainIdEnum.HYPEREVM, BigInt(1200000)],
|
|
70
70
|
]);
|
|
71
71
|
this._erc20SwapGaslimits = new Map([
|
|
72
72
|
[enums_1.ChainIdEnum.ETHEREUM, BigInt(691727)],
|
|
@@ -77,7 +77,7 @@ class EvmDirectPoolService {
|
|
|
77
77
|
[enums_1.ChainIdEnum.POLYGON, BigInt(653560)],
|
|
78
78
|
[enums_1.ChainIdEnum.SONIC, BigInt(2441104)],
|
|
79
79
|
[enums_1.ChainIdEnum.BASE, BigInt(1144333)],
|
|
80
|
-
[enums_1.ChainIdEnum.HYPEREVM, BigInt(
|
|
80
|
+
[enums_1.ChainIdEnum.HYPEREVM, BigInt(1200000)],
|
|
81
81
|
]);
|
|
82
82
|
if (config?.debug) {
|
|
83
83
|
logger_1.LoggerFactory.configure(logger_1.LoggerFactory.createConsoleLogger({ level: logger_1.LogLevelEnum.DEBUG }));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "genius-intents",
|
|
3
|
-
"version": "0.24.1-develop.
|
|
3
|
+
"version": "0.24.1-develop.2",
|
|
4
4
|
"description": "A unified SDK for interacting with intents-based protocols across multiple blockchains including Solana, Ethereum, and Sui",
|
|
5
5
|
"license": "GNU",
|
|
6
6
|
"author": "Samuel Videau <samuel@videau.io>, AltLoot <@altloot>, Satyam Kumar <skdbsp123@gmail.com>",
|