@pafi-dev/trading 0.11.1 → 0.12.0
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/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +7 -11
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -1364,7 +1364,7 @@ async function swapDirect(params) {
|
|
|
1364
1364
|
const impl = (0, import_core11.detectDelegateImpl)(delegate);
|
|
1365
1365
|
if (impl === "unknown") {
|
|
1366
1366
|
params.onWarning?.(
|
|
1367
|
-
`swapDirect: user delegated to ${delegate} which is not a PAFI-recognised impl (expected ${import_core11.
|
|
1367
|
+
`swapDirect: user delegated to ${delegate} which is not a PAFI-recognised impl (expected ${import_core11.KERNEL_V3_3_IMPL}). Continuing \u2014 execute will revert if the impl doesn't expose the Kernel execute() entrypoint.`
|
|
1368
1368
|
);
|
|
1369
1369
|
}
|
|
1370
1370
|
let quoteResult;
|
|
@@ -1479,7 +1479,7 @@ async function swapDirectExactOut(params) {
|
|
|
1479
1479
|
const impl = (0, import_core12.detectDelegateImpl)(delegate);
|
|
1480
1480
|
if (impl === "unknown") {
|
|
1481
1481
|
params.onWarning?.(
|
|
1482
|
-
`swapDirectExactOut: user delegated to ${delegate} which is not a PAFI-recognised impl (expected ${import_core12.
|
|
1482
|
+
`swapDirectExactOut: user delegated to ${delegate} which is not a PAFI-recognised impl (expected ${import_core12.KERNEL_V3_3_IMPL}). Continuing \u2014 execute will revert if the impl doesn't expose the Kernel execute() entrypoint.`
|
|
1483
1483
|
);
|
|
1484
1484
|
}
|
|
1485
1485
|
let quoteResult;
|
|
@@ -1569,7 +1569,7 @@ async function perpDepositDirect(params) {
|
|
|
1569
1569
|
const impl = (0, import_core13.detectDelegateImpl)(delegate);
|
|
1570
1570
|
if (impl === "unknown") {
|
|
1571
1571
|
params.onWarning?.(
|
|
1572
|
-
`perpDepositDirect: user delegated to ${delegate} (not a PAFI-recognised impl ${import_core13.
|
|
1572
|
+
`perpDepositDirect: user delegated to ${delegate} (not a PAFI-recognised impl ${import_core13.KERNEL_V3_3_IMPL}). Continuing \u2014 execute will revert if the impl doesn't expose the Kernel execute() entrypoint.`
|
|
1573
1573
|
);
|
|
1574
1574
|
}
|
|
1575
1575
|
const vault = import_core13.ORDERLY_VAULT_ADDRESSES[params.chainId];
|