anchor-sdk 0.1.42-beta.1 → 0.1.42-beta.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/AnchorApiClientV2.d.ts +8 -4
- package/dist/AnchorApiClientV2.js +316 -0
- package/dist/AnchorERC1155Client.d.ts +0 -1
- package/dist/AnchorERC1155Client.js +301 -0
- package/dist/AnchorPayClient.d.ts +0 -1
- package/dist/AnchorPayClient.js +908 -0
- package/dist/abi/AnchorERC1155.d.ts +0 -1
- package/dist/abi/AnchorERC1155.js +1122 -0
- package/dist/abi/AnchorPay.json +578 -0
- package/dist/constants.d.ts +1 -2
- package/dist/constants.js +367 -0
- package/dist/generated/Api.d.ts +692 -606
- package/dist/generated/Api.js +794 -0
- package/dist/index.d.ts +7 -7
- package/dist/index.js +1379 -3
- package/dist/react/AnchorReactSDK.d.ts +59 -0
- package/dist/react/AnchorReactSDK.js +192 -0
- package/dist/react/index.d.ts +1 -0
- package/dist/react/index.js +8 -0
- package/dist/typechain/AnchorERC1155.d.ts +2 -3
- package/dist/typechain/AnchorERC1155.js +2 -0
- package/dist/typechain/AnchorPay.d.ts +2 -3
- package/dist/typechain/AnchorPay.js +2 -0
- package/dist/typechain/common.d.ts +1 -2
- package/dist/typechain/common.js +2 -0
- package/dist/typechain/factories/AnchorERC1155__factory.d.ts +0 -1
- package/dist/typechain/factories/AnchorERC1155__factory.js +1766 -0
- package/dist/typechain/factories/AnchorPay__factory.d.ts +0 -1
- package/dist/typechain/factories/AnchorPay__factory.js +469 -0
- package/dist/typechain/factories/index.d.ts +0 -1
- package/dist/typechain/factories/index.js +10 -0
- package/dist/typechain/index.d.ts +0 -1
- package/dist/typechain/index.js +41 -0
- package/dist/types.d.ts +0 -1
- package/dist/types.js +2 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Address, type TransactionReceipt } from "viem";
|
|
2
|
-
import { AnchorApiClientV2 } from "./AnchorApiClientV2";
|
|
3
|
-
import { AnchorERC1155Client } from "./AnchorERC1155Client";
|
|
4
2
|
import { AnchorPayClient } from "./AnchorPayClient";
|
|
3
|
+
import { AnchorERC1155Client } from "./AnchorERC1155Client";
|
|
4
|
+
import { AnchorApiClientV2 } from "./AnchorApiClientV2";
|
|
5
5
|
import { AnchorSDKConfig, PaymentOptions, SignedMintRequest } from "./types";
|
|
6
6
|
/**
|
|
7
7
|
* Anchor SDK
|
|
@@ -284,7 +284,7 @@ export declare class AnchorSDK {
|
|
|
284
284
|
* @param txHash 交易哈希
|
|
285
285
|
* @returns 处理结果或 undefined(如果 API 客户端不可用)
|
|
286
286
|
*/
|
|
287
|
-
processTransactionHash(txHash: string): Promise<import("
|
|
287
|
+
processTransactionHash(txHash: string): Promise<import("./generated/Api").WebResultTransactionHashProcess | undefined>;
|
|
288
288
|
/**
|
|
289
289
|
* 批量铸造徽章(V2)
|
|
290
290
|
* @param customerAddress 客户地址
|
|
@@ -332,10 +332,10 @@ export declare class AnchorSDK {
|
|
|
332
332
|
value: bigint;
|
|
333
333
|
}>;
|
|
334
334
|
}
|
|
335
|
+
export * from "./types";
|
|
336
|
+
export * from "./constants";
|
|
337
|
+
export { AnchorPayClient } from "./AnchorPayClient";
|
|
335
338
|
export { AnchorApiClientV2 } from "./AnchorApiClientV2";
|
|
336
339
|
export { AnchorERC1155Client } from "./AnchorERC1155Client";
|
|
337
|
-
export
|
|
338
|
-
export * from "./constants";
|
|
340
|
+
export * from "./react";
|
|
339
341
|
export * from "./generated/Api";
|
|
340
|
-
export * from "./types";
|
|
341
|
-
//# sourceMappingURL=index.d.ts.map
|