@pafi-dev/core 0.13.0 → 0.13.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/README.md +1 -1
- package/dist/index.cjs +4 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -2
- package/dist/index.d.ts +5 -2
- package/dist/index.js +8 -7
- package/dist/index.js.map +1 -1
- package/package.json +12 -12
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Address, Hex, TypedDataDomain, PublicClient, WalletClient, TransactionReceipt, HttpTransport } from 'viem';
|
|
2
2
|
import { P as PoolKey, C as ChainConfig, V as V3Path, a as PafiSDKConfig, b as PointTokenDomainConfig, M as MintRequest, E as EIP712Signature, S as SignatureVerifyOptions, c as SignatureVerification } from './types-C17pznGz.cjs';
|
|
3
3
|
export { B as BestQuote, d as BlackoutWindow, e as BurnRequest, f as ExactOutputBestQuote, g as ExactOutputQuoteResult, I as Issuer, Q as QuoteResult, R as Recipient, h as RedemptionDecision, i as RedemptionDenial, j as RedemptionDenialCode, k as RedemptionPolicy, l as RedemptionPolicySource, m as RedemptionPreview, n as SignatureVerificationFailReason, T as TokenCap } from './types-C17pznGz.cjs';
|
|
4
|
-
export { pointTokenAbi as POINT_TOKEN_V2_ABI, erc20Abi, issuerRegistryAbi, mintFeeWrapperAbi, mintingOracleAbi, permit2Abi, pointTokenAbi, pointTokenFactoryAbi, universalRouterAbi, v3QuoterV2Abi } from './abi/index.cjs';
|
|
4
|
+
export { pointTokenAbi as POINT_TOKEN_ABI, pointTokenAbi as POINT_TOKEN_V2_ABI, erc20Abi, issuerRegistryAbi, mintFeeWrapperAbi, mintingOracleAbi, permit2Abi, pointTokenAbi, pointTokenFactoryAbi, universalRouterAbi, v3QuoterV2Abi } from './abi/index.cjs';
|
|
5
5
|
export { Eip712DomainMismatchError, assertDomainMatchesContract, buildBurnRequestTypedData, buildDomain, buildMintRequestTypedData, signBurnRequest, signMintRequest, verifyBurnRequest, verifyMintRequest } from './eip712/index.cjs';
|
|
6
6
|
export { getBurnRequestNonce, getIssuer, getMintFeeBps, getMintFeeRecipients, getMintRequestNonce, getPointTokenBalance, getPointTokenIssuer, getPointTokenIssuerAddress, getTokenCap, getTokenName, isActiveIssuer, isMinter, issuerRegistryGetIssuerFlatAbi, verifyMintCap } from './contract/index.cjs';
|
|
7
7
|
import { LoginMessageParams } from './auth/index.cjs';
|
|
@@ -1818,7 +1818,10 @@ declare function getPafiServiceUrls(chainId: number): PafiServiceUrls;
|
|
|
1818
1818
|
* burnerSig)`.
|
|
1819
1819
|
*
|
|
1820
1820
|
* Exports:
|
|
1821
|
-
* - `
|
|
1821
|
+
* - `POINT_TOKEN_ABI` — full mint + burn + admin surface
|
|
1822
|
+
* (canonical name; not version-suffixed
|
|
1823
|
+
* so future Uniswap fork bumps don't
|
|
1824
|
+
* collide with PointToken internals)
|
|
1822
1825
|
* - `BATCH_EXECUTOR_*` — EIP-7702 delegation target (ABI real,
|
|
1823
1826
|
* address still placeholder on all
|
|
1824
1827
|
* chains until SC delivers)
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Address, Hex, TypedDataDomain, PublicClient, WalletClient, TransactionReceipt, HttpTransport } from 'viem';
|
|
2
2
|
import { P as PoolKey, C as ChainConfig, V as V3Path, a as PafiSDKConfig, b as PointTokenDomainConfig, M as MintRequest, E as EIP712Signature, S as SignatureVerifyOptions, c as SignatureVerification } from './types-C17pznGz.js';
|
|
3
3
|
export { B as BestQuote, d as BlackoutWindow, e as BurnRequest, f as ExactOutputBestQuote, g as ExactOutputQuoteResult, I as Issuer, Q as QuoteResult, R as Recipient, h as RedemptionDecision, i as RedemptionDenial, j as RedemptionDenialCode, k as RedemptionPolicy, l as RedemptionPolicySource, m as RedemptionPreview, n as SignatureVerificationFailReason, T as TokenCap } from './types-C17pznGz.js';
|
|
4
|
-
export { pointTokenAbi as POINT_TOKEN_V2_ABI, erc20Abi, issuerRegistryAbi, mintFeeWrapperAbi, mintingOracleAbi, permit2Abi, pointTokenAbi, pointTokenFactoryAbi, universalRouterAbi, v3QuoterV2Abi } from './abi/index.js';
|
|
4
|
+
export { pointTokenAbi as POINT_TOKEN_ABI, pointTokenAbi as POINT_TOKEN_V2_ABI, erc20Abi, issuerRegistryAbi, mintFeeWrapperAbi, mintingOracleAbi, permit2Abi, pointTokenAbi, pointTokenFactoryAbi, universalRouterAbi, v3QuoterV2Abi } from './abi/index.js';
|
|
5
5
|
export { Eip712DomainMismatchError, assertDomainMatchesContract, buildBurnRequestTypedData, buildDomain, buildMintRequestTypedData, signBurnRequest, signMintRequest, verifyBurnRequest, verifyMintRequest } from './eip712/index.js';
|
|
6
6
|
export { getBurnRequestNonce, getIssuer, getMintFeeBps, getMintFeeRecipients, getMintRequestNonce, getPointTokenBalance, getPointTokenIssuer, getPointTokenIssuerAddress, getTokenCap, getTokenName, isActiveIssuer, isMinter, issuerRegistryGetIssuerFlatAbi, verifyMintCap } from './contract/index.js';
|
|
7
7
|
import { LoginMessageParams } from './auth/index.js';
|
|
@@ -1818,7 +1818,10 @@ declare function getPafiServiceUrls(chainId: number): PafiServiceUrls;
|
|
|
1818
1818
|
* burnerSig)`.
|
|
1819
1819
|
*
|
|
1820
1820
|
* Exports:
|
|
1821
|
-
* - `
|
|
1821
|
+
* - `POINT_TOKEN_ABI` — full mint + burn + admin surface
|
|
1822
|
+
* (canonical name; not version-suffixed
|
|
1823
|
+
* so future Uniswap fork bumps don't
|
|
1824
|
+
* collide with PointToken internals)
|
|
1822
1825
|
* - `BATCH_EXECUTOR_*` — EIP-7702 delegation target (ABI real,
|
|
1823
1826
|
* address still placeholder on all
|
|
1824
1827
|
* chains until SC delivers)
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
import {
|
|
2
|
+
erc20Abi,
|
|
3
|
+
permit2Abi,
|
|
4
|
+
pointTokenFactoryAbi,
|
|
5
|
+
universalRouterAbi,
|
|
6
|
+
v3QuoterV2Abi
|
|
7
|
+
} from "./chunk-ZJXXCG5P.js";
|
|
1
8
|
import {
|
|
2
9
|
SPONSOR_AUTH_DOMAIN_ANCHOR_BASE_MAINNET,
|
|
3
10
|
SPONSOR_AUTH_DOMAIN_NAME,
|
|
@@ -14,13 +21,6 @@ import {
|
|
|
14
21
|
verifyLoginMessage,
|
|
15
22
|
verifySponsorAuth
|
|
16
23
|
} from "./chunk-4EGXLYMM.js";
|
|
17
|
-
import {
|
|
18
|
-
erc20Abi,
|
|
19
|
-
permit2Abi,
|
|
20
|
-
pointTokenFactoryAbi,
|
|
21
|
-
universalRouterAbi,
|
|
22
|
-
v3QuoterV2Abi
|
|
23
|
-
} from "./chunk-ZJXXCG5P.js";
|
|
24
24
|
import {
|
|
25
25
|
getBurnRequestNonce,
|
|
26
26
|
getIssuer,
|
|
@@ -1576,6 +1576,7 @@ export {
|
|
|
1576
1576
|
PAFI_SERVICE_URLS,
|
|
1577
1577
|
PAFI_SUBGRAPH_URL,
|
|
1578
1578
|
PERMIT2_ADDRESS,
|
|
1579
|
+
pointTokenAbi as POINT_TOKEN_ABI,
|
|
1579
1580
|
POINT_TOKEN_FACTORY_ADDRESSES,
|
|
1580
1581
|
POINT_TOKEN_IMPL_ADDRESSES,
|
|
1581
1582
|
POINT_TOKEN_POOLS,
|