@smoothsend/sdk 2.1.3 → 2.2.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.
@@ -0,0 +1,39 @@
1
+ import { SupportedChain, IChainAdapter, ChainConfig, TransferRequest, TransferQuote, SignatureData, SignedTransferData, TransferResult, TokenInfo } from '../types';
2
+ /**
3
+ * EVM Multi-Chain Adapter
4
+ * Handles all EVM-compatible chains (Avalanche, Polygon, Ethereum, Arbitrum, Base)
5
+ * Routes requests to the appropriate chain endpoint on the EVM relayer
6
+ */
7
+ export declare class EVMAdapter implements IChainAdapter {
8
+ readonly chain: SupportedChain;
9
+ readonly config: ChainConfig;
10
+ private httpClient;
11
+ constructor(chain: SupportedChain, config: ChainConfig, relayerUrl: string);
12
+ /**
13
+ * Build API path with chain name for EVM relayer
14
+ * EVM relayer uses /chains/{chainName} prefix for most endpoints
15
+ */
16
+ private getApiPath;
17
+ getQuote(request: TransferRequest): Promise<TransferQuote>;
18
+ prepareTransfer(request: TransferRequest, quote: TransferQuote): Promise<SignatureData>;
19
+ executeTransfer(signedData: SignedTransferData): Promise<TransferResult>;
20
+ /**
21
+ * EVM-specific batch transfer support
22
+ * Takes advantage of the EVM relayer's native batch capabilities
23
+ */
24
+ executeBatchTransfer?(signedTransfers: SignedTransferData[]): Promise<TransferResult[]>;
25
+ getTokenInfo(token: string): Promise<TokenInfo>;
26
+ getNonce(address: string): Promise<string>;
27
+ getTransactionStatus(txHash: string): Promise<any>;
28
+ validateAddress(address: string): boolean;
29
+ validateAmount(amount: string, token: string): Promise<boolean>;
30
+ /**
31
+ * EVM-specific gas estimation
32
+ */
33
+ estimateGas(transfers: any[]): Promise<any>;
34
+ /**
35
+ * EVM-specific permit support check
36
+ */
37
+ supportsPermit(tokenAddress: string): Promise<boolean>;
38
+ }
39
+ //# sourceMappingURL=evm.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"evm.d.ts","sourceRoot":"","sources":["../../src/adapters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AAY,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;CAc7D"}
@@ -0,0 +1,7 @@
1
+ import { ChainConfig, SupportedChain } from '../types';
2
+ export declare const CHAIN_CONFIGS: Record<SupportedChain, ChainConfig>;
3
+ export declare function getChainConfig(chain: SupportedChain): ChainConfig;
4
+ export declare function getAllChainConfigs(): Record<SupportedChain, ChainConfig>;
5
+ export declare const TOKEN_DECIMALS: Record<string, number>;
6
+ export declare function getTokenDecimals(token: string): number;
7
+ //# sourceMappingURL=chains.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chains.d.ts","sourceRoot":"","sources":["../../src/config/chains.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAIvD,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,cAAc,EAAE,WAAW,CA2C7D,CAAC;AAEF,wBAAgB,cAAc,CAAC,KAAK,EAAE,cAAc,GAAG,WAAW,CAEjE;AAED,wBAAgB,kBAAkB,IAAI,MAAM,CAAC,cAAc,EAAE,WAAW,CAAC,CAExE;AAID,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAKjD,CAAC;AAEF,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAEtD"}
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { AptosConfig, AnyRawTransaction, AccountAuthenticator, PendingTransactionResponse } from '@aptos-labs/ts-sdk';
1
+ import { AptosConfig, AnyRawTransaction, AccountAuthenticator, PendingTransactionResponse, Account, InputGenerateTransactionPayloadData, Aptos } from '@aptos-labs/ts-sdk';
2
2
  import { AxiosRequestConfig } from 'axios';
3
3
 
4
4
  /**
@@ -1486,8 +1486,8 @@ declare class SmoothSendSDK {
1486
1486
  */
1487
1487
 
1488
1488
  /**
1489
- * Configuration options for SmoothSendTransactionSubmitter
1490
- */
1489
+ * Configuration options for SmoothSendTransactionSubmitter
1490
+ */
1491
1491
  interface SmoothSendTransactionSubmitterConfig {
1492
1492
  /**
1493
1493
  * Your SmoothSend API key
@@ -1521,6 +1521,33 @@ interface SmoothSendTransactionSubmitterConfig {
1521
1521
  * @default false
1522
1522
  */
1523
1523
  debug?: boolean;
1524
+ /**
1525
+ * Enable session key mode — user signs once, all subsequent transactions
1526
+ * are signed silently by an in-memory session key. Zero wallet popups after setup.
1527
+ *
1528
+ * Uses Aptos Account Abstraction (AIP-103 Permissioned Signers) — enforced on-chain.
1529
+ * Live on mainnet and testnet (as of April 2025).
1530
+ * SmoothSend pays gas for the one-time session setup transaction too.
1531
+ *
1532
+ * @default false
1533
+ *
1534
+ * @example
1535
+ * ```typescript
1536
+ * const smoothSend = new SmoothSendTransactionSubmitter({
1537
+ * apiKey: 'pk_nogas_xxx',
1538
+ * network: 'mainnet',
1539
+ * session: true,
1540
+ * });
1541
+ * ```
1542
+ */
1543
+ session?: boolean;
1544
+ /**
1545
+ * How long the session key stays valid.
1546
+ * Format: number + unit (s, m, h, d)
1547
+ * Use "never" for client-side indefinite session validity.
1548
+ * @default '24h'
1549
+ */
1550
+ sessionDuration?: string;
1524
1551
  }
1525
1552
  /**
1526
1553
  * TransactionSubmitter interface compatible with @aptos-labs/ts-sdk v2.x
@@ -1551,7 +1578,30 @@ declare class SmoothSendTransactionSubmitter implements TransactionSubmitter {
1551
1578
  private readonly timeout;
1552
1579
  private readonly getCaptchaToken?;
1553
1580
  private readonly debug;
1581
+ readonly sessionEnabled: boolean;
1582
+ private readonly sessionDuration;
1583
+ private _session;
1554
1584
  constructor(config: SmoothSendTransactionSubmitterConfig);
1585
+ /**
1586
+ * Whether a valid session is currently active.
1587
+ */
1588
+ hasSession(): boolean;
1589
+ /**
1590
+ * Create a session key for the given master account.
1591
+ * Called once by useSmoothSend when session: true and no session exists.
1592
+ * SmoothSend pays gas for the setup transaction.
1593
+ *
1594
+ * @param masterAccount - The user's wallet account (from wallet adapter)
1595
+ */
1596
+ createSession(masterAccount: Account): Promise<void>;
1597
+ private isPermissionedSignerEnabled;
1598
+ private signSenderAuthenticator;
1599
+ /**
1600
+ * Submit a transaction using the active session key — no wallet popup.
1601
+ * Called by useSmoothSend after session is established.
1602
+ */
1603
+ submitWithSession(functionName: `${string}::${string}::${string}`, functionArguments?: any[], typeArguments?: string[]): Promise<PendingTransactionResponse>;
1604
+ private _parseDuration;
1555
1605
  /**
1556
1606
  * Submit a transaction through SmoothSend's gasless relayer
1557
1607
  *
@@ -1612,6 +1662,10 @@ declare function createSmoothSendSubmitter(apiKey: string, options?: Partial<Omi
1612
1662
  * - Function in allowlist → fee-payer gasless path via SmoothSend
1613
1663
  * - Function not in allowlist → regular wallet submission (user pays gas)
1614
1664
  *
1665
+ * When submitter has session: true, the first transaction triggers a one-time
1666
+ * wallet sign to register a session key on-chain. Every transaction after that
1667
+ * is signed silently — zero wallet popups.
1668
+ *
1615
1669
  * Requires: react >=17, @aptos-labs/wallet-adapter-react >=3, @aptos-labs/ts-sdk >=1
1616
1670
  *
1617
1671
  * @example
@@ -1628,18 +1682,121 @@ interface UseSmoothSendResult {
1628
1682
  /**
1629
1683
  * Smart signAndSubmitTransaction — same signature as the wallet adapter's version.
1630
1684
  * Sponsored functions go gasless via SmoothSend; others fall back to user-pays-gas.
1685
+ * With session: true, zero wallet popups after the first transaction.
1631
1686
  */
1632
1687
  signAndSubmitTransaction: (input: {
1633
1688
  data: any;
1634
1689
  options?: any;
1635
1690
  }) => Promise<any>;
1691
+ /**
1692
+ * Whether a session key is currently active (only relevant when session: true).
1693
+ * Updates reactively when session is created or expires.
1694
+ */
1695
+ hasSession: boolean;
1696
+ }
1697
+ declare function useSmoothSend(submitter: SmoothSendTransactionSubmitter): UseSmoothSendResult;
1698
+
1699
+ interface CreateSessionOptions {
1700
+ /**
1701
+ * The master account that owns the Aptos address.
1702
+ * Can be a KeylessAccount (Google/Apple login), Ed25519Account, or any Account
1703
+ * that implements the Aptos Account interface.
1704
+ *
1705
+ * @example keylessAccount from aptos.deriveKeylessAccount(...)
1706
+ * @example Account.fromPrivateKey({ privateKey })
1707
+ */
1708
+ signer: Account;
1709
+ /**
1710
+ * How long the session should stay valid.
1711
+ * Format: number + unit (s = seconds, m = minutes, h = hours, d = days)
1712
+ * @example '2h' | '24h' | '7d' | 'never'
1713
+ */
1714
+ expiresIn: string;
1715
+ /**
1716
+ * Network to use. Inferred from submitter if not provided.
1717
+ */
1718
+ network?: 'testnet' | 'mainnet';
1719
+ }
1720
+ interface SessionInfo {
1721
+ /** The user's main account address — sender for all transactions */
1722
+ masterAddress: string;
1723
+ /** The temporary session key address (for debugging / display) */
1724
+ sessionKeyAddress: string;
1725
+ /** When this session expires (Unix timestamp in ms) */
1726
+ expiresAt: number;
1727
+ /** Network this session operates on */
1728
+ network: 'testnet' | 'mainnet';
1729
+ }
1730
+ interface SubmitResult {
1731
+ hash: string;
1636
1732
  }
1637
1733
  /**
1638
- * useSmoothSend
1734
+ * A session that lets your app submit transactions on behalf of a user
1735
+ * without any wallet popup after the initial one-time setup.
1639
1736
  *
1640
- * @param submitter - A SmoothSendTransactionSubmitter instance (created once, e.g. at module scope)
1641
- */
1642
- declare function useSmoothSend(submitter: SmoothSendTransactionSubmitter): UseSmoothSendResult;
1737
+ * Uses Aptos AIP-103 Permissioned Signers — authorization is enforced
1738
+ * on-chain by `0x1::permissioned_delegation`. No custom Move contract needed.
1739
+ *
1740
+ * @example
1741
+ * // 1. One-time setup (user signs once — can be keyless/Google login)
1742
+ * const session = await SmoothSendSession.create({
1743
+ * signer: keylessAccount,
1744
+ * expiresIn: '24h',
1745
+ * }, submitter)
1746
+ *
1747
+ * // 2. Every action after — zero popups, zero gas
1748
+ * await session.submit('0xgame::player::move', ['north'])
1749
+ * await session.submit('0xgame::player::attack', [enemyId])
1750
+ */
1751
+ declare class SmoothSendSession {
1752
+ private readonly sessionAccount;
1753
+ private readonly abstractedAccount;
1754
+ private readonly masterAddress;
1755
+ private readonly expiresAtMs;
1756
+ private readonly submitter;
1757
+ private readonly aptosClient;
1758
+ private readonly _network;
1759
+ private constructor();
1760
+ /**
1761
+ * Create a new session.
1762
+ *
1763
+ * Registers the session key on-chain via
1764
+ * `0x1::permissioned_delegation::add_permissioned_handle`.
1765
+ * SmoothSend pays the gas for this setup transaction too.
1766
+ *
1767
+ * After this returns, the user never needs to approve anything again
1768
+ * until the session expires or is revoked.
1769
+ */
1770
+ static create(options: CreateSessionOptions, submitter: SmoothSendTransactionSubmitter): Promise<SmoothSendSession>;
1771
+ /**
1772
+ * Submit a transaction silently — no wallet popup, zero gas.
1773
+ *
1774
+ * The transaction sender on-chain is still the user's main address.
1775
+ * The session key signs it, and `permissioned_delegation::authenticate`
1776
+ * validates the authorization at the VM level.
1777
+ *
1778
+ * @param functionName Full Move function identifier e.g. '0xgame::player::move'
1779
+ * @param functionArguments Arguments matching the Move function signature
1780
+ * @param typeArguments Optional type arguments for generic functions
1781
+ *
1782
+ * @example
1783
+ * await session.submit('0xgame::player::move', ['north'])
1784
+ * await session.submit('0x1::coin::transfer', [recipientAddr, 1000000n])
1785
+ */
1786
+ submit(functionName: `${string}::${string}::${string}`, functionArguments?: any[], typeArguments?: string[]): Promise<SubmitResult>;
1787
+ /**
1788
+ * Whether this session is still valid (not yet expired).
1789
+ */
1790
+ isValid(): boolean;
1791
+ /**
1792
+ * Milliseconds until this session expires. Returns 0 if already expired.
1793
+ */
1794
+ expiresInMs(): number;
1795
+ /**
1796
+ * Session metadata — useful for display or debugging.
1797
+ */
1798
+ get info(): SessionInfo;
1799
+ }
1643
1800
 
1644
1801
  /**
1645
1802
  * Script Composer Client
@@ -1904,6 +2061,78 @@ declare class ScriptComposerClient {
1904
2061
  */
1905
2062
  declare function createScriptComposerClient(config: ScriptComposerConfig): ScriptComposerClient;
1906
2063
 
2064
+ /**
2065
+ * True Gasless Client
2066
+ *
2067
+ * Designed for server-side (backend) environments to securely build, sign,
2068
+ * and submit 100% sponsored gasless transactions using a Secret Key.
2069
+ *
2070
+ * @example
2071
+ * ```typescript
2072
+ * import { TrueGaslessClient } from '@smoothsend/sdk';
2073
+ * import { Account } from '@aptos-labs/ts-sdk';
2074
+ *
2075
+ * const backendWallet = Account.fromPrivateKey({ privateKey: '...' });
2076
+ * const client = new TrueGaslessClient({ apiKey: 'sk_nogas_...', network: 'mainnet' });
2077
+ *
2078
+ * const result = await client.execute({
2079
+ * senderAccount: backendWallet,
2080
+ * payload: {
2081
+ * function: "0x123::my_module::mint_nft",
2082
+ * functionArguments: []
2083
+ * }
2084
+ * });
2085
+ *
2086
+ * console.log("Gasless NFT Minted!", result.txHash);
2087
+ * ```
2088
+ */
2089
+
2090
+ interface TrueGaslessConfig {
2091
+ /** API key for authentication (must be sk_nogas_* for backend) */
2092
+ apiKey: string;
2093
+ /** Network to use: 'testnet' | 'mainnet' */
2094
+ network: 'testnet' | 'mainnet';
2095
+ /** Custom proxy URL (optional) */
2096
+ proxyUrl?: string;
2097
+ /** Request timeout in milliseconds */
2098
+ timeout?: number;
2099
+ /** Enable debug logging */
2100
+ debug?: boolean;
2101
+ }
2102
+ interface ExecuteGaslessParams {
2103
+ /** The backend sender wallet identity */
2104
+ senderAccount: Account;
2105
+ /** Raw transaction payload to execute */
2106
+ payload: InputGenerateTransactionPayloadData;
2107
+ }
2108
+ interface ExecuteGaslessResult {
2109
+ success: boolean;
2110
+ requestId?: string;
2111
+ txHash?: string;
2112
+ gasUsed?: string;
2113
+ vmStatus?: string;
2114
+ sender?: string;
2115
+ }
2116
+ declare class TrueGaslessClient {
2117
+ private httpClient;
2118
+ private config;
2119
+ private aptos;
2120
+ constructor(config: TrueGaslessConfig);
2121
+ private log;
2122
+ /**
2123
+ * Builds, signs (as sender), and relays an arbitrary payload for complete sponsorship.
2124
+ */
2125
+ execute(params: ExecuteGaslessParams): Promise<ExecuteGaslessResult>;
2126
+ /**
2127
+ * Expose the core Aptos instance to allow backend developers to access chain state if needed
2128
+ */
2129
+ getAptosClient(): Aptos;
2130
+ }
2131
+ /**
2132
+ * Helper to initialize TrueGaslessClient
2133
+ */
2134
+ declare function createTrueGaslessClient(config: TrueGaslessConfig): TrueGaslessClient;
2135
+
1907
2136
  /**
1908
2137
  * Aptos Multi-Chain Adapter - v2 Proxy Architecture
1909
2138
  * Handles all Aptos chains (aptos-testnet, aptos-mainnet)
@@ -2012,6 +2241,8 @@ interface HttpClientConfig {
2012
2241
  retries?: number;
2013
2242
  customHeaders?: Record<string, string>;
2014
2243
  includeOrigin?: boolean;
2244
+ /** Override the default proxy base URL (e.g. for self-hosted relayers) */
2245
+ baseUrl?: string;
2015
2246
  }
2016
2247
  /**
2017
2248
  * HTTP Client for proxy worker integration
@@ -2315,7 +2546,7 @@ declare class StellarAdapter implements IChainAdapter {
2315
2546
  * SDK version
2316
2547
  * @public
2317
2548
  */
2318
- declare const VERSION = "2.1.3";
2549
+ declare const VERSION = "2.2.1";
2319
2550
 
2320
- export { APTOS_ERROR_CODES, AptosAdapter, AuthenticationError, CHAIN_ECOSYSTEM_MAP, HttpClient, NetworkError, RateLimitError, STELLAR_ERROR_CODES, ScriptComposerClient, SmoothSendError, SmoothSendSDK, SmoothSendTransactionSubmitter, StellarAdapter, StellarCAddressAdapter, VERSION, ValidationError, createErrorFromResponse, createNetworkError, createScriptComposerClient, createSmoothSendSubmitter, SmoothSendSDK as default, useSmoothSend };
2321
- export type { ApiResponse, AptosErrorCode, AptosTransferData, AptosWallet, AvalancheTransferData, BatchRelayTransferRequest, BatchTransferRequest, BuildTransferParams, BuildTransferResult, CAddressBalance, CAddressBalanceResult, CAddressBuildTransferResult, CAddressCreateResult, CAddressHealthResult, CAddressHistoryResult, CAddressLookupResult, CAddressSubmitResult, CAddressTransaction, ChainConfig, ChainEcosystem, ChainInfo, DomainSeparatorResponse, EVMTransferData, ErrorResponse, EstimateGasRequest, EventListener, FeeEstimate, FeeEstimateResult, GasEstimateResponse, HealthResponse, IChainAdapter, PermitData, PrepareSignatureRequest, PrepareSignatureResponse, RelayTransferRequest, RelayTransferResponse, ScriptComposerConfig, SignatureData, SignedTransferData, SmoothSendConfig, SmoothSendTransactionSubmitterConfig, StellarWallet, SubmitSignedTransactionParams, SubmitTransactionResult, SuccessResponse, SupportedChain, TokenBalance, TokenInfo, TransactionSubmitter, TransferData, TransferEvent, TransferQuote, TransferQuoteRequest, TransferQuoteResponse, TransferRequest, TransferResult, TransferStatusResponse, UsageMetadata, UseSmoothSendResult };
2551
+ export { APTOS_ERROR_CODES, AptosAdapter, AuthenticationError, CHAIN_ECOSYSTEM_MAP, HttpClient, NetworkError, RateLimitError, STELLAR_ERROR_CODES, ScriptComposerClient, SmoothSendError, SmoothSendSDK, SmoothSendSession, SmoothSendTransactionSubmitter, StellarAdapter, StellarCAddressAdapter, TrueGaslessClient, VERSION, ValidationError, createErrorFromResponse, createNetworkError, createScriptComposerClient, createSmoothSendSubmitter, createTrueGaslessClient, SmoothSendSDK as default, useSmoothSend };
2552
+ export type { ApiResponse, AptosErrorCode, AptosTransferData, AptosWallet, AvalancheTransferData, BatchRelayTransferRequest, BatchTransferRequest, BuildTransferParams, BuildTransferResult, CAddressBalance, CAddressBalanceResult, CAddressBuildTransferResult, CAddressCreateResult, CAddressHealthResult, CAddressHistoryResult, CAddressLookupResult, CAddressSubmitResult, CAddressTransaction, ChainConfig, ChainEcosystem, ChainInfo, CreateSessionOptions, DomainSeparatorResponse, EVMTransferData, ErrorResponse, EstimateGasRequest, EventListener, ExecuteGaslessParams, ExecuteGaslessResult, FeeEstimate, FeeEstimateResult, GasEstimateResponse, HealthResponse, IChainAdapter, PermitData, PrepareSignatureRequest, PrepareSignatureResponse, RelayTransferRequest, RelayTransferResponse, ScriptComposerConfig, SessionInfo, SignatureData, SignedTransferData, SmoothSendConfig, SmoothSendTransactionSubmitterConfig, StellarWallet, SubmitResult, SubmitSignedTransactionParams, SubmitTransactionResult, SuccessResponse, SupportedChain, TokenBalance, TokenInfo, TransactionSubmitter, TransferData, TransferEvent, TransferQuote, TransferQuoteRequest, TransferQuoteResponse, TransferRequest, TransferResult, TransferStatusResponse, TrueGaslessConfig, UsageMetadata, UseSmoothSendResult };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAGH,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAIrD,OAAO,EACL,8BAA8B,EAC9B,yBAAyB,EACzB,KAAK,oCAAoC,EACzC,KAAK,oBAAoB,EACzB,aAAa,EACb,KAAK,mBAAmB,GACzB,MAAM,kBAAkB,CAAC;AAI1B,OAAO,EACL,oBAAoB,EACpB,0BAA0B,EAC1B,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,6BAA6B,EAClC,KAAK,uBAAuB,EAC5B,KAAK,iBAAiB,GACvB,MAAM,mBAAmB,CAAC;AAG3B,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAGpD,OAAO,EACL,sBAAsB,EACtB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,KAAK,2BAA2B,EAChC,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,GAC1B,MAAM,8BAA8B,CAAC;AAGtC,cAAc,SAAS,CAAC;AAGxB,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C;;;GAGG;AACH,eAAO,MAAM,OAAO,UAAU,CAAC;AAG/B,OAAO,EAAE,aAAa,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAGH,OAAO,EAAE,aAAa,EAAE,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