Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@cardano-ogmios/schema

Package Overview
Dependencies
Maintainers
2
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cardano-ogmios/schema - npm Package Compare versions

Comparing version 0.1.2 to 3.2.0

29

dist/index.d.ts

@@ -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[];

8

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc