anchor-sdk 0.1.42-beta.1 → 0.1.42-beta.3

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.
Files changed (36) hide show
  1. package/dist/AnchorApiClientV2.d.ts +9 -4
  2. package/dist/AnchorApiClientV2.js +316 -0
  3. package/dist/AnchorERC1155Client.d.ts +0 -1
  4. package/dist/AnchorERC1155Client.js +301 -0
  5. package/dist/AnchorPayClient.d.ts +0 -1
  6. package/dist/AnchorPayClient.js +908 -0
  7. package/dist/abi/AnchorERC1155.d.ts +0 -1
  8. package/dist/abi/AnchorERC1155.js +1122 -0
  9. package/dist/abi/AnchorPay.json +578 -0
  10. package/dist/constants.d.ts +1 -2
  11. package/dist/constants.js +367 -0
  12. package/dist/generated/Api.d.ts +692 -606
  13. package/dist/generated/Api.js +794 -0
  14. package/dist/index.d.ts +7 -7
  15. package/dist/index.js +1379 -3
  16. package/dist/react/AnchorReactSDK.d.ts +59 -0
  17. package/dist/react/AnchorReactSDK.js +192 -0
  18. package/dist/react/index.d.ts +1 -0
  19. package/dist/react/index.js +8 -0
  20. package/dist/typechain/AnchorERC1155.d.ts +2 -3
  21. package/dist/typechain/AnchorERC1155.js +2 -0
  22. package/dist/typechain/AnchorPay.d.ts +2 -3
  23. package/dist/typechain/AnchorPay.js +2 -0
  24. package/dist/typechain/common.d.ts +1 -2
  25. package/dist/typechain/common.js +2 -0
  26. package/dist/typechain/factories/AnchorERC1155__factory.d.ts +0 -1
  27. package/dist/typechain/factories/AnchorERC1155__factory.js +1766 -0
  28. package/dist/typechain/factories/AnchorPay__factory.d.ts +0 -1
  29. package/dist/typechain/factories/AnchorPay__factory.js +469 -0
  30. package/dist/typechain/factories/index.d.ts +0 -1
  31. package/dist/typechain/factories/index.js +10 -0
  32. package/dist/typechain/index.d.ts +0 -1
  33. package/dist/typechain/index.js +41 -0
  34. package/dist/types.d.ts +0 -1
  35. package/dist/types.js +2 -0
  36. 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(".").WebResultTransactionHashProcess | undefined>;
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 { AnchorPayClient } from "./AnchorPayClient";
338
- export * from "./constants";
340
+ export * from "./react";
339
341
  export * from "./generated/Api";
340
- export * from "./types";
341
- //# sourceMappingURL=index.d.ts.map