@everyprotocol/every-cli 0.1.11 → 0.1.13
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/.every.toml +4 -4
- package/dist/cmds/kind.js +6 -6
- package/dist/index.js +1 -1
- package/package.json +3 -3
package/.every.toml
CHANGED
|
@@ -11,26 +11,26 @@ KindRegistry = "0x359F63D61f3999a57D8deD95fd041DDdE5e36C75"
|
|
|
11
11
|
ElementRegistry = "0xb2ee543b6Ab2611611ec63784625bB25bD2B504d"
|
|
12
12
|
ObjectMinter = "0x25729E830801B7BB6C9670D3CF6D6E922caCC8B7"
|
|
13
13
|
|
|
14
|
-
[universes.
|
|
14
|
+
[universes.sepolia-]
|
|
15
15
|
id = 11155111
|
|
16
16
|
rpc = "https://eth-sepolia.g.alchemy.com/v2/BI83rsifAeoz4ZEQkWu6yC0IaOHDBTIE"
|
|
17
17
|
observer = "devnet"
|
|
18
18
|
explorer = "https://sepolia.etherscan.io"
|
|
19
19
|
|
|
20
|
-
[universes.
|
|
20
|
+
[universes.sepolia-.contracts]
|
|
21
21
|
SetRegistry = "0xdd87c04d79efDF668F3ad5Cd06fF45d75E5b1734"
|
|
22
22
|
OmniRegistry = "0x8906Fa8b9749207e819c76Fc7D1B26d185b58eF8"
|
|
23
23
|
KindRegistry = "0x8a26F2DdD9382fc193f6A2eFc6C3BB14A47f522c"
|
|
24
24
|
ElementRegistry = "0x74D8673d9d2E5B475b8C4558F1E5756Dc190638E"
|
|
25
25
|
ObjectMinter = "0xC2dd118038127b5f9eA048B65d17500Fe022CcAD"
|
|
26
26
|
|
|
27
|
-
[universes.
|
|
27
|
+
[universes.sepolia]
|
|
28
28
|
id = 11155111
|
|
29
29
|
rpc = "https://eth-sepolia.g.alchemy.com/v2/BI83rsifAeoz4ZEQkWu6yC0IaOHDBTIE"
|
|
30
30
|
observer = "testnet"
|
|
31
31
|
explorer = "https://sepolia.etherscan.io"
|
|
32
32
|
|
|
33
|
-
[universes.
|
|
33
|
+
[universes.sepolia.contracts]
|
|
34
34
|
SetRegistry = "0x42aaDB79D6015a6a5c1419276a8f7286298Db174"
|
|
35
35
|
OmniRegistry = "0x8D696bD0ff8272e4BcC901cC7b360cC8e55Ade69"
|
|
36
36
|
KindRegistry = "0x63ed128a5584c959Bd8709a440A6035CE90DfeA7"
|
package/dist/cmds/kind.js
CHANGED
|
@@ -48,9 +48,9 @@ function genRegisterCmd() {
|
|
|
48
48
|
args.push(etys, rels);
|
|
49
49
|
return args;
|
|
50
50
|
}
|
|
51
|
-
async function getCmdAction(
|
|
52
|
-
const opts =
|
|
53
|
-
const args = getFuncArgs(
|
|
51
|
+
async function getCmdAction() {
|
|
52
|
+
const opts = this.opts();
|
|
53
|
+
const args = getFuncArgs(this);
|
|
54
54
|
const { publicClient, walletClient, conf } = await FromOpts.toWriteEthereum(opts);
|
|
55
55
|
const address = conf.contracts.KindRegistry;
|
|
56
56
|
const account = walletClient.account;
|
|
@@ -109,9 +109,9 @@ function genUpdateCmd() {
|
|
|
109
109
|
const abiFunc = abiFuncs.filter((f) => f._metadata.signature == sig)[0];
|
|
110
110
|
return [args, abiFunc];
|
|
111
111
|
}
|
|
112
|
-
async function getCmdAction(
|
|
113
|
-
const opts =
|
|
114
|
-
const [args, abiFunc] = getFuncArgs(
|
|
112
|
+
async function getCmdAction() {
|
|
113
|
+
const opts = this.opts();
|
|
114
|
+
const [args, abiFunc] = getFuncArgs(this);
|
|
115
115
|
const { publicClient, walletClient, conf } = await FromOpts.toWriteEthereum(opts);
|
|
116
116
|
const address = conf.contracts.KindRegistry;
|
|
117
117
|
const account = walletClient.account;
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@everyprotocol/every-cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.13",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/everyprotocol/cli.git"
|
|
@@ -47,12 +47,12 @@
|
|
|
47
47
|
"jsonpath": "^1.1.1",
|
|
48
48
|
"lodash-es": "^4.17.21",
|
|
49
49
|
"prompt-sync": "^4.2.0",
|
|
50
|
-
"viem": "^2.29.1"
|
|
50
|
+
"viem": "^2.29.1",
|
|
51
|
+
"zod": "^3.23.8"
|
|
51
52
|
},
|
|
52
53
|
"scripts": {
|
|
53
54
|
"build": "npm run tsc -b",
|
|
54
55
|
"clean": "rm -rf dist",
|
|
55
|
-
"b": "bun build src/*.ts --target=node --outdir dist",
|
|
56
56
|
"prepack": "npm run build"
|
|
57
57
|
},
|
|
58
58
|
"publishConfig": {
|