Skip to content

Commit

Permalink
Merge branch 'fix-additionalRegisters-type' into 'dev'
Browse files Browse the repository at this point in the history
Fix additional registers types

See merge request ergo/rosen-bridge/network-client!25
  • Loading branch information
vorujack committed Jul 22, 2024
2 parents ca604a5 + af209b0 commit 5d1286e
Show file tree
Hide file tree
Showing 11 changed files with 1,603 additions and 181 deletions.
8 changes: 8 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
14 changes: 14 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"$schema": "https://unpkg.com/@changesets/config@3.0.0/schema.json",
"changelog": "@rosen-bridge/changeset-formatter",
"commit": false,
"fixed": [],
"linked": [],
"access": "public",
"baseBranch": "dev",
"updateInternalDependencies": "patch",
"ignore": [],
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
"updateInternalDependents": "always"
}
}
2 changes: 2 additions & 0 deletions .changeset/itchy-crabs-join.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
15 changes: 15 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ stages:
- build
- type_check
- lint
- changeset

installation:
stage: installation
Expand Down Expand Up @@ -55,3 +56,17 @@ lint:
- clients/*/dist
script:
- npm run lint

changeset:
stage: changeset
cache:
key: $CI_COMMIT_REF_NAME
policy: pull
paths:
- node_modules
- '**/node_modules'
- '**/dist'
before_script:
- git fetch origin dev
script:
- npx changeset status --since=origin/dev
7 changes: 7 additions & 0 deletions clients/ergo-explorer/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# @rosen-clients/ergo-explorer

## 1.1.2

### Patch Changes

- Fix `additionalRegisters` type in all V1 apis
2 changes: 1 addition & 1 deletion clients/ergo-explorer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rosen-clients/ergo-explorer",
"version": "1.1.1",
"version": "1.1.2",
"description": "A client library for Ergo Explorer",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,11 @@
* OpenAPI spec version: 1.0
*/

export type DataInputInfoAdditionalRegisters = { [key: string]: string };
export type DataInputInfoAdditionalRegisters = {
[key: string]: {
serializedValue: string;
sigmaType: string;
renderedValue: string;
};
};
export const bigIntsDataInputInfoAdditionalRegisters = [];
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,11 @@
* OpenAPI spec version: 1.0
*/

export type InputInfoAdditionalRegisters = { [key: string]: string };
export type InputInfoAdditionalRegisters = {
[key: string]: {
serializedValue: string;
sigmaType: string;
renderedValue: string;
};
};
export const bigIntsInputInfoAdditionalRegisters = [];
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,11 @@
* OpenAPI spec version: 1.0
*/

export type OutputInfoAdditionalRegisters = { [key: string]: string };
export type OutputInfoAdditionalRegisters = {
[key: string]: {
serializedValue: string;
sigmaType: string;
renderedValue: string;
};
};
export const bigIntsOutputInfoAdditionalRegisters = [];
Loading

0 comments on commit 5d1286e

Please sign in to comment.