@openfort/cli 0.1.5 → 0.1.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.
- package/dist/cli.js +4 -4
- package/package.json +2 -2
package/dist/cli.js
CHANGED
|
@@ -1942,7 +1942,7 @@ sessions.command("create", {
|
|
|
1942
1942
|
player: z9.string().optional().describe("Player ID (pla_...)"),
|
|
1943
1943
|
account: z9.string().optional().describe("Account ID (acc_...)"),
|
|
1944
1944
|
limit: z9.number().optional().describe("Max session uses"),
|
|
1945
|
-
policy: z9.string().optional().describe("
|
|
1945
|
+
policy: z9.string().optional().describe("Fee sponsorship ID (pol_...)"),
|
|
1946
1946
|
whitelist: z9.string().optional().describe("Whitelisted contract addresses as JSON array")
|
|
1947
1947
|
}),
|
|
1948
1948
|
examples: [
|
|
@@ -2023,7 +2023,7 @@ sessions.command("revoke", {
|
|
|
2023
2023
|
address: z9.string().describe("Session key address to revoke"),
|
|
2024
2024
|
chainId: z9.number().describe("Chain ID"),
|
|
2025
2025
|
player: z9.string().optional().describe("Player ID (pla_...)"),
|
|
2026
|
-
policy: z9.string().optional().describe("
|
|
2026
|
+
policy: z9.string().optional().describe("Fee sponsorship ID (pol_...)")
|
|
2027
2027
|
}),
|
|
2028
2028
|
examples: [
|
|
2029
2029
|
{ options: { address: "0x1234...", chainId: 137 }, description: "Revoke a session key" }
|
|
@@ -2158,7 +2158,7 @@ transactions.command("create", {
|
|
|
2158
2158
|
account: z10.string().describe("Account ID (acc_...)"),
|
|
2159
2159
|
chainId: z10.number().describe("Chain ID"),
|
|
2160
2160
|
interactions: z10.string().describe('Interactions as JSON: [{"to":"0x...","data":"0x...","value":"0"}]'),
|
|
2161
|
-
policy: z10.string().optional().describe("
|
|
2161
|
+
policy: z10.string().optional().describe("Fee sponsorship ID (pol_...)."),
|
|
2162
2162
|
signedAuthorization: z10.string().optional().describe("Signed EIP-7702 authorization hex (for delegated accounts)")
|
|
2163
2163
|
}),
|
|
2164
2164
|
output: transactionIntentItem,
|
|
@@ -2285,7 +2285,7 @@ transactions.command("estimate", {
|
|
|
2285
2285
|
account: z10.string().describe("Account ID (acc_...)"),
|
|
2286
2286
|
chainId: z10.number().describe("Chain ID"),
|
|
2287
2287
|
interactions: z10.string().describe("Interactions as JSON"),
|
|
2288
|
-
policy: z10.string().optional().describe("Fee sponsorship ID (pol_...)
|
|
2288
|
+
policy: z10.string().optional().describe("Fee sponsorship ID (pol_...)")
|
|
2289
2289
|
}),
|
|
2290
2290
|
examples: [
|
|
2291
2291
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openfort/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"description": "Openfort CLI — manage wallets, policies, and transactions from the terminal.",
|
|
5
5
|
"author": "Openfort (https://www.openfort.io)",
|
|
6
6
|
"bugs": "https://github.com/openfort-xyz/cli/issues",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"main": "./dist/cli.js",
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@openfort/openfort-node": "^0.10.2",
|
|
23
|
-
"incur": "^0.3.
|
|
23
|
+
"incur": "^0.3.4",
|
|
24
24
|
"viem": "^2.47.2"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|