@aastar/tokens 0.16.12 → 0.16.14

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.d.ts CHANGED
@@ -1,8 +1,15 @@
1
- import { type Address, type WalletClient, type PublicClient, type Hash } from 'viem';
1
+ import { type Address, type Hash } from 'viem';
2
+ import { type PublicClient, type WalletClient } from '@aastar/core';
2
3
  export declare class FinanceClient {
4
+ /** @internal */
3
5
  private publicClient;
6
+ /** @internal */
4
7
  private walletClient;
5
- constructor(publicClient: PublicClient, walletClient: WalletClient);
8
+ constructor(
9
+ /** @internal */
10
+ publicClient: PublicClient,
11
+ /** @internal */
12
+ walletClient: WalletClient);
6
13
  /** @deprecated Use instance methods instead */
7
14
  static depositToPaymaster(wallet: WalletClient, paymaster: Address, amount: bigint): Promise<`0x${string}`>;
8
15
  /** @deprecated Use instance methods instead */
package/dist/index.js CHANGED
@@ -13,7 +13,11 @@ const ERC20_ABI = parseAbi([
13
13
  export class FinanceClient {
14
14
  publicClient;
15
15
  walletClient;
16
- constructor(publicClient, walletClient) {
16
+ constructor(
17
+ /** @internal */
18
+ publicClient,
19
+ /** @internal */
20
+ walletClient) {
17
21
  this.publicClient = publicClient;
18
22
  this.walletClient = walletClient;
19
23
  }
package/package.json CHANGED
@@ -1,6 +1,9 @@
1
1
  {
2
2
  "name": "@aastar/tokens",
3
- "version": "0.16.12",
3
+ "version": "0.16.14",
4
+ "publishConfig": {
5
+ "access": "public"
6
+ },
4
7
  "type": "module",
5
8
  "main": "dist/index.js",
6
9
  "types": "dist/index.d.ts",
@@ -9,7 +12,7 @@
9
12
  ],
10
13
  "dependencies": {
11
14
  "viem": "2.43.3",
12
- "@aastar/core": "0.16.12"
15
+ "@aastar/core": "0.16.14"
13
16
  },
14
17
  "devDependencies": {
15
18
  "typescript": "5.7.2"