clanker-sdk 4.2.1 → 4.2.3-canary.0

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.
@@ -18095,7 +18095,7 @@ declare const clankerTokenV4: z.ZodObject<{
18095
18095
  resetTickFilter: z.ZodNumber;
18096
18096
  feeControlNumerator: z.ZodNumber;
18097
18097
  decayFilterBps: z.ZodNumber;
18098
- }, z.core.$strip>]>>;
18098
+ }, z.core.$strip>], "type">>;
18099
18099
  /** [v4.1+ only] Sniper fees */
18100
18100
  sniperFees: z.ZodPrefault<z.ZodObject<{
18101
18101
  startingFee: z.ZodNumber;
@@ -0,0 +1,14 @@
1
+ type ClankerErrorType = 'caller' | 'state' | 'unknown';
2
+ type ClankerErrorData = {
3
+ type: ClankerErrorType;
4
+ label: string;
5
+ rawName: string;
6
+ };
7
+ declare class ClankerError extends Error {
8
+ readonly error: Error;
9
+ readonly data: ClankerErrorData;
10
+ static unknown(e: Error, name?: string): ClankerError;
11
+ constructor(error: Error, data: ClankerErrorData);
12
+ }
13
+
14
+ export { ClankerError as C };
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  export { C as ClankerTokenV3 } from './clankerTokenV3-BqHTF9QY.js';
2
- import { a as Chain, C as ClankerTokenV4, b as ClankerDeployment } from './clankerTokenV4-CYKWWpwe.js';
3
- export { d as CLANKERS, g as Chains, h as ClankerDeployments, f as Clankers, R as RelatedV3_1, c as RelatedV4, T as Type, i as clankerConfigFor } from './clankerTokenV4-CYKWWpwe.js';
2
+ import { a as Chain, C as ClankerTokenV4, b as ClankerDeployment } from './clankerTokenV4-Btn0ZN4v.js';
3
+ export { d as CLANKERS, g as Chains, h as ClankerDeployments, f as Clankers, R as RelatedV3_1, c as RelatedV4, T as Type, i as clankerConfigFor } from './clankerTokenV4-Btn0ZN4v.js';
4
4
  import { ContractConstructorArgs } from 'viem';
5
5
  import { C as ClankerToken_v3_1_abi, a as ClankerToken_v4_abi } from './ClankerToken-Dra5lppJ.js';
6
6
  import { StandardMerkleTree } from '@openzeppelin/merkle-tree';