@aastar/sdk 0.23.0 → 0.24.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.
- package/dist/UserClient-KYDCMAIU.js +6 -0
- package/dist/{UserClient-XTHQ2AP3.js.map → UserClient-KYDCMAIU.js.map} +1 -1
- package/dist/UserClient-S6LS3CB6.cjs +15 -0
- package/dist/{UserClient-J3JPDIG7.cjs.map → UserClient-S6LS3CB6.cjs.map} +1 -1
- package/dist/account.cjs +7 -7
- package/dist/account.js +2 -2
- package/dist/admin.cjs +3 -3
- package/dist/admin.js +2 -2
- package/dist/airaccount.cjs +102 -102
- package/dist/airaccount.js +2 -2
- package/dist/channel.cjs +6 -6
- package/dist/channel.js +2 -2
- package/dist/{chunk-V65JXHM6.js → chunk-2UC7UPHV.js} +131 -5
- package/dist/chunk-2UC7UPHV.js.map +1 -0
- package/dist/{chunk-CGKPULZX.cjs → chunk-5PH5CSM7.cjs} +16 -16
- package/dist/{chunk-CGKPULZX.cjs.map → chunk-5PH5CSM7.cjs.map} +1 -1
- package/dist/{chunk-EZC7Q3SG.js → chunk-654GQ7G7.js} +3 -3
- package/dist/{chunk-EZC7Q3SG.js.map → chunk-654GQ7G7.js.map} +1 -1
- package/dist/{chunk-W4ENVPZH.cjs → chunk-72JZKARR.cjs} +6 -6
- package/dist/{chunk-W4ENVPZH.cjs.map → chunk-72JZKARR.cjs.map} +1 -1
- package/dist/{chunk-H5EQBNC6.js → chunk-7RVONA2R.js} +8 -8
- package/dist/{chunk-H5EQBNC6.js.map → chunk-7RVONA2R.js.map} +1 -1
- package/dist/{chunk-2GZMRCQW.cjs → chunk-A4ICWCHR.cjs} +5 -5
- package/dist/{chunk-2GZMRCQW.cjs.map → chunk-A4ICWCHR.cjs.map} +1 -1
- package/dist/{chunk-6PJAHZZ2.cjs → chunk-BOVDJSMK.cjs} +26 -26
- package/dist/{chunk-6PJAHZZ2.cjs.map → chunk-BOVDJSMK.cjs.map} +1 -1
- package/dist/{chunk-5G5SB6CP.js → chunk-BYVG7MO7.js} +34 -3
- package/dist/chunk-BYVG7MO7.js.map +1 -0
- package/dist/{chunk-E37CPC2U.cjs → chunk-D667CUUS.cjs} +9 -9
- package/dist/{chunk-E37CPC2U.cjs.map → chunk-D667CUUS.cjs.map} +1 -1
- package/dist/{chunk-PFMCPSS4.js → chunk-DAMWXGKD.js} +3 -3
- package/dist/{chunk-PFMCPSS4.js.map → chunk-DAMWXGKD.js.map} +1 -1
- package/dist/{chunk-XFJSY5LG.cjs → chunk-GDH4DSVM.cjs} +12 -12
- package/dist/{chunk-XFJSY5LG.cjs.map → chunk-GDH4DSVM.cjs.map} +1 -1
- package/dist/{chunk-UULR2KA6.cjs → chunk-HNJBQR5U.cjs} +5 -5
- package/dist/{chunk-UULR2KA6.cjs.map → chunk-HNJBQR5U.cjs.map} +1 -1
- package/dist/{chunk-2DDWYKF2.js → chunk-JMW5AHLC.js} +9 -9
- package/dist/{chunk-2DDWYKF2.js.map → chunk-JMW5AHLC.js.map} +1 -1
- package/dist/{chunk-D23CZFOM.js → chunk-LDARLWS3.js} +3 -3
- package/dist/{chunk-D23CZFOM.js.map → chunk-LDARLWS3.js.map} +1 -1
- package/dist/{chunk-MFBTMF5U.cjs → chunk-MOJJ7QF6.cjs} +39 -2
- package/dist/{chunk-MFBTMF5U.cjs.map → chunk-MOJJ7QF6.cjs.map} +1 -1
- package/dist/{chunk-6I22EW6V.cjs → chunk-NVYVTCHJ.cjs} +11 -11
- package/dist/{chunk-6I22EW6V.cjs.map → chunk-NVYVTCHJ.cjs.map} +1 -1
- package/dist/{chunk-SXLWFZFX.js → chunk-PNBK2CLK.js} +3 -3
- package/dist/{chunk-SXLWFZFX.js.map → chunk-PNBK2CLK.js.map} +1 -1
- package/dist/{chunk-2UDF62XV.js → chunk-PXQDAFXD.js} +6 -6
- package/dist/{chunk-2UDF62XV.js.map → chunk-PXQDAFXD.js.map} +1 -1
- package/dist/{chunk-2WBSYPUY.js → chunk-RZ2M2RVP.js} +3 -3
- package/dist/{chunk-2WBSYPUY.js.map → chunk-RZ2M2RVP.js.map} +1 -1
- package/dist/{chunk-LAZA3JD7.cjs → chunk-VEAYV52I.cjs} +131 -5
- package/dist/chunk-VEAYV52I.cjs.map +1 -0
- package/dist/{chunk-PKYWLTIJ.cjs → chunk-VHY6R2PI.cjs} +32 -32
- package/dist/{chunk-PKYWLTIJ.cjs.map → chunk-VHY6R2PI.cjs.map} +1 -1
- package/dist/{chunk-UMTCWOQV.js → chunk-WC25H5VG.js} +4 -4
- package/dist/{chunk-UMTCWOQV.js.map → chunk-WC25H5VG.js.map} +1 -1
- package/dist/{chunk-TM2LH4ZE.js → chunk-WVJ4LQVB.js} +3 -3
- package/dist/{chunk-TM2LH4ZE.js.map → chunk-WVJ4LQVB.js.map} +1 -1
- package/dist/{chunk-UQMMEDHO.cjs → chunk-WVOJV4Q5.cjs} +4 -4
- package/dist/{chunk-UQMMEDHO.cjs.map → chunk-WVOJV4Q5.cjs.map} +1 -1
- package/dist/core.cjs +226 -202
- package/dist/core.d.cts +101 -1
- package/dist/core.d.ts +101 -1
- package/dist/core.js +1 -1
- package/dist/dapp.cjs +5 -5
- package/dist/dapp.js +2 -2
- package/dist/enduser.cjs +6 -6
- package/dist/enduser.js +3 -3
- package/dist/identity.cjs +5 -5
- package/dist/identity.js +2 -2
- package/dist/index.cjs +327 -303
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +15 -15
- package/dist/kms.cjs +102 -102
- package/dist/kms.d.cts +60 -1
- package/dist/kms.d.ts +60 -1
- package/dist/kms.js +2 -2
- package/dist/operator.cjs +6 -6
- package/dist/operator.js +2 -2
- package/dist/paymaster.cjs +15 -15
- package/dist/paymaster.js +2 -2
- package/dist/src-5URXSFKD.js +5 -0
- package/dist/src-5URXSFKD.js.map +1 -0
- package/dist/{src-HECKBVR2.cjs → src-72GWEAPA.cjs} +17 -17
- package/dist/src-72GWEAPA.cjs.map +1 -0
- package/dist/{src-4Q2WFLO2.cjs → src-N72HAQXS.cjs} +228 -204
- package/dist/src-N72HAQXS.cjs.map +1 -0
- package/dist/{src-KLP4Q2Y3.js → src-UNS5B7FX.js} +4 -4
- package/dist/src-UNS5B7FX.js.map +1 -0
- package/dist/tokens.cjs +3 -3
- package/dist/tokens.js +2 -2
- package/dist/x402.cjs +25 -25
- package/dist/x402.js +2 -2
- package/package.json +1 -1
- package/dist/UserClient-J3JPDIG7.cjs +0 -15
- package/dist/UserClient-XTHQ2AP3.js +0 -6
- package/dist/chunk-5G5SB6CP.js.map +0 -1
- package/dist/chunk-LAZA3JD7.cjs.map +0 -1
- package/dist/chunk-V65JXHM6.js.map +0 -1
- package/dist/src-2P72LYVT.js +0 -5
- package/dist/src-2P72LYVT.js.map +0 -1
- package/dist/src-4Q2WFLO2.cjs.map +0 -1
- package/dist/src-HECKBVR2.cjs.map +0 -1
- package/dist/src-KLP4Q2Y3.js.map +0 -1
package/dist/kms.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { y as UserOperation, P as PackedUserOperation, j as BLSSignatureData, w as TierLevel$1, T as TierConfig, p as GuardStatus, v as PreCheckResult } from './tier-router-DeeVg69O.js';
|
|
2
2
|
export { A as ALG_BLS, a as ALG_CUMULATIVE_T2, b as ALG_CUMULATIVE_T3, c as ALG_ECDSA, d as ALG_P256, e as AirAccountClient, f as AirAccountConfig, g as AlgId, B as BLSConfig, h as BLSManager, i as BLSNode, k as BeginAuthenticationResponse, l as BeginRegistrationResponse, m as BeginTransactionVerificationResponse, C as CryptoUtil, n as CumulativeT2SignatureData, o as CumulativeT3SignatureData, D as DEFAULT_PASSKEY_ROUTES, E as ERC4337Utils, G as GasEstimate, q as PasskeyAuthenticationParams, r as PasskeyInfo, s as PasskeyManager, t as PasskeyRegistrationParams, u as PasskeyRoutes, x as TransactionVerificationParams, U as UserOpBuilder, Y as YAAAClient, z as YAAAConfig, F as algIdForTier, H as resolveTier } from './tier-router-DeeVg69O.js';
|
|
3
3
|
import { AxiosRequestConfig } from 'axios';
|
|
4
|
-
import { PublicClient, Address, Abi, Hex, WalletClient } from 'viem';
|
|
4
|
+
import { PublicClient, Address, Abi, Hex, WalletClient, Hash } from 'viem';
|
|
5
5
|
import { I as InitConfig, G as GuardianSpec } from './initConfig-D8jgrcDb.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -1043,6 +1043,8 @@ declare class EthereumProvider {
|
|
|
1043
1043
|
getProvider(): PublicClient;
|
|
1044
1044
|
/** Returns the viem PublicClient bound to the bundler RPC (raw .request only). */
|
|
1045
1045
|
getBundlerProvider(): PublicClient;
|
|
1046
|
+
/** EVM chain id from the validated ServerConfig (deterministic — no RPC round-trip). */
|
|
1047
|
+
getChainId(): number;
|
|
1046
1048
|
/**
|
|
1047
1049
|
* Raw bundler JSON-RPC call. The bundler exposes non-standard methods
|
|
1048
1050
|
* (eth_sendUserOperation, pimlico_getUserOperationGasPrice, ...) that are not in
|
|
@@ -1174,6 +1176,17 @@ declare function serializeGuardianSpecs(specs: readonly GuardianSpec[]): Seriali
|
|
|
1174
1176
|
*/
|
|
1175
1177
|
declare function initConfigFromRecord(record: AccountRecord): InitConfig;
|
|
1176
1178
|
|
|
1179
|
+
/**
|
|
1180
|
+
* Result of {@link AccountManager.ensureValidatorRouter}.
|
|
1181
|
+
* `set: true` only when an on-chain `setValidator(router)` tx was actually sent (`tx`
|
|
1182
|
+
* carries the hash). `set: false` is a no-op with a `reason` explaining the decision.
|
|
1183
|
+
*/
|
|
1184
|
+
interface EnsureValidatorRouterResult {
|
|
1185
|
+
set: boolean;
|
|
1186
|
+
reason?: string;
|
|
1187
|
+
tx?: Hash;
|
|
1188
|
+
router?: Address;
|
|
1189
|
+
}
|
|
1177
1190
|
/**
|
|
1178
1191
|
* Account manager — extracted from NestJS AccountService.
|
|
1179
1192
|
* Creates and retrieves smart accounts without framework dependencies.
|
|
@@ -1308,6 +1321,52 @@ declare class AccountManager {
|
|
|
1308
1321
|
salt?: number | bigint;
|
|
1309
1322
|
entryPointVersion?: EntryPointVersion;
|
|
1310
1323
|
}): Promise<AccountRecord>;
|
|
1324
|
+
/**
|
|
1325
|
+
* Gap B — wire the validator router for an account that approved a ROUTER-DELEGATED signature
|
|
1326
|
+
* algorithm (BLS 0x01, cumulative T2 0x04, T3 0x05, weighted 0x07, session 0x08, ...). Such an
|
|
1327
|
+
* account's `_validateTripleSignature` / `_callBLSValidator` return `1` (FAIL) while
|
|
1328
|
+
* `validator() == address(0)`, so the algorithm is non-functional until the owner calls
|
|
1329
|
+
* `setValidator(router)` (onlyOwner, SET-ONCE). Inline algIds (ECDSA 0x02, P256 0x03, COMBINED_T1
|
|
1330
|
+
* 0x06) need no router and are a no-op here.
|
|
1331
|
+
*
|
|
1332
|
+
* MUST be called AFTER the account is deployed (setValidator is onlyOwner and needs code) — the
|
|
1333
|
+
* lazy/counterfactual deploy path cannot setValidator at predict-time. Idempotent: re-running after
|
|
1334
|
+
* the validator is set is a no-op (`reason: 'validator already set'`).
|
|
1335
|
+
*
|
|
1336
|
+
* On-chain access matches the rest of this package: reads via the EthereumProvider's PublicClient
|
|
1337
|
+
* (`getAccountContract(...).read.validator()` and `getProvider().getCode()`); the state-changing
|
|
1338
|
+
* `setValidator` is sent through a caller-supplied `WalletClient` whose account is the owner —
|
|
1339
|
+
* the same convention used by `PaymasterManager.updatePrice` / `ForceExitService` (this manager's
|
|
1340
|
+
* narrow `ISignerAdapter` only EIP-191 personal-signs and cannot send transactions).
|
|
1341
|
+
*
|
|
1342
|
+
* @param userId the account owner's user id (storage key)
|
|
1343
|
+
* @param opts.router override the router address (defaults to the chain's canonical
|
|
1344
|
+
* `aaStarValidator`); pass to target a non-canonical router
|
|
1345
|
+
* @param opts.walletClient viem WalletClient signing as the account OWNER — REQUIRED to send the tx
|
|
1346
|
+
*/
|
|
1347
|
+
ensureValidatorRouter(userId: string, opts?: {
|
|
1348
|
+
router?: Address;
|
|
1349
|
+
walletClient?: WalletClient;
|
|
1350
|
+
}): Promise<EnsureValidatorRouterResult>;
|
|
1351
|
+
/**
|
|
1352
|
+
* Gap B (complete auto-wiring): deploy a router-delegated account AND set its validator router in
|
|
1353
|
+
* ONE call, so a BLS / cumulative / session-key account is immediately functional — no separate
|
|
1354
|
+
* manual `ensureValidatorRouter` step. The factory's lazy first-UserOp deploy cannot bootstrap such
|
|
1355
|
+
* an account (its own algorithm can't validate until the router is wired), so this performs an
|
|
1356
|
+
* explicit `factory.createAccount(owner, salt, config)` deploy (if the account has no code yet),
|
|
1357
|
+
* waits for it, then wires `setValidator(router)`. Both txs go through the caller-supplied owner/
|
|
1358
|
+
* deployer `WalletClient` (this manager holds no transaction signer). For inline algIds (ECDSA/P256/
|
|
1359
|
+
* COMBINED_T1) the validator step is a documented no-op.
|
|
1360
|
+
*
|
|
1361
|
+
* @returns `{ deployTx?, validator }` — `deployTx` is undefined if the account was already deployed.
|
|
1362
|
+
*/
|
|
1363
|
+
deployAndWireValidator(userId: string, opts: {
|
|
1364
|
+
walletClient: WalletClient;
|
|
1365
|
+
router?: Address;
|
|
1366
|
+
}): Promise<{
|
|
1367
|
+
deployTx?: Hash;
|
|
1368
|
+
validator: EnsureValidatorRouterResult;
|
|
1369
|
+
}>;
|
|
1311
1370
|
}
|
|
1312
1371
|
|
|
1313
1372
|
/**
|
package/dist/kms.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { ACCOUNT_ABI, AGENT_SESSION_KEY_VALIDATOR_ABI, AIRACCOUNT_ABI, AIRACCOUNT_ADDRESSES, AIRACCOUNT_FACTORY_ABI, AIR_ACCOUNT_COMPOSITE_VALIDATOR_ABI, AIR_ACCOUNT_DELEGATE_ABI, AIR_ACCOUNT_DELEGATE_ADDRESS, ALG_ID, AccountManager, AgentRegistryService, AirAccountServerClient, BLSSignatureService, CALLDATA_PARSER_REGISTRY_ABI, ConsoleLogger, DEFAULT_CREDENTIAL_ID, DEFAULT_KMS_ENDPOINT, DEFAULT_ORIGIN, DEFAULT_RP_ID, DvtPendingConfirmationError, EIP7702DelegateService, ENTRYPOINT_ABI_V6, ENTRYPOINT_ABI_V7_V8, ENTRYPOINT_ADDRESSES, ERC20_ABI, ERC8004Service, ERC8004_ADDRESSES, EXECUTE_BATCH_SELECTOR, EXECUTE_SELECTOR, EXECUTE_USER_OP_SELECTOR, EntryPointVersion, EthereumProvider, FACTORY_ABI_V6, FACTORY_ABI_V7_V8, FORCE_EXIT_MODULE_ABI, ForceExitService, GLOBAL_GUARD_ABI, GuardChecker, GuardStateReader, KmsAgentService, KmsHttpClient, KmsManager, KmsMonitorService, KmsPaymentSigner, KmsSessionService, KmsSigner, L2_TYPE, LocalWalletSigner, MAX_GUARDIANS, MODULE_TYPE, MemoryStorage, ModuleManager, P256PasskeySigner, PaymasterManager, PaymasterPriceStalenessError, RECOVERY_THRESHOLD, RECOVERY_TIMELOCK_SECONDS, RecoveryService, SESSION_KEY_VALIDATOR_ABI, SessionKeyService, SilentLogger, TIER_GUARD_HOOK_ABI, TokenService, TransferManager, VALIDATOR_ABI, WEIGHT_CHANGE_EXPIRY_SECONDS, WEIGHT_CHANGE_THRESHOLD, WEIGHT_CHANGE_TIMELOCK_SECONDS, WalletManager, WeightedSignatureService, YAAAServerClient, base64UrlDecode, base64UrlEncode, beginAuthenticationChallenge, beginGrantSessionChallenge, buildAuthenticationCredential, buildAuthenticatorData, buildClientDataJSON, buildFullInitConfig, buildInstallModuleHash, buildUninstallModuleHash, computeOapdSalt, erc8004AddressesForChain, getOapdAddress, getOapdAddressWithChainId, initConfigFromRecord, initConfigToTuple, isExecuteUserOpWrapped, isOapdDeployed, isPendingConfirmation, packP256SessionSignature, packSecp256k1SessionSignature, runAuthenticationCeremony, runGrantSessionCeremony, runWebAuthnCeremony, sepoliaV07Config, serializeGuardianSpecs, toGuardianSpecs, validateConfig, wrapExecuteUserOp } from './chunk-
|
|
1
|
+
export { ACCOUNT_ABI, AGENT_SESSION_KEY_VALIDATOR_ABI, AIRACCOUNT_ABI, AIRACCOUNT_ADDRESSES, AIRACCOUNT_FACTORY_ABI, AIR_ACCOUNT_COMPOSITE_VALIDATOR_ABI, AIR_ACCOUNT_DELEGATE_ABI, AIR_ACCOUNT_DELEGATE_ADDRESS, ALG_ID, AccountManager, AgentRegistryService, AirAccountServerClient, BLSSignatureService, CALLDATA_PARSER_REGISTRY_ABI, ConsoleLogger, DEFAULT_CREDENTIAL_ID, DEFAULT_KMS_ENDPOINT, DEFAULT_ORIGIN, DEFAULT_RP_ID, DvtPendingConfirmationError, EIP7702DelegateService, ENTRYPOINT_ABI_V6, ENTRYPOINT_ABI_V7_V8, ENTRYPOINT_ADDRESSES, ERC20_ABI, ERC8004Service, ERC8004_ADDRESSES, EXECUTE_BATCH_SELECTOR, EXECUTE_SELECTOR, EXECUTE_USER_OP_SELECTOR, EntryPointVersion, EthereumProvider, FACTORY_ABI_V6, FACTORY_ABI_V7_V8, FORCE_EXIT_MODULE_ABI, ForceExitService, GLOBAL_GUARD_ABI, GuardChecker, GuardStateReader, KmsAgentService, KmsHttpClient, KmsManager, KmsMonitorService, KmsPaymentSigner, KmsSessionService, KmsSigner, L2_TYPE, LocalWalletSigner, MAX_GUARDIANS, MODULE_TYPE, MemoryStorage, ModuleManager, P256PasskeySigner, PaymasterManager, PaymasterPriceStalenessError, RECOVERY_THRESHOLD, RECOVERY_TIMELOCK_SECONDS, RecoveryService, SESSION_KEY_VALIDATOR_ABI, SessionKeyService, SilentLogger, TIER_GUARD_HOOK_ABI, TokenService, TransferManager, VALIDATOR_ABI, WEIGHT_CHANGE_EXPIRY_SECONDS, WEIGHT_CHANGE_THRESHOLD, WEIGHT_CHANGE_TIMELOCK_SECONDS, WalletManager, WeightedSignatureService, YAAAServerClient, base64UrlDecode, base64UrlEncode, beginAuthenticationChallenge, beginGrantSessionChallenge, buildAuthenticationCredential, buildAuthenticatorData, buildClientDataJSON, buildFullInitConfig, buildInstallModuleHash, buildUninstallModuleHash, computeOapdSalt, erc8004AddressesForChain, getOapdAddress, getOapdAddressWithChainId, initConfigFromRecord, initConfigToTuple, isExecuteUserOpWrapped, isOapdDeployed, isPendingConfirmation, packP256SessionSignature, packSecp256k1SessionSignature, runAuthenticationCeremony, runGrantSessionCeremony, runWebAuthnCeremony, sepoliaV07Config, serializeGuardianSpecs, toGuardianSpecs, validateConfig, wrapExecuteUserOp } from './chunk-2UC7UPHV.js';
|
|
2
2
|
export { ALG_BLS, ALG_CUMULATIVE_T2, ALG_CUMULATIVE_T3, ALG_ECDSA, ALG_P256, AirAccountClient, BLSManager, CryptoUtil, DEFAULT_PASSKEY_ROUTES, ERC4337Utils, PasskeyManager, UserOpBuilder, YAAAClient, algIdForTier, resolveTier } from './chunk-X3AMH53O.js';
|
|
3
|
-
import './chunk-
|
|
3
|
+
import './chunk-BYVG7MO7.js';
|
|
4
4
|
import './chunk-UCLK6LTB.js';
|
|
5
5
|
import './chunk-PZ5AY32C.js';
|
|
6
6
|
//# sourceMappingURL=kms.js.map
|
package/dist/operator.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkVHY6R2PI_cjs = require('./chunk-VHY6R2PI.cjs');
|
|
4
|
+
require('./chunk-MOJJ7QF6.cjs');
|
|
5
5
|
require('./chunk-MXJEULSE.cjs');
|
|
6
6
|
require('./chunk-Q7SFCCGT.cjs');
|
|
7
7
|
|
|
@@ -9,19 +9,19 @@ require('./chunk-Q7SFCCGT.cjs');
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "OperatorLifecycle", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkVHY6R2PI_cjs.OperatorLifecycle; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "PaymasterOperatorClient", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkVHY6R2PI_cjs.PaymasterOperatorClient; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "ProposalState", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkVHY6R2PI_cjs.ProposalState; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "ProtocolClient", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkVHY6R2PI_cjs.ProtocolClient; }
|
|
25
25
|
});
|
|
26
26
|
//# sourceMappingURL=operator.cjs.map
|
|
27
27
|
//# sourceMappingURL=operator.cjs.map
|
package/dist/operator.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { OperatorLifecycle, PaymasterOperatorClient, ProposalState, ProtocolClient } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { OperatorLifecycle, PaymasterOperatorClient, ProposalState, ProtocolClient } from './chunk-WC25H5VG.js';
|
|
2
|
+
import './chunk-BYVG7MO7.js';
|
|
3
3
|
import './chunk-UCLK6LTB.js';
|
|
4
4
|
import './chunk-PZ5AY32C.js';
|
|
5
5
|
//# sourceMappingURL=operator.js.map
|
package/dist/paymaster.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkNVYVTCHJ_cjs = require('./chunk-NVYVTCHJ.cjs');
|
|
4
|
+
require('./chunk-MOJJ7QF6.cjs');
|
|
5
5
|
require('./chunk-MXJEULSE.cjs');
|
|
6
6
|
require('./chunk-Q7SFCCGT.cjs');
|
|
7
7
|
|
|
@@ -9,55 +9,55 @@ require('./chunk-Q7SFCCGT.cjs');
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "PaymasterClient", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkNVYVTCHJ_cjs.PaymasterClient; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "PaymasterManager", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkNVYVTCHJ_cjs.PaymasterManager; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "PaymasterOperator", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkNVYVTCHJ_cjs.PaymasterOperator; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "SuperPaymasterAdminClient", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkNVYVTCHJ_cjs.SuperPaymasterAdminClient; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "SuperPaymasterClient", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkNVYVTCHJ_cjs.SuperPaymasterClient; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "buildPaymasterData", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkNVYVTCHJ_cjs.buildPaymasterData; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "buildSuperPaymasterData", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkNVYVTCHJ_cjs.buildSuperPaymasterData; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "checkEligibility", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkNVYVTCHJ_cjs.checkEligibility; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "formatUserOpV07", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkNVYVTCHJ_cjs.formatUserOpV07; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "getPaymasterV4Middleware", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkNVYVTCHJ_cjs.getPaymasterV4Middleware; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "getSuperPaymasterMiddleware", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkNVYVTCHJ_cjs.getSuperPaymasterMiddleware; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "getUserOpHashV07", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkNVYVTCHJ_cjs.getUserOpHashV07; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "tuneGasLimit", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkNVYVTCHJ_cjs.tuneGasLimit; }
|
|
61
61
|
});
|
|
62
62
|
//# sourceMappingURL=paymaster.cjs.map
|
|
63
63
|
//# sourceMappingURL=paymaster.cjs.map
|
package/dist/paymaster.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { PaymasterClient, PaymasterManager, PaymasterOperator, SuperPaymasterAdminClient, SuperPaymasterClient, buildPaymasterData, buildSuperPaymasterData, checkEligibility, formatUserOpV07, getPaymasterV4Middleware, getSuperPaymasterMiddleware, getUserOpHashV07, tuneGasLimit } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { PaymasterClient, PaymasterManager, PaymasterOperator, SuperPaymasterAdminClient, SuperPaymasterClient, buildPaymasterData, buildSuperPaymasterData, checkEligibility, formatUserOpV07, getPaymasterV4Middleware, getSuperPaymasterMiddleware, getUserOpHashV07, tuneGasLimit } from './chunk-LDARLWS3.js';
|
|
2
|
+
import './chunk-BYVG7MO7.js';
|
|
3
3
|
import './chunk-UCLK6LTB.js';
|
|
4
4
|
import './chunk-PZ5AY32C.js';
|
|
5
5
|
//# sourceMappingURL=paymaster.js.map
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { AASTAR_COMMUNITY, AAStarAirAccountFactoryV7ABI, AAStarAirAccountFactoryV7Artifact, AAStarAirAccountV7ABI, AAStarAirAccountV7Artifact, AAStarBLSAggregatorABI, AAStarBLSAggregatorArtifact, AAStarBLSAlgorithmABI, AAStarBLSAlgorithmArtifact, AAStarValidatorABI, AAStarValidatorArtifact, ALG_BLS, ALL_ROLES, AgentRegistryABI, AgentRegistryArtifact, AirAccountDelegateABI, AirAccountDelegateArtifact, AirAccountExtensionABI, AirAccountExtensionArtifact, AuthorizationState, BLSAggregatorABI, BLSAggregatorArtifact, BLSHelpers, BLSSigner, BLSValidatorABI, BLSValidatorArtifact, BLS_POP_DST, BRANDING, BREAD_COMMUNITY, BaseClient, BundlerClient, COMMUNITIES, CONTRACTS, CONTRACT_METADATA, CalldataParserRegistryABI, CalldataParserRegistryArtifact, ContractConfigManager, DEFAULT_ADMIN_ROLE, DEFAULT_DVT_NODES, DVTValidatorABI, DVTValidatorArtifact, DVT_TIER_T2, DVT_TIER_T3, EntryPointABI, EntryPointArtifact, EntryPointVersion, ForceExitModuleABI, ForceExitModuleArtifact, GTokenABI, GTokenArtifact, GTokenAuthorizationABI, GTokenAuthorizationArtifact, GTokenStakingABI, GTokenStakingArtifact, GUARDIAN_ADDITION_NONCE_SLOT, GUARDIAN_REMOVAL_NONCE_SLOT, GUARDIAN_SIG_VERSION, INITIAL_ROLE_STAKES, INLINE_ALG_IDS, LINKS, MAX_GUARDIAN_SLOT, MicroPaymentChannelABI, MicroPaymentChannelArtifact, MySBTABI, MySBTArtifact, NETWORKS, NodeType, P256_GUARDIAN_DOMAIN, P256_GUARDIAN_SENTINEL, PaymasterABI, PaymasterArtifact, PaymasterFactoryABI, PaymasterFactoryArtifact, PolicyDecision, PolicyRegistryABI, PolicyRegistryArtifact, RECOVERY_NONCE_SLOT, ROLE_ANODE, ROLE_COMMUNITY, ROLE_DVT, ROLE_ENDUSER, ROLE_KMS, ROLE_NAMES, ROLE_PAYMASTER_AOA, ROLE_PAYMASTER_SUPER, ROLE_PERMISSION_LEVELS, RegistryABI, RegistryArtifact, ReputationSystemABI, ReputationSystemArtifact, RequirementChecker, RolePermissionLevel, SECP256R1_N, SECP256R1_N_OVER_2, SEPOLIA_CONTRACTS, SEPOLIA_V2_VERSIONS, SepoliaFaucetAPI, SessionKeyValidatorABI, SessionKeyValidatorArtifact, SimpleAccountABI, SimpleAccountArtifact, SimpleAccountFactoryABI, SimpleAccountFactoryArtifact, StateValidator, SuperPaymasterABI, SuperPaymasterArtifact, TIER_LIMIT_NONCE_SLOT, V2_SUMMARY, WEBAUTHN_GET_CHALLENGE_PREFIX, X402FacilitatorABI, X402FacilitatorArtifact, accountActions, accountFactoryActions, agentActions, agentRegistryActions, aggregatorActions, airAccountActions, airAccountExtensionActions, airAccountFactoryActions, base64UrlEncode, blsAlgorithmActions, buildAddGuardianChallenge, buildAddP256GuardianChallenge, buildApproveRecoveryChallenge, buildCancelRecoveryChallenge, buildInitConfig, buildModifyTierLimitsChallenge, buildP256GuardianChallenge, buildProposeRecoveryChallenge, buildRemoveGuardianChallenge, channelActions, coseToP256XY, createAAStarPublicClient, createHeliosTransport, decodeWebAuthnAssertion, dvtActions, encodeBLSAccountSignature, encodeDVTAccountSignature, encodeDVTVerifierProof, encodeG2Point, encodeWebAuthnAssertion, entryPointActions, forceExitActions, gTokenActions, gTokenAuthorizationActions, getAddressUrl, getAllCommunityConfigs, getAllV2Contracts, getBlockExplorer, getChainId, getCommunities, getCommunity, getCommunityConfig, getContract, getContractNetworks, getContracts, getCoreContracts, getDefaultDvtNodes, getDeploymentDate, getEntryPoint, getNetwork, getPaymasterV4_1, getRoleName, getRpcUrl, getSimpleAccountFactory, getSuperPaymasterV2, getTestAccounts, getTestTokenContracts, getTokenContracts, getTxUrl, getV2ContractByAddress, getV2ContractByName, getV2ContractsByDate, hashToFieldU0U1, isContractNetworkSupported, isRegisteredCommunity, isV2Contract, lookupAddress, needsValidatorRouter, opDataAddGuardian, opDataAddP256Guardian, opDataModifyTierLimits, opDataRecovery, opDataRemoveGuardian, p256GuardianPublicKey, paymasterActions, paymasterFactoryActions, policyRegistryActions, registryActions, reputationActions, resolveEns, resolveEnsVerified, sbtActions, sessionKeyValidatorActions, signP256GuardianAssertion, stakingActions, superPaymasterActions, tokenActions, x402Actions, x402IsNonceUsed, x402NonceKey, xPNTsFactoryABI, xPNTsFactoryActions, xPNTsFactoryArtifact, xPNTsTokenABI, xPNTsTokenActions, xPNTsTokenArtifact } from './chunk-BYVG7MO7.js';
|
|
2
|
+
export { AGENT_IDENTITY_REGISTRY_ADDRESS, AGENT_REPUTATION_REGISTRY_ADDRESS, ALL_ADDRESSES, APNTS_ADDRESS, BLS_AGGREGATOR_ADDRESS, BLS_VALIDATOR_ADDRESS, BPS_DENOMINATOR, CANONICAL_ADDRESSES, CHAIN_MAINNET, CHAIN_SEPOLIA, COMMUNITY_OWNERS, CONTRACT_SRC_HASH, CORE_ADDRESSES, DEFAULT_APNTS_PRICE_USD, DEFAULT_CALL_GAS_LIMIT, DEFAULT_GAS_TOKEN_MINT_AMOUNT, DEFAULT_PRE_VERIFICATION_GAS, DEFAULT_TIMEOUT_MS, DEFAULT_TOKEN_NAME, DEFAULT_TOKEN_SYMBOL, DEFAULT_USDT_MINT_AMOUNT, DEFAULT_VERIFICATION_GAS_LIMIT, DVT_VALIDATOR_ADDRESS, ENTRY_POINT_ADDRESS, FAUCET_API_URL, GTOKEN_ADDRESS, GTOKEN_STAKING_ADDRESS, MAX_SERVICE_FEE, MICRO_PAYMENT_CHANNEL_ADDRESS, MONITORING_ADDRESSES, NODE_STAKE_AMOUNTS, OFFICIAL_ADDRESSES, PAYMASTER_ADDRESSES, PAYMASTER_FACTORY_ADDRESS, PAYMASTER_V4_ADDRESS, PAYMASTER_V4_IMPL_ADDRESS, REGISTRY_ADDRESS, REPUTATION_SYSTEM_ADDRESS, SBT_ADDRESS, SERVICE_FEE_RATE, SUPER_PAYMASTER_ADDRESS, TEST_ACCOUNT_ADDRESSES, TEST_ACCOUNT_POOL_SIZE, TEST_COMMUNITIES, TEST_TOKEN_ADDRESSES, TOKEN_ADDRESSES, XPNTS_FACTORY_ADDRESS, applyConfig, describeSupportedChains, getCanonicalAddresses, isSupportedChainId, listSupportedChainIds } from './chunk-UCLK6LTB.js';
|
|
3
|
+
import './chunk-PZ5AY32C.js';
|
|
4
|
+
//# sourceMappingURL=src-5URXSFKD.js.map
|
|
5
|
+
//# sourceMappingURL=src-5URXSFKD.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"src-5URXSFKD.js"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkNVYVTCHJ_cjs = require('./chunk-NVYVTCHJ.cjs');
|
|
4
|
+
require('./chunk-MOJJ7QF6.cjs');
|
|
5
5
|
require('./chunk-MXJEULSE.cjs');
|
|
6
6
|
require('./chunk-Q7SFCCGT.cjs');
|
|
7
7
|
|
|
@@ -9,55 +9,55 @@ require('./chunk-Q7SFCCGT.cjs');
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "PaymasterClient", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkNVYVTCHJ_cjs.PaymasterClient; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "PaymasterManager", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkNVYVTCHJ_cjs.PaymasterManager; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "PaymasterOperator", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkNVYVTCHJ_cjs.PaymasterOperator; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "SuperPaymasterAdminClient", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkNVYVTCHJ_cjs.SuperPaymasterAdminClient; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "SuperPaymasterClient", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkNVYVTCHJ_cjs.SuperPaymasterClient; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "buildPaymasterData", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkNVYVTCHJ_cjs.buildPaymasterData; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "buildSuperPaymasterData", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkNVYVTCHJ_cjs.buildSuperPaymasterData; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "checkEligibility", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkNVYVTCHJ_cjs.checkEligibility; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "formatUserOpV07", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkNVYVTCHJ_cjs.formatUserOpV07; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "getPaymasterV4Middleware", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkNVYVTCHJ_cjs.getPaymasterV4Middleware; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "getSuperPaymasterMiddleware", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkNVYVTCHJ_cjs.getSuperPaymasterMiddleware; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "getUserOpHashV07", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkNVYVTCHJ_cjs.getUserOpHashV07; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "tuneGasLimit", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkNVYVTCHJ_cjs.tuneGasLimit; }
|
|
61
61
|
});
|
|
62
|
-
//# sourceMappingURL=src-
|
|
63
|
-
//# sourceMappingURL=src-
|
|
62
|
+
//# sourceMappingURL=src-72GWEAPA.cjs.map
|
|
63
|
+
//# sourceMappingURL=src-72GWEAPA.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"src-72GWEAPA.cjs"}
|