api3dao / ois Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Necessary for api3dao/airnode#1544. The major version bump results from adherence to semver with respect to the breaking change in #66
Currently OIS validation allows an empty reservedParameters
endpoints array. I confirmed, based on a reported issue on discord, that gateway requests to an Airnode deployed with such an empty array causes a difficult to debug error: {"error":"Error: Cannot read property 'length' of undefined"}
.
See this and subsequent comments for a discussion on needing _type
and not merely checking for a non-empty array.
OIS component of api3dao/airnode#1492
Blocked by api3dao/airnode#1209
Necessary to implement _minConfirmations
and _gasPrice
on the Airnode side in api3dao/airnode#1393 and api3dao/airnode#1492, respectively.
OIS component of api3dao/airnode#1393
The README seems a bit underwhelming and could be improved at least by adding installation instructions.
OIS provides the environments for pre/post-processing here:
Line 273 in 22f7cce
Therefore, for api3dao/airnode#1544, 14
needs to be removed.
To verify, the value below can be changed to a non-number and the tests still pass
Lines 74 to 75 in f03d5ad
Validating this is slightly complicated by multiple reserved parameters e.g. _times: ',10000,'
, but it still should be attainable after splitting using transform
and something like:
export const stringifiedNumberSchema = z.string().transform((val) => parseFloat(val));
Currently, within oisSchema
, the oisFormat
version must match the package version exactly, down to the patch, because of:
Line 445 in 867c223
This forces SemVer-incompatible coupling of released packages. For example, Airnode v0.8.0
was released with @api3/[email protected] as a dependency and therefore users of Airnode v0.8.0
cannot use an oisFormat
version other than 1.1.1
.
The oisFormat version is incorrect in the repo README.md file for the following two tags.
https://github.com/api3dao/ois/tree/v1.0.0 and https://github.com/api3dao/ois/tree/v1.1.1
Release OIS v1.2 to signal a breaking change.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.