@gholl-studio/pier-connector 0.6.1 → 0.6.2
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/openclaw.plugin.json +27 -0
- package/package.json +1 -1
- package/src/index.ts +1 -1
package/openclaw.plugin.json
CHANGED
|
@@ -18,6 +18,21 @@
|
|
|
18
18
|
"default": "https://pier-connector.gholl.com/api/v1",
|
|
19
19
|
"description": "Pier API Endpoint (from Website)"
|
|
20
20
|
},
|
|
21
|
+
"nodeId": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"default": "",
|
|
24
|
+
"description": "Pier Node ID (from Website)"
|
|
25
|
+
},
|
|
26
|
+
"secretKey": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"default": "",
|
|
29
|
+
"description": "Pier Secret Key (from Website)"
|
|
30
|
+
},
|
|
31
|
+
"privateKey": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"default": "",
|
|
34
|
+
"description": "Pier Private (Signing) Key (starts with 0x)"
|
|
35
|
+
},
|
|
21
36
|
|
|
22
37
|
"natsUrl": {
|
|
23
38
|
"type": "string",
|
|
@@ -58,6 +73,18 @@
|
|
|
58
73
|
"label": "Pier API URL",
|
|
59
74
|
"placeholder": "https://pier-connector.gholl.com/api/v1"
|
|
60
75
|
},
|
|
76
|
+
"nodeId": {
|
|
77
|
+
"label": "Node ID",
|
|
78
|
+
"placeholder": "node-xxxxxxxx"
|
|
79
|
+
},
|
|
80
|
+
"secretKey": {
|
|
81
|
+
"label": "Secret Key",
|
|
82
|
+
"placeholder": "sk-xxxxxxxx"
|
|
83
|
+
},
|
|
84
|
+
"privateKey": {
|
|
85
|
+
"label": "Private Key (0x...)",
|
|
86
|
+
"placeholder": "0x..."
|
|
87
|
+
},
|
|
61
88
|
|
|
62
89
|
"natsUrl": {
|
|
63
90
|
"label": "NATS WebSocket URL (Override)",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gholl-studio/pier-connector",
|
|
3
3
|
"author": "gholl",
|
|
4
|
-
"version": "0.6.
|
|
4
|
+
"version": "0.6.2",
|
|
5
5
|
"description": "OpenClaw plugin that connects to the Pier job marketplace. Automatically fetches, executes, and reports distributed tasks for rewards.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "src/index.ts",
|
package/src/index.ts
CHANGED
|
@@ -27,7 +27,7 @@ function mergedCfgFrom(legacy: any, account: any): PierAccountConfig {
|
|
|
27
27
|
pierApiUrl: merged.pierApiUrl || DEFAULTS.PIER_API_URL,
|
|
28
28
|
nodeId: merged.nodeId || DEFAULTS.NODE_ID,
|
|
29
29
|
secretKey: merged.secretKey || DEFAULTS.SECRET_KEY,
|
|
30
|
-
privateKey: merged.privateKey ||
|
|
30
|
+
privateKey: merged.privateKey || DEFAULTS.PRIVATE_KEY,
|
|
31
31
|
natsUrl: merged.natsUrl || DEFAULTS.NATS_URL,
|
|
32
32
|
subject: merged.subject || DEFAULTS.SUBJECT,
|
|
33
33
|
publishSubject: merged.publishSubject || DEFAULTS.PUBLISH_SUBJECT,
|