@cardano-ogmios/schema
Advanced tools
Comparing version 0.1.2 to 3.2.0
@@ -72,6 +72,7 @@ export declare type Block = Byron | Shelley | Allegra | Mary; | ||
export declare type Network = "mainnet" | "testnet"; | ||
export declare type TriesToForgeAda = "triesToForgeAda"; | ||
export declare type RewardAccountNotExisting = "rewardAccountNotExisting"; | ||
export declare type WrongCertificateType = "wrongCertificateType"; | ||
export declare type VotingPeriod = "voteForThisEpoch" | "voteForNextEpoch"; | ||
export declare type SubmitTxErrorShelley = (InvalidWitnesses | MissingVkWitnesses | MissingScriptWitnesses | ScriptWitnessNotValidating | InsufficientGenesisSignatures | MissingTxMetadata | MissingTxMetadataHash | TxMetadataHashMismatch | BadInputs | ExpiredUtxo | TxTooLarge1 | MissingAtLeastOneInputUtxo | InvalidMetadata | FeeTooSmall1 | ValueNotConserved | NetworkMismatch1 | OutputTooSmall | AddressAttributesTooLarge | DelegateNotRegistered | UnknownOrIncompleteWithdrawals | StakePoolNotRegistered | WrongRetirementEpoch | WrongPoolCertificate | StakeKeyAlreadyRegistered | PoolCostTooSmall | StakeKeyNotRegistered | RewardAccountNotExisting | RewardAccountNotEmpty | WrongCertificateType | UnknownGenesisKey | AlreadyDelegating | InsufficientFundsForMir | TooLateForMir | DuplicateGenesisVrf | NonGenesisVoters | UpdateWrongEpoch | ProtocolVersionCannotFollow)[]; | ||
export declare type SubmitTxErrorShelley = (InvalidWitnesses | MissingVkWitnesses | MissingScriptWitnesses | ScriptWitnessNotValidating | InsufficientGenesisSignatures | MissingTxMetadata | MissingTxMetadataHash | TxMetadataHashMismatch | BadInputs | ExpiredUtxo | OutsideOfValidityInterval | TxTooLarge1 | MissingAtLeastOneInputUtxo | InvalidMetadata | FeeTooSmall1 | ValueNotConserved | NetworkMismatch1 | OutputTooSmall | TooManyAssetsInOutput | AddressAttributesTooLarge | TriesToForgeAda | DelegateNotRegistered | UnknownOrIncompleteWithdrawals | StakePoolNotRegistered | WrongRetirementEpoch | WrongPoolCertificate | StakeKeyAlreadyRegistered | PoolCostTooSmall | StakeKeyNotRegistered | RewardAccountNotExisting | RewardAccountNotEmpty | WrongCertificateType | UnknownGenesisKey | AlreadyDelegating | InsufficientFundsForMir | TooLateForMir | DuplicateGenesisVrf | NonGenesisVoters | UpdateWrongEpoch | ProtocolVersionCannotFollow)[]; | ||
export declare type AcquireFailure1 = "pointTooOld" | "pointNotOnChain"; | ||
@@ -314,2 +315,11 @@ export declare type EraStart = "eraStart"; | ||
}; | ||
Fault?: { | ||
type: "jsonwsp/fault"; | ||
version: "1.0"; | ||
servicename: "ogmios"; | ||
fault: { | ||
code: "incompatible" | "server" | "client"; | ||
string: string; | ||
}; | ||
}; | ||
[k: string]: unknown; | ||
@@ -697,3 +707,3 @@ } | ||
update: UpdateShelley; | ||
mint?: Value; | ||
mint: Value; | ||
}; | ||
@@ -887,2 +897,8 @@ witness: { | ||
} | ||
export interface OutsideOfValidityInterval { | ||
outsideOfValidityInterval: { | ||
currentSlot: Slot; | ||
interval: ValidityInterval; | ||
}; | ||
} | ||
export interface TxTooLarge1 { | ||
@@ -902,4 +918,4 @@ txTooLarge: { | ||
valueNotConserved: { | ||
consumed: LovelaceDelta; | ||
produced: LovelaceDelta; | ||
consumed: LovelaceDelta | Value; | ||
produced: LovelaceDelta | Value; | ||
}; | ||
@@ -915,4 +931,7 @@ } | ||
export interface OutputTooSmall { | ||
outputTooSmall: TxOut[]; | ||
outputTooSmall: (TxOut | TxOutMary)[]; | ||
} | ||
export interface TooManyAssetsInOutput { | ||
tooManyAssetsInOutput: (TxOut | TxOutMary)[]; | ||
} | ||
export interface AddressAttributesTooLarge { | ||
@@ -919,0 +938,0 @@ addressAttributesTooLarge: Address[]; |
{ | ||
"name": "@cardano-ogmios/schema", | ||
"version": "0.1.2", | ||
"version": "3.2.0", | ||
"description": "Generated TypeScript from the Cardano Ogmios schema", | ||
@@ -9,3 +9,7 @@ "engines": { | ||
"main": "dist/index.js", | ||
"repository": "https://github.com/KtorZ/cardano-ogmios", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/KtorZ/cardano-ogmios.git", | ||
"directory": "clients/TypeScript/packages/schema" | ||
}, | ||
"author": "Rhys Bartels-Waller", | ||
@@ -12,0 +16,0 @@ "license": "MPL-2.0", |
# Cardano Ogmios TypeScript Client Packages - Schema | ||
Generated TypeScript from the JSON-WSP schema | ||
Generated TypeScript from the [JSON-WSP schema]. | ||
## Quick Start | ||
```console | ||
yarn add @cardano-ogmios/schema | ||
``` | ||
## Build From Source | ||
See instructions in [Workspace root] | ||
[JSON-WSP schema]: ../../../../docs/static/ogmios.wsp.json | ||
[Workspace root]: ../.. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
165346
1070
2
16
0