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

@cardano-sdk/cardano-services-client

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cardano-sdk/cardano-services-client - npm Package Compare versions

Comparing version 0.19.7 to 0.19.8

@@ -13,3 +13,3 @@ "use strict";

...config,
apiVersion: version_1.apiVersion.assetInfo,
apiVersion: config.apiVersion || version_1.apiVersion.assetInfo,
paths,

@@ -16,0 +16,0 @@ serviceSlug: 'asset'

@@ -15,3 +15,3 @@ "use strict";

...config,
apiVersion: version_1.apiVersion.chainHistory,
apiVersion: config.apiVersion || version_1.apiVersion.chainHistory,
mapError: (error, method) => {

@@ -18,0 +18,0 @@ if (method === 'healthCheck' && !error) {

@@ -9,3 +9,3 @@ "use strict";

...config,
apiVersion: version_1.apiVersion.handle,
apiVersion: config.apiVersion || version_1.apiVersion.handle,
paths: core_1.handleProviderPaths,

@@ -12,0 +12,0 @@ serviceSlug: 'handle'

@@ -18,5 +18,7 @@ import { HttpProviderConfigPaths, Provider } from '@cardano-sdk/core';

}
export declare type CreateHttpProviderConfig<T extends Provider> = Pick<HttpProviderConfig<T>, 'baseUrl' | 'adapter' | 'logger'>;
export declare type CreateHttpProviderConfig<T extends Provider> = Pick<HttpProviderConfig<T>, 'baseUrl' | 'adapter' | 'logger'> & {
apiVersion?: string;
};
export declare const createHttpProvider: <T extends Provider>({ apiVersion, baseUrl, axiosOptions, mapError, paths, adapter, logger, responseTransformers, serviceSlug }: HttpProviderConfig<T>) => T;
export {};
//# sourceMappingURL=HttpProvider.d.ts.map

@@ -17,3 +17,3 @@ "use strict";

...config,
apiVersion: version_1.apiVersion.networkInfo,
apiVersion: config.apiVersion || version_1.apiVersion.networkInfo,
paths,

@@ -20,0 +20,0 @@ serviceSlug: 'network-info'

@@ -15,3 +15,3 @@ "use strict";

...config,
apiVersion: version_1.apiVersion.rewards,
apiVersion: config.apiVersion || version_1.apiVersion.rewards,
mapError: (error, method) => {

@@ -18,0 +18,0 @@ if (method === 'healthCheck') {

@@ -13,3 +13,3 @@ "use strict";

...config,
apiVersion: version_1.apiVersion.stakePool,
apiVersion: config.apiVersion || version_1.apiVersion.stakePool,
paths,

@@ -16,0 +16,0 @@ serviceSlug: 'stake-pool'

@@ -40,3 +40,3 @@ "use strict";

...config,
apiVersion: version_1.apiVersion.txSubmit,
apiVersion: config.apiVersion || version_1.apiVersion.txSubmit,
mapError: (error, method) => {

@@ -43,0 +43,0 @@ switch (method) {

@@ -14,3 +14,3 @@ "use strict";

...config,
apiVersion: version_1.apiVersion.utxo,
apiVersion: config.apiVersion || version_1.apiVersion.utxo,
mapError: (error, method) => {

@@ -17,0 +17,0 @@ if (method === 'healthCheck') {

@@ -10,3 +10,3 @@ import { createHttpProvider } from '../HttpProvider.js';

...config,
apiVersion: apiVersion.assetInfo,
apiVersion: config.apiVersion || apiVersion.assetInfo,
paths,

@@ -13,0 +13,0 @@ serviceSlug: 'asset'

@@ -12,3 +12,3 @@ import { ProviderError, ProviderFailure } from '@cardano-sdk/core';

...config,
apiVersion: apiVersion.chainHistory,
apiVersion: config.apiVersion || apiVersion.chainHistory,
mapError: (error, method) => {

@@ -15,0 +15,0 @@ if (method === 'healthCheck' && !error) {

@@ -6,3 +6,3 @@ import { createHttpProvider } from '../HttpProvider.js';

...config,
apiVersion: apiVersion.handle,
apiVersion: config.apiVersion || apiVersion.handle,
paths: handleProviderPaths,

@@ -9,0 +9,0 @@ serviceSlug: 'handle'

@@ -18,5 +18,7 @@ import { HttpProviderConfigPaths, Provider } from '@cardano-sdk/core';

}
export declare type CreateHttpProviderConfig<T extends Provider> = Pick<HttpProviderConfig<T>, 'baseUrl' | 'adapter' | 'logger'>;
export declare type CreateHttpProviderConfig<T extends Provider> = Pick<HttpProviderConfig<T>, 'baseUrl' | 'adapter' | 'logger'> & {
apiVersion?: string;
};
export declare const createHttpProvider: <T extends Provider>({ apiVersion, baseUrl, axiosOptions, mapError, paths, adapter, logger, responseTransformers, serviceSlug }: HttpProviderConfig<T>) => T;
export {};
//# sourceMappingURL=HttpProvider.d.ts.map

@@ -14,3 +14,3 @@ import { createHttpProvider } from '../HttpProvider.js';

...config,
apiVersion: apiVersion.networkInfo,
apiVersion: config.apiVersion || apiVersion.networkInfo,
paths,

@@ -17,0 +17,0 @@ serviceSlug: 'network-info'

@@ -12,3 +12,3 @@ import { createHttpProvider } from '../HttpProvider.js';

...config,
apiVersion: apiVersion.rewards,
apiVersion: config.apiVersion || apiVersion.rewards,
mapError: (error, method) => {

@@ -15,0 +15,0 @@ if (method === 'healthCheck') {

@@ -10,3 +10,3 @@ import { createHttpProvider } from '../HttpProvider.js';

...config,
apiVersion: apiVersion.stakePool,
apiVersion: config.apiVersion || apiVersion.stakePool,
paths,

@@ -13,0 +13,0 @@ serviceSlug: 'stake-pool'

@@ -37,3 +37,3 @@ import { CardanoNodeUtil, GeneralCardanoNodeError, GeneralCardanoNodeErrorCode, HandleOwnerChangeError, ProviderError, ProviderFailure, TxSubmissionError, reasonToProviderFailure } from '@cardano-sdk/core';

...config,
apiVersion: apiVersion.txSubmit,
apiVersion: config.apiVersion || apiVersion.txSubmit,
mapError: (error, method) => {

@@ -40,0 +40,0 @@ switch (method) {

@@ -11,3 +11,3 @@ import { createHttpProvider } from '../HttpProvider.js';

...config,
apiVersion: apiVersion.utxo,
apiVersion: config.apiVersion || apiVersion.utxo,
mapError: (error, method) => {

@@ -14,0 +14,0 @@ if (method === 'healthCheck') {

{
"name": "@cardano-sdk/cardano-services-client",
"version": "0.19.7",
"version": "0.19.8",
"description": "Cardano Services Client",

@@ -68,3 +68,3 @@ "engines": {

],
"gitHead": "c35908660839376c49058f2b4c96e2b394fafdea"
"gitHead": "180dc9215e7d4db9ebe847dd573d91cc42f7b6a3"
}
{
"name": "@cardano-sdk/cardano-services-client",
"version": "0.19.7",
"version": "0.19.8",
"description": "Cardano Services Client",

@@ -68,3 +68,3 @@ "engines": {

],
"gitHead": "c35908660839376c49058f2b4c96e2b394fafdea"
"gitHead": "180dc9215e7d4db9ebe847dd573d91cc42f7b6a3"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet