@keelcodes/sdk 2.5.1 → 2.6.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.
@@ -7,7 +7,7 @@ export declare const KEEL_ENTRYPOINT_V07: Address;
7
7
  export declare const KEEL_SESSION_VALIDATOR: Address;
8
8
  /** KeelPolicyHook 副本(slot 0,与 validator 成对,三链同址) */
9
9
  export declare const KEEL_SESSION_HOOK: Address;
10
- /** KeelTokenPaymaster(三链同址;gas 垫付 + 稳定币结算) */
10
+ /** KeelTokenPaymaster(三链同址;gas 垫付 + 稳定币结算 + 0.01 USD 服务费) */
11
11
  export declare const KEEL_TOKEN_PAYMASTER: Address;
12
12
  /** Kernel v3 factory(三链同址;首笔 createAccount) */
13
13
  export declare const KEEL_KERNEL_FACTORY: Address;
@@ -21,8 +21,8 @@ exports.KEEL_ENTRYPOINT_V07 = '0x0000000071727De22E5E9d8BAf0edAc6f37da032';
21
21
  exports.KEEL_SESSION_VALIDATOR = '0x8BCB3F5d855F5b2a1f1398690Daaa7866992bDE7';
22
22
  /** KeelPolicyHook 副本(slot 0,与 validator 成对,三链同址) */
23
23
  exports.KEEL_SESSION_HOOK = '0x466b5DC3796D44b0B63FdF2d3bC7a8Ea371a891F';
24
- /** KeelTokenPaymaster(三链同址;gas 垫付 + 稳定币结算) */
25
- exports.KEEL_TOKEN_PAYMASTER = '0x4500A1FbAe335F5E20Fa85C70Daa98a89faD6415';
24
+ /** KeelTokenPaymaster(三链同址;gas 垫付 + 稳定币结算 + 0.01 USD 服务费) */
25
+ exports.KEEL_TOKEN_PAYMASTER = '0x7B3D6f627011dB3125f33540B9123F91b61935D8';
26
26
  /** Kernel v3 factory(三链同址;首笔 createAccount) */
27
27
  exports.KEEL_KERNEL_FACTORY = '0xaac5D4240AF87249B3f71BC8E4A2cae074A3E419';
28
28
  /** Kernel v3 root validator(ECDSA,三链同址;账户 owner 验签) */
@@ -117,6 +117,17 @@ export interface SolanaDexSwapParams {
117
117
  swapInstructions?: DexInstruction[];
118
118
  /** external 模式的地址查找表(`dexProvider` 会自动填充) */
119
119
  addressLookupTableAddresses?: string[];
120
+ /**
121
+ * 代建 ATA 的租金付款人(2026-10-24)。给出后 relay 把内层 ATA create 的
122
+ * payer 从 vault 换成该地址,vault 无需持有 SOL。必须是本交易的签名者
123
+ * (通常就是 `feePayer`),否则交易签不出来。
124
+ */
125
+ rentPayer?: string;
126
+ /**
127
+ * 同交易扣费(`AA_SOLANA_FEE_MODE=onchain`)的付费稳定币 mint。
128
+ * 缺省按 USDC → USDT → 输出币 自动选;指定后不使用其它币种。
129
+ */
130
+ feeMint?: string;
120
131
  }
121
132
  export interface SolanaDexSwapResult {
122
133
  chain: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keelcodes/sdk",
3
- "version": "2.5.1",
3
+ "version": "2.6.1",
4
4
  "description": "Keel SDK — unified access to payment / wallet / data / account modules over https://keel.codes",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",