@pafi-dev/issuer 0.15.0 → 0.15.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/index.cjs +6 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +9 -9
- package/dist/index.js.map +1 -1
- package/package.json +12 -12
package/dist/index.cjs
CHANGED
|
@@ -945,7 +945,7 @@ var RelayService = class {
|
|
|
945
945
|
mintTarget = params.mintFeeWrapperAddress;
|
|
946
946
|
} else {
|
|
947
947
|
mintCallData = (0, import_viem3.encodeFunctionData)({
|
|
948
|
-
abi: import_core5.
|
|
948
|
+
abi: import_core5.POINT_TOKEN_ABI,
|
|
949
949
|
functionName: "mint",
|
|
950
950
|
args: [params.userAddress, params.amount, params.deadline, minterSig]
|
|
951
951
|
});
|
|
@@ -1032,7 +1032,7 @@ var RelayService = class {
|
|
|
1032
1032
|
let burnCallData;
|
|
1033
1033
|
try {
|
|
1034
1034
|
burnCallData = (0, import_viem3.encodeFunctionData)({
|
|
1035
|
-
abi: import_core5.
|
|
1035
|
+
abi: import_core5.POINT_TOKEN_ABI,
|
|
1036
1036
|
functionName: "burn",
|
|
1037
1037
|
args: [
|
|
1038
1038
|
params.burnRequest.from,
|
|
@@ -2040,7 +2040,7 @@ var PTRedeemHandler = class {
|
|
|
2040
2040
|
try {
|
|
2041
2041
|
burnNonce = await this.provider.readContract({
|
|
2042
2042
|
address: this.pointTokenAddress,
|
|
2043
|
-
abi: import_core7.
|
|
2043
|
+
abi: import_core7.POINT_TOKEN_ABI,
|
|
2044
2044
|
functionName: "burnRequestNonces",
|
|
2045
2045
|
args: [request.userAddress]
|
|
2046
2046
|
});
|
|
@@ -4544,7 +4544,7 @@ var IssuerStateValidator = class _IssuerStateValidator {
|
|
|
4544
4544
|
if (cached) return cached;
|
|
4545
4545
|
const issuer = await this.provider.readContract({
|
|
4546
4546
|
address: key,
|
|
4547
|
-
abi: import_core19.
|
|
4547
|
+
abi: import_core19.POINT_TOKEN_ABI,
|
|
4548
4548
|
functionName: "issuer"
|
|
4549
4549
|
});
|
|
4550
4550
|
this.pointTokenIssuerCache.set(key, (0, import_viem15.getAddress)(issuer));
|
|
@@ -4641,7 +4641,7 @@ var IssuerStateValidator = class _IssuerStateValidator {
|
|
|
4641
4641
|
(0, import_core19.getTokenCap)(this.provider, issuer.mintingOracle, tokenAddr),
|
|
4642
4642
|
this.provider.readContract({
|
|
4643
4643
|
address: tokenAddr,
|
|
4644
|
-
abi: import_core19.
|
|
4644
|
+
abi: import_core19.POINT_TOKEN_ABI,
|
|
4645
4645
|
functionName: "totalSupply"
|
|
4646
4646
|
})
|
|
4647
4647
|
]);
|
|
@@ -4698,7 +4698,7 @@ var MemoryRedemptionHistoryStore = class {
|
|
|
4698
4698
|
};
|
|
4699
4699
|
|
|
4700
4700
|
// src/index.ts
|
|
4701
|
-
var PAFI_ISSUER_SDK_VERSION = true ? "0.15.
|
|
4701
|
+
var PAFI_ISSUER_SDK_VERSION = true ? "0.15.1" : "dev";
|
|
4702
4702
|
// Annotate the CommonJS export names for ESM import in node:
|
|
4703
4703
|
0 && (module.exports = {
|
|
4704
4704
|
AdapterMisconfiguredError,
|