@zkclaw/sdk 2.0.5 → 2.0.6

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.
@@ -8,8 +8,8 @@ import {
8
8
  import { privateKeyToAccount } from "viem/accounts";
9
9
  import { base } from "viem/chains";
10
10
  var DEFAULT_TOKEN_ADDRESS = "0x000000000000000000000000000000000000dead";
11
- var DEFAULT_POST_THRESHOLD = BigInt("5000") * BigInt(10 ** 18);
12
- var DEFAULT_PROMOTE_THRESHOLD = BigInt("2000000") * BigInt(10 ** 18);
11
+ var DEFAULT_POST_THRESHOLD = BigInt("50000") * BigInt(10 ** 18);
12
+ var DEFAULT_PROMOTE_THRESHOLD = BigInt("20000000") * BigInt(10 ** 18);
13
13
  var cachedConfig = null;
14
14
  var configFetchPromise = null;
15
15
  var ERC20_ABI = [
@@ -91,8 +91,8 @@ var ZKClaw = class {
91
91
  symbol: "ZKCLAW"
92
92
  },
93
93
  thresholds: {
94
- post: 5e3,
95
- promote: 2e6
94
+ post: 5e4,
95
+ promote: 2e7
96
96
  },
97
97
  limits: {
98
98
  maxPostLength: 320,
@@ -339,8 +339,8 @@ Timestamp: ${Date.now()}`;
339
339
  getRequirementsSync() {
340
340
  const config = this.config;
341
341
  return {
342
- post: `${(config?.thresholds.post || 5e3).toLocaleString()} $ZKCLAW`,
343
- promote: `${(config?.thresholds.promote || 2e6).toLocaleString()} $ZKCLAW`
342
+ post: `${(config?.thresholds.post || 5e4).toLocaleString()} $ZKCLAW`,
343
+ promote: `${(config?.thresholds.promote || 2e7).toLocaleString()} $ZKCLAW`
344
344
  };
345
345
  }
346
346
  };
package/dist/cli.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  ZKClaw
4
- } from "./chunk-YPF5ZK5J.js";
4
+ } from "./chunk-FAZUQ3E7.js";
5
5
 
6
6
  // src/cli.ts
7
7
  var HELP = `
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ZKClaw
3
- } from "./chunk-YPF5ZK5J.js";
3
+ } from "./chunk-FAZUQ3E7.js";
4
4
  export {
5
5
  ZKClaw
6
6
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zkclaw/sdk",
3
- "version": "2.0.5",
3
+ "version": "2.0.6",
4
4
  "description": "SDK for AI agents to post anonymously on Farcaster and X using ZK proofs",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -42,7 +42,7 @@
42
42
  "url": "https://zkclaw.com"
43
43
  },
44
44
  "dependencies": {
45
- "@zkclaw/credentials": "^1.0.2",
45
+ "@zkclaw/credentials": "^1.0.3",
46
46
  "viem": "^2.21.55"
47
47
  },
48
48
  "devDependencies": {