@atxp/base 0.9.0 → 0.9.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/dist/basePaymentMaker.d.ts.map +1 -1
- package/dist/basePaymentMaker.js +33 -6
- package/dist/basePaymentMaker.js.map +1 -1
- package/dist/index.cjs +4833 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4836 -11
- package/dist/index.js.map +1 -1
- package/dist/node_modules/@aa-sdk/core/dist/esm/client/schema.js +69 -0
- package/dist/node_modules/@aa-sdk/core/dist/esm/client/schema.js.map +1 -0
- package/dist/node_modules/@aa-sdk/core/dist/esm/errors/base.js +43 -0
- package/dist/node_modules/@aa-sdk/core/dist/esm/errors/base.js.map +1 -0
- package/dist/node_modules/@aa-sdk/core/dist/esm/errors/client.js +22 -0
- package/dist/node_modules/@aa-sdk/core/dist/esm/errors/client.js.map +1 -0
- package/dist/node_modules/@aa-sdk/core/dist/esm/transport/split.js +57 -0
- package/dist/node_modules/@aa-sdk/core/dist/esm/transport/split.js.map +1 -0
- package/dist/node_modules/@aa-sdk/core/dist/esm/utils/schema.js +33 -0
- package/dist/node_modules/@aa-sdk/core/dist/esm/utils/schema.js.map +1 -0
- package/dist/node_modules/@aa-sdk/core/dist/esm/utils/traceHeader.js +22 -0
- package/dist/node_modules/@aa-sdk/core/dist/esm/utils/traceHeader.js.map +1 -0
- package/dist/node_modules/@aa-sdk/core/dist/esm/version.js +6 -0
- package/dist/node_modules/@aa-sdk/core/dist/esm/version.js.map +1 -0
- package/dist/node_modules/@account-kit/infra/dist/esm/alchemyTrackerHeaders.js +36 -0
- package/dist/node_modules/@account-kit/infra/dist/esm/alchemyTrackerHeaders.js.map +1 -0
- package/dist/node_modules/@account-kit/infra/dist/esm/alchemyTransport.js +190 -0
- package/dist/node_modules/@account-kit/infra/dist/esm/alchemyTransport.js.map +1 -0
- package/dist/node_modules/@account-kit/infra/dist/esm/schema.js +10 -0
- package/dist/node_modules/@account-kit/infra/dist/esm/schema.js.map +1 -0
- package/dist/node_modules/@account-kit/infra/dist/esm/version.js +6 -0
- package/dist/node_modules/@account-kit/infra/dist/esm/version.js.map +1 -0
- package/dist/node_modules/zod/index.js +6 -0
- package/dist/node_modules/zod/index.js.map +1 -0
- package/dist/node_modules/zod/v3/ZodError.js +137 -0
- package/dist/node_modules/zod/v3/ZodError.js.map +1 -0
- package/dist/node_modules/zod/v3/errors.js +12 -0
- package/dist/node_modules/zod/v3/errors.js.map +1 -0
- package/dist/node_modules/zod/v3/external.js +7 -0
- package/dist/node_modules/zod/v3/external.js.map +1 -0
- package/dist/node_modules/zod/v3/helpers/errorUtil.js +9 -0
- package/dist/node_modules/zod/v3/helpers/errorUtil.js.map +1 -0
- package/dist/node_modules/zod/v3/helpers/parseUtil.js +113 -0
- package/dist/node_modules/zod/v3/helpers/parseUtil.js.map +1 -0
- package/dist/node_modules/zod/v3/helpers/util.js +136 -0
- package/dist/node_modules/zod/v3/helpers/util.js.map +1 -0
- package/dist/node_modules/zod/v3/locales/en.js +112 -0
- package/dist/node_modules/zod/v3/locales/en.js.map +1 -0
- package/dist/node_modules/zod/v3/types.js +3690 -0
- package/dist/node_modules/zod/v3/types.js.map +1 -0
- package/dist/smartWalletHelpers.d.ts +5 -1
- package/dist/smartWalletHelpers.d.ts.map +1 -1
- package/dist/smartWalletHelpers.js +67 -3
- package/dist/smartWalletHelpers.js.map +1 -1
- package/package.json +5 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"basePaymentMaker.d.ts","sourceRoot":"","sources":["../src/basePaymentMaker.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAO,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"basePaymentMaker.d.ts","sourceRoot":"","sources":["../src/basePaymentMaker.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAO,MAAM,cAAc,CAAC;AAWtD,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE3F,OAAO,EAKL,YAAY,EACZ,aAAa,EACd,MAAM,MAAM,CAAC;AAMd,KAAK,oBAAoB,GAAG,YAAY,GAAG,aAAa,CAAC;AA6CzD,qBAAa,gBAAiB,YAAW,YAAY;IACnD,SAAS,CAAC,aAAa,EAAE,oBAAoB,CAAC;IAC9C,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC;gBAEb,UAAU,EAAE,MAAM,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,CAAC,EAAE,MAAM;IAe3E,gBAAgB,CAAC,OAAO,EAAE;QAAC,MAAM,EAAE,SAAS,CAAC;QAAC,QAAQ,EAAE,QAAQ,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAC,GAAG,MAAM;IAIpG,WAAW,CAAC,EAAC,gBAAgB,EAAE,aAAa,EAAE,SAAS,EAAC,EAAE;QAAC,gBAAgB,EAAE,MAAM,CAAC;QAAC,aAAa,EAAE,MAAM,CAAC;QAAC,SAAS,CAAC,EAAE,SAAS,GAAG,IAAI,CAAA;KAAC,GAAG,OAAO,CAAC,MAAM,CAAC;IAsC3J,WAAW,CAAC,YAAY,EAAE,WAAW,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,iBAAiB,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,iBAAiB,GAAG,IAAI,CAAC;CAkH7H"}
|
package/dist/basePaymentMaker.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { UnsupportedCurrencyError, InsufficientFundsError, TransactionRevertedError, ATXPPaymentError, UserRejectedError, GasEstimationError, RpcError, PaymentNetworkError } from '@atxp/client';
|
|
2
2
|
import { ConsoleLogger } from '@atxp/common';
|
|
3
3
|
import { publicActions, encodeFunctionData, parseEther } from 'viem';
|
|
4
4
|
import { base } from 'viem/chains';
|
|
@@ -107,7 +107,7 @@ class BasePaymentMaker {
|
|
|
107
107
|
const currency = dest.currency;
|
|
108
108
|
const receiver = dest.address;
|
|
109
109
|
if (currency.toUpperCase() !== 'USDC') {
|
|
110
|
-
throw new
|
|
110
|
+
throw new UnsupportedCurrencyError(currency, 'base', ['USDC']);
|
|
111
111
|
}
|
|
112
112
|
this.logger.info(`Making payment of ${amount} ${currency} to ${receiver} on Base from ${this.signingClient.account.address}`);
|
|
113
113
|
try {
|
|
@@ -145,7 +145,9 @@ class BasePaymentMaker {
|
|
|
145
145
|
confirmations: 1
|
|
146
146
|
});
|
|
147
147
|
if (receipt.status === 'reverted') {
|
|
148
|
-
|
|
148
|
+
// Try to extract revert reason if available
|
|
149
|
+
// Note: viem doesn't provide revert reason in receipt, would need additional call
|
|
150
|
+
throw new TransactionRevertedError(hash, 'base');
|
|
149
151
|
}
|
|
150
152
|
this.logger.info(`Transaction confirmed: ${hash} in block ${receipt.blockNumber}`);
|
|
151
153
|
// Return payment result with chain and currency
|
|
@@ -156,11 +158,36 @@ class BasePaymentMaker {
|
|
|
156
158
|
};
|
|
157
159
|
}
|
|
158
160
|
catch (error) {
|
|
159
|
-
|
|
161
|
+
// Re-throw our custom payment errors
|
|
162
|
+
if (error instanceof ATXPPaymentError) {
|
|
160
163
|
throw error;
|
|
161
164
|
}
|
|
162
|
-
//
|
|
163
|
-
|
|
165
|
+
// Categorize viem/blockchain errors
|
|
166
|
+
const errorMessage = error.message || '';
|
|
167
|
+
const errorName = error.name || '';
|
|
168
|
+
// User rejected in wallet
|
|
169
|
+
if (errorMessage.includes('User rejected') ||
|
|
170
|
+
errorMessage.includes('user rejected') ||
|
|
171
|
+
errorMessage.includes('User denied') ||
|
|
172
|
+
errorName === 'UserRejectedRequestError') {
|
|
173
|
+
throw new UserRejectedError('base');
|
|
174
|
+
}
|
|
175
|
+
// Gas estimation failed
|
|
176
|
+
if (errorMessage.includes('gas') &&
|
|
177
|
+
(errorMessage.includes('estimation') || errorMessage.includes('estimate'))) {
|
|
178
|
+
throw new GasEstimationError('base', errorMessage);
|
|
179
|
+
}
|
|
180
|
+
// RPC/network errors
|
|
181
|
+
if (errorMessage.includes('fetch failed') ||
|
|
182
|
+
errorMessage.includes('network') ||
|
|
183
|
+
errorMessage.includes('timeout') ||
|
|
184
|
+
errorMessage.includes('ECONNREFUSED') ||
|
|
185
|
+
errorMessage.includes('ETIMEDOUT') ||
|
|
186
|
+
errorName === 'FetchError') {
|
|
187
|
+
throw new RpcError('base', undefined, error);
|
|
188
|
+
}
|
|
189
|
+
// Fallback to generic network error with original error attached
|
|
190
|
+
throw new PaymentNetworkError('base', errorMessage || 'Unknown error', error);
|
|
164
191
|
}
|
|
165
192
|
}
|
|
166
193
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"basePaymentMaker.js","sources":["../src/basePaymentMaker.ts"],"sourcesContent":[null],"names":["
|
|
1
|
+
{"version":3,"file":"basePaymentMaker.js","sources":["../src/basePaymentMaker.ts"],"sourcesContent":[null],"names":["InsufficientFundsErrorClass","PaymentNetworkErrorClass"],"mappings":";;;;;;;AA4BA;AACA,SAAS,WAAW,CAAC,IAAY,EAAA;;AAE/B,IAAA,MAAM,MAAM,GAAG,OAAO,MAAM,KAAK;UAC7B,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,QAAQ;AACrC,UAAE,IAAI,CAAC,IAAI,CAAC;;IAEd,OAAO,MAAM,CAAC,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC;AACzE;AAEA,MAAM,aAAa,GAAG,CAAC;AACvB,MAAM,SAAS,GAAG;AAChB,IAAA;AACE,QAAA,QAAQ,EAAE,KAAK;AACf,QAAA,MAAM,EAAE;AACN,YAAA,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE;AAChC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