@hyperledger/cactus-core-api
Advanced tools
Comparing version 2.0.0-alpha.2 to 2.0.0-dev.93
@@ -5,3 +5,3 @@ /** | ||
* | ||
* The version of the OpenAPI document: v2.0.0-alpha.1 | ||
* The version of the OpenAPI document: v2.0.0-alpha.2 | ||
* | ||
@@ -8,0 +8,0 @@ * |
@@ -8,3 +8,3 @@ "use strict"; | ||
* | ||
* The version of the OpenAPI document: v2.0.0-alpha.1 | ||
* The version of the OpenAPI document: v2.0.0-alpha.2 | ||
* | ||
@@ -11,0 +11,0 @@ * |
@@ -5,3 +5,3 @@ /** | ||
* | ||
* The version of the OpenAPI document: v2.0.0-alpha.1 | ||
* The version of the OpenAPI document: v2.0.0-alpha.2 | ||
* | ||
@@ -8,0 +8,0 @@ * |
@@ -8,3 +8,3 @@ "use strict"; | ||
* | ||
* The version of the OpenAPI document: v2.0.0-alpha.1 | ||
* The version of the OpenAPI document: v2.0.0-alpha.2 | ||
* | ||
@@ -11,0 +11,0 @@ * |
@@ -5,3 +5,3 @@ /** | ||
* | ||
* The version of the OpenAPI document: v2.0.0-alpha.1 | ||
* The version of the OpenAPI document: v2.0.0-alpha.2 | ||
* | ||
@@ -66,2 +66,2 @@ * | ||
*/ | ||
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>; | ||
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>; |
@@ -8,3 +8,3 @@ "use strict"; | ||
* | ||
* The version of the OpenAPI document: v2.0.0-alpha.1 | ||
* The version of the OpenAPI document: v2.0.0-alpha.2 | ||
* | ||
@@ -11,0 +11,0 @@ * |
@@ -5,3 +5,3 @@ /** | ||
* | ||
* The version of the OpenAPI document: v2.0.0-alpha.1 | ||
* The version of the OpenAPI document: v2.0.0-alpha.2 | ||
* | ||
@@ -8,0 +8,0 @@ * |
@@ -8,3 +8,3 @@ "use strict"; | ||
* | ||
* The version of the OpenAPI document: v2.0.0-alpha.1 | ||
* The version of the OpenAPI document: v2.0.0-alpha.2 | ||
* | ||
@@ -11,0 +11,0 @@ * |
@@ -5,3 +5,3 @@ /** | ||
* | ||
* The version of the OpenAPI document: v2.0.0-alpha.1 | ||
* The version of the OpenAPI document: v2.0.0-alpha.2 | ||
* | ||
@@ -8,0 +8,0 @@ * |
@@ -8,3 +8,3 @@ "use strict"; | ||
* | ||
* The version of the OpenAPI document: v2.0.0-alpha.1 | ||
* The version of the OpenAPI document: v2.0.0-alpha.2 | ||
* | ||
@@ -11,0 +11,0 @@ * |
@@ -9,6 +9,6 @@ import type { Observable } from "rxjs"; | ||
export interface ISocketApiClient<BlockType> { | ||
sendAsyncRequest?(contract?: Record<string, unknown>, method?: Record<string, unknown>, args?: any, baseConfig?: any): void; | ||
sendSyncRequest?(contract?: Record<string, unknown>, method?: Record<string, unknown>, args?: any, baseConfig?: any): Promise<any>; | ||
watchBlocksV1?(monitorOptions?: any): Observable<BlockType>; | ||
watchBlocksAsyncV1?(monitorOptions?: any): Promise<Observable<BlockType>>; | ||
sendAsyncRequest?(contract?: Record<string, unknown>, method?: Record<string, unknown>, args?: unknown, baseConfig?: unknown): void; | ||
sendSyncRequest?(contract?: Record<string, unknown>, method?: Record<string, unknown>, args?: unknown, baseConfig?: unknown): Promise<unknown>; | ||
watchBlocksV1?(monitorOptions?: unknown): Observable<BlockType>; | ||
watchBlocksAsyncV1?(monitorOptions?: unknown): Promise<Observable<BlockType>>; | ||
} |
@@ -1,2 +0,2 @@ | ||
import { Express } from "express"; | ||
import type { Express } from "express"; | ||
import { IAsyncProvider } from "@hyperledger/cactus-common"; | ||
@@ -3,0 +3,0 @@ import { IEndpointAuthzOptions } from "./i-endpoint-authz-options"; |
@@ -21,1 +21,2 @@ import * as OpenApiJson from "../json/openapi.json"; | ||
export { IVerifier, LedgerEvent, IVerifierEventListener, } from "./client/i-verifier"; | ||
export { ISendRequestResultV1 } from "./plugin/ledger-connector/i-send-request-response-v1"; |
{ | ||
"name": "@hyperledger/cactus-core-api", | ||
"version": "2.0.0-alpha.2", | ||
"version": "2.0.0-dev.93+df265e0b9", | ||
"description": "Contains type definitions/interfaces for the kernel of the codebase. Kept separate from the implementation so that it is easier to use it as a dependency.", | ||
@@ -62,10 +62,11 @@ "keywords": [ | ||
"dependencies": { | ||
"@hyperledger/cactus-common": "2.0.0-alpha.2", | ||
"axios": "0.21.4" | ||
"@hyperledger/cactus-common": "^2.0.0-dev.93+df265e0b9", | ||
"axios": "1.5.1" | ||
}, | ||
"devDependencies": { | ||
"@grpc/grpc-js": "1.9.0", | ||
"@grpc/grpc-js": "1.9.5", | ||
"@grpc/proto-loader": "0.7.8", | ||
"@types/express": "4.17.13", | ||
"@types/express": "4.17.19", | ||
"@types/google-protobuf": "3.15.5", | ||
"google-protobuf": "3.21.2", | ||
"grpc-tools": "1.12.4", | ||
@@ -98,3 +99,3 @@ "grpc_tools_node_protoc_ts": "5.3.3", | ||
}, | ||
"gitHead": "e5c7bd9c302d4addf07dd0bbb24361199940e7f4" | ||
"gitHead": "df265e0b97b7c2b52587d0bcc923b9917c5c00c5" | ||
} |
Sorry, the diff of this file is too big to display
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
6299993
87
9122
12
+ Added@hyperledger/cactus-common@2.0.0-rc.4(transitive)
+ Addedasynckit@0.4.0(transitive)
+ Addedaxios@1.5.1(transitive)
+ Addedcombined-stream@1.0.8(transitive)
+ Addeddelayed-stream@1.0.0(transitive)
+ Addeddom-serializer@2.0.0(transitive)
+ Addeddomhandler@5.0.3(transitive)
+ Addeddomutils@3.1.0(transitive)
+ Addedentities@4.5.0(transitive)
+ Addedform-data@4.0.0(transitive)
+ Addedhtmlparser2@8.0.2(transitive)
+ Addedmime-db@1.52.0(transitive)
+ Addedmime-types@2.1.35(transitive)
+ Addedproxy-from-env@1.1.0(transitive)
+ Addedrun-time-error-cjs@1.4.0(transitive)
+ Addedsanitize-html@2.12.1(transitive)
- Removed@hyperledger/cactus-common@2.0.0-alpha.2(transitive)
- Removedaxios@0.21.4(transitive)
- Removeddom-serializer@1.4.1(transitive)
- Removeddomhandler@4.3.1(transitive)
- Removeddomutils@2.8.0(transitive)
- Removedentities@2.2.0(transitive)
- Removedhtmlparser2@6.1.0(transitive)
- Removedsanitize-html@2.7.0(transitive)
Updatedaxios@1.5.1