Skip to content

Commit 3f2e5c2

Browse files
committed
feat: add another registry url pattern
makes it possible to fetch https://github.com/AbstractSDK/schemas/blob/mainline/cw-plus/cw20-base/1.0.1/cw20-base.json
1 parent 575f998 commit 3f2e5c2

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.changeset/dull-dolls-remain.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@abstract-money/cli": patch
3+
---
4+
5+
Adds another pattern url for `registry` plugin.

packages/cli/src/plugins/registry.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ export function registry({
6060
{
6161
url: `${SCHEMA_REGISTRY_GITHUB_URL}/${namespace}/${name}/${version}/${namespace}-${name}.json`,
6262
},
63+
{
64+
url: `${SCHEMA_REGISTRY_GITHUB_URL}/${namespace}/${name}/${version}/${name}.json`,
65+
},
6366
]
6467
},
6568
})

0 commit comments

Comments
 (0)