Skip to content

Commit 31092ba

Browse files
authored
Merge pull request #3 from GitGab19/main
Fix tProxy config files generated
2 parents e39915c + 5a742c9 commit 31092ba

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sv2-wizard",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "Standalone deployment wizard component for SRI (Stratum V2 Reference Implementation)",
55
"type": "module",
66
"main": "./dist/index.js",

src/config-templates/config-builder.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,10 @@ supported_extensions = [
102102
: `# Protocol extensions configuration
103103
# Extensions that the translator supports (will request if required by server)
104104
# Example: supported_extensions = [0x0002, 0x0003]
105-
#supported_extensions = [
105+
supported_extensions = [
106106
# 0x0002, # Worker-Specific Hashrate Tracking
107-
#]
108-
#`;
107+
]
108+
`;
109109

110110
const requiredExtensionsBlock = useJdc
111111
? `# Extensions that the translator requires (server must support these)
@@ -116,10 +116,10 @@ required_extensions = [
116116
`
117117
: `# Extensions that the translator requires (server must support these)
118118
# If the upstream server doesn't support these, the translator will fail over to another upstream
119-
#required_extensions = [
119+
required_extensions = [
120120
# 0x0002, # Worker-Specific Hashrate Tracking
121-
#]
122-
#`;
121+
]
122+
`;
123123

124124
return processConfigTemplate(TRANSLATOR_CONFIG_TEMPLATE, {
125125
USER_IDENTITY: data.userIdentity || DEFAULT_CONFIG_VALUES.defaultUserIdentity,

0 commit comments

Comments
 (0)