Skip to content

Commit 8b6ae46

Browse files
committed
feat: bump package version
1 parent 5dc8d91 commit 8b6ae46

File tree

8 files changed

+201
-201
lines changed

8 files changed

+201
-201
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@maestro-org/typescript-sdk",
3-
"version": "1.1.1",
3+
"version": "1.2.0",
44
"description": "TypeScript SDK for the Maestro Dapp Platform",
55
"main": "dist/index.js",
66
"module": "dist/index.mjs",

src/api/blocks/helpers.ts

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -82,22 +82,22 @@ export const BlocksApiFp = function (configuration: Configuration) {
8282
};
8383
};
8484

85-
/**
86-
* BlocksApi - factory interface
87-
* @export
88-
*/
89-
export const BlocksApiFactory = function (configuration: Configuration, basePath?: string, axios?: AxiosInstance) {
90-
const localVarFp = BlocksApiFp(configuration);
91-
return {
92-
/**
93-
* Returns information about the specified block including more advanced technical properties
94-
* @summary Block information
95-
* @param {string} hashOrHeight Block height or hex encoded block hash
96-
* @param {*} [options] Override http request option.
97-
* @throws {RequiredError}
98-
*/
99-
blockInfo(hashOrHeight: string, options?: any): AxiosPromise<TimestampedBlockInfo> {
100-
return localVarFp.blockInfo(hashOrHeight, options).then((request) => request(axios, basePath));
101-
},
102-
};
103-
};
85+
// /**
86+
// * BlocksApi - factory interface
87+
// * @export
88+
// */
89+
// export const BlocksApiFactory = function (configuration: Configuration, basePath?: string, axios?: AxiosInstance) {
90+
// const localVarFp = BlocksApiFp(configuration);
91+
// return {
92+
// /**
93+
// * Returns information about the specified block including more advanced technical properties
94+
// * @summary Block information
95+
// * @param {string} hashOrHeight Block height or hex encoded block hash
96+
// * @param {*} [options] Override http request option.
97+
// * @throws {RequiredError}
98+
// */
99+
// blockInfo(hashOrHeight: string, options?: any): AxiosPromise<TimestampedBlockInfo> {
100+
// return localVarFp.blockInfo(hashOrHeight, options).then((request) => request(axios, basePath));
101+
// },
102+
// };
103+
// };

src/api/datum/helpers.ts

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -82,22 +82,22 @@ export const DatumApiFp = function (configuration: Configuration) {
8282
};
8383
};
8484

85-
/**
86-
* DatumApi - factory interface
87-
* @export
88-
*/
89-
export const DatumApiFactory = function (configuration: Configuration, basePath?: string, axios?: AxiosInstance) {
90-
const localVarFp = DatumApiFp(configuration);
91-
return {
92-
/**
93-
* Returns the datum corresponding to the specified datum hash, if the datum has been seen on-chain
94-
* @summary Datum by datum hash
95-
* @param {string} datumHash Hex encoded datum hash
96-
* @param {*} [options] Override http request option.
97-
* @throws {RequiredError}
98-
*/
99-
lookupDatum(datumHash: string, options?: any): AxiosPromise<TimestampedDatum> {
100-
return localVarFp.lookupDatum(datumHash, options).then((request) => request(axios, basePath));
101-
},
102-
};
103-
};
85+
// /**
86+
// * DatumApi - factory interface
87+
// * @export
88+
// */
89+
// export const DatumApiFactory = function (configuration: Configuration, basePath?: string, axios?: AxiosInstance) {
90+
// const localVarFp = DatumApiFp(configuration);
91+
// return {
92+
// /**
93+
// * Returns the datum corresponding to the specified datum hash, if the datum has been seen on-chain
94+
// * @summary Datum by datum hash
95+
// * @param {string} datumHash Hex encoded datum hash
96+
// * @param {*} [options] Override http request option.
97+
// * @throws {RequiredError}
98+
// */
99+
// lookupDatum(datumHash: string, options?: any): AxiosPromise<TimestampedDatum> {
100+
// return localVarFp.lookupDatum(datumHash, options).then((request) => request(axios, basePath));
101+
// },
102+
// };
103+
// };

src/api/ecosystem/helpers.ts

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -82,22 +82,22 @@ export const EcosystemApiFp = function (configuration: Configuration) {
8282
};
8383
};
8484

85-
/**
86-
* EcosystemApi - factory interface
87-
* @export
88-
*/
89-
export const EcosystemApiFactory = function (configuration: Configuration, basePath?: string, axios?: AxiosInstance) {
90-
const localVarFp = EcosystemApiFp(configuration);
91-
return {
92-
/**
93-
* Returns the Cardano address corresponding to an ADA Handle
94-
* @summary Resolve ADA Handle
95-
* @param {string} handle Ada Handle to resolve
96-
* @param {*} [options] Override http request option.
97-
* @throws {RequiredError}
98-
*/
99-
adahandleResolve(handle: string, options?: any): AxiosPromise<TimestampedAddress> {
100-
return localVarFp.adahandleResolve(handle, options).then((request) => request(axios, basePath));
101-
},
102-
};
103-
};
85+
// /**
86+
// * EcosystemApi - factory interface
87+
// * @export
88+
// */
89+
// export const EcosystemApiFactory = function (configuration: Configuration, basePath?: string, axios?: AxiosInstance) {
90+
// const localVarFp = EcosystemApiFp(configuration);
91+
// return {
92+
// /**
93+
// * Returns the Cardano address corresponding to an ADA Handle
94+
// * @summary Resolve ADA Handle
95+
// * @param {string} handle Ada Handle to resolve
96+
// * @param {*} [options] Override http request option.
97+
// * @throws {RequiredError}
98+
// */
99+
// adahandleResolve(handle: string, options?: any): AxiosPromise<TimestampedAddress> {
100+
// return localVarFp.adahandleResolve(handle, options).then((request) => request(axios, basePath));
101+
// },
102+
// };
103+
// };

src/api/epochs/helpers.ts

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -126,31 +126,31 @@ export const EpochsApiFp = function (configuration: Configuration) {
126126
};
127127
};
128128

129-
/**
130-
* EpochsApi - factory interface
131-
* @export
132-
*/
133-
export const EpochsApiFactory = function (configuration: Configuration, basePath?: string, axios?: AxiosInstance) {
134-
const localVarFp = EpochsApiFp(configuration);
135-
return {
136-
/**
137-
* Returns a summary of information about the current epoch
138-
* @summary Current epoch details
139-
* @param {*} [options] Override http request option.
140-
* @throws {RequiredError}
141-
*/
142-
currentEpoch(options?: any): AxiosPromise<TimestampedCurrentEpochInfo> {
143-
return localVarFp.currentEpoch(options).then((request) => request(axios, basePath));
144-
},
145-
/**
146-
* Returns a summary of information about a specific epoch
147-
* @summary Specific epoch details
148-
* @param {number} epochNo Epoch number to return information about
149-
* @param {*} [options] Override http request option.
150-
* @throws {RequiredError}
151-
*/
152-
epochInfo(epochNo: number, options?: any): AxiosPromise<TimestampedEpochInfo> {
153-
return localVarFp.epochInfo(epochNo, options).then((request) => request(axios, basePath));
154-
},
155-
};
156-
};
129+
// /**
130+
// * EpochsApi - factory interface
131+
// * @export
132+
// */
133+
// export const EpochsApiFactory = function (configuration: Configuration, basePath?: string, axios?: AxiosInstance) {
134+
// const localVarFp = EpochsApiFp(configuration);
135+
// return {
136+
// /**
137+
// * Returns a summary of information about the current epoch
138+
// * @summary Current epoch details
139+
// * @param {*} [options] Override http request option.
140+
// * @throws {RequiredError}
141+
// */
142+
// currentEpoch(options?: any): AxiosPromise<TimestampedCurrentEpochInfo> {
143+
// return localVarFp.currentEpoch(options).then((request) => request(axios, basePath));
144+
// },
145+
// /**
146+
// * Returns a summary of information about a specific epoch
147+
// * @summary Specific epoch details
148+
// * @param {number} epochNo Epoch number to return information about
149+
// * @param {*} [options] Override http request option.
150+
// * @throws {RequiredError}
151+
// */
152+
// epochInfo(epochNo: number, options?: any): AxiosPromise<TimestampedEpochInfo> {
153+
// return localVarFp.epochInfo(epochNo, options).then((request) => request(axios, basePath));
154+
// },
155+
// };
156+
// };

src/api/general/helpers.ts

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -204,48 +204,48 @@ export const GeneralApiFp = function (configuration: Configuration) {
204204
};
205205
};
206206

207-
/**
208-
* GeneralApi - factory interface
209-
* @export
210-
*/
211-
export const GeneralApiFactory = function (configuration: Configuration, basePath?: string, axios?: AxiosInstance) {
212-
const localVarFp = GeneralApiFp(configuration);
213-
return {
214-
/**
215-
* Returns the identifier of the most recently processed block on the network
216-
* @summary Chain tip
217-
* @param {*} [options] Override http request option.
218-
* @throws {RequiredError}
219-
*/
220-
chainTip(options?: any): AxiosPromise<TimestampedChainTip> {
221-
return localVarFp.chainTip(options).then((request) => request(axios, basePath));
222-
},
223-
/**
224-
* Returns the blockchain era history
225-
* @summary Era history
226-
* @param {*} [options] Override http request option.
227-
* @throws {RequiredError}
228-
*/
229-
eraHistory(options?: any): AxiosPromise<TimestampedEraSummaries> {
230-
return localVarFp.eraHistory(options).then((request) => request(axios, basePath));
231-
},
232-
/**
233-
* Returns the current blockchain protocol parameters
234-
* @summary Protocol parameters
235-
* @param {*} [options] Override http request option.
236-
* @throws {RequiredError}
237-
*/
238-
protocolParams(options?: any): AxiosPromise<TimestampedProtocolParameters> {
239-
return localVarFp.protocolParams(options).then((request) => request(axios, basePath));
240-
},
241-
/**
242-
* Returns the blockchain system start time
243-
* @summary Blockchain system start
244-
* @param {*} [options] Override http request option.
245-
* @throws {RequiredError}
246-
*/
247-
systemStart(options?: any): AxiosPromise<TimestampedSystemStart> {
248-
return localVarFp.systemStart(options).then((request) => request(axios, basePath));
249-
},
250-
};
251-
};
207+
// /**
208+
// * GeneralApi - factory interface
209+
// * @export
210+
// */
211+
// export const GeneralApiFactory = function (configuration: Configuration, basePath?: string, axios?: AxiosInstance) {
212+
// const localVarFp = GeneralApiFp(configuration);
213+
// return {
214+
// /**
215+
// * Returns the identifier of the most recently processed block on the network
216+
// * @summary Chain tip
217+
// * @param {*} [options] Override http request option.
218+
// * @throws {RequiredError}
219+
// */
220+
// chainTip(options?: any): AxiosPromise<TimestampedChainTip> {
221+
// return localVarFp.chainTip(options).then((request) => request(axios, basePath));
222+
// },
223+
// /**
224+
// * Returns the blockchain era history
225+
// * @summary Era history
226+
// * @param {*} [options] Override http request option.
227+
// * @throws {RequiredError}
228+
// */
229+
// eraHistory(options?: any): AxiosPromise<TimestampedEraSummaries> {
230+
// return localVarFp.eraHistory(options).then((request) => request(axios, basePath));
231+
// },
232+
// /**
233+
// * Returns the current blockchain protocol parameters
234+
// * @summary Protocol parameters
235+
// * @param {*} [options] Override http request option.
236+
// * @throws {RequiredError}
237+
// */
238+
// protocolParams(options?: any): AxiosPromise<TimestampedProtocolParameters> {
239+
// return localVarFp.protocolParams(options).then((request) => request(axios, basePath));
240+
// },
241+
// /**
242+
// * Returns the blockchain system start time
243+
// * @summary Blockchain system start
244+
// * @param {*} [options] Override http request option.
245+
// * @throws {RequiredError}
246+
// */
247+
// systemStart(options?: any): AxiosPromise<TimestampedSystemStart> {
248+
// return localVarFp.systemStart(options).then((request) => request(axios, basePath));
249+
// },
250+
// };
251+
// };

src/api/scripts/helpers.ts

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -82,22 +82,22 @@ export const ScriptsApiFp = function (configuration: Configuration) {
8282
};
8383
};
8484

85-
/**
86-
* ScriptsApi - factory interface
87-
* @export
88-
*/
89-
export const ScriptsApiFactory = function (configuration: Configuration, basePath?: string, axios?: AxiosInstance) {
90-
const localVarFp = ScriptsApiFp(configuration);
91-
return {
92-
/**
93-
* Returns the script corresponding to the specified script hash, if the script has been seen on-chain
94-
* @summary Script by script hash
95-
* @param {string} scriptHash Hex encoded script hash
96-
* @param {*} [options] Override http request option.
97-
* @throws {RequiredError}
98-
*/
99-
scriptByHash(scriptHash: string, options?: any): AxiosPromise<TimestampedScript> {
100-
return localVarFp.scriptByHash(scriptHash, options).then((request) => request(axios, basePath));
101-
},
102-
};
103-
};
85+
// /**
86+
// * ScriptsApi - factory interface
87+
// * @export
88+
// */
89+
// export const ScriptsApiFactory = function (configuration: Configuration, basePath?: string, axios?: AxiosInstance) {
90+
// const localVarFp = ScriptsApiFp(configuration);
91+
// return {
92+
// /**
93+
// * Returns the script corresponding to the specified script hash, if the script has been seen on-chain
94+
// * @summary Script by script hash
95+
// * @param {string} scriptHash Hex encoded script hash
96+
// * @param {*} [options] Override http request option.
97+
// * @throws {RequiredError}
98+
// */
99+
// scriptByHash(scriptHash: string, options?: any): AxiosPromise<TimestampedScript> {
100+
// return localVarFp.scriptByHash(scriptHash, options).then((request) => request(axios, basePath));
101+
// },
102+
// };
103+
// };

0 commit comments

Comments
 (0)