Socket
Socket
Sign inDemoInstall

@hyperledger/cactus-core-api

Package Overview
Dependencies
Maintainers
3
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hyperledger/cactus-core-api - npm Package Compare versions

Comparing version 2.0.0-alpha.2 to 2.0.0-dev.93

dist/lib/main/typescript/plugin/ledger-connector/i-send-request-response-v1.d.ts

2

dist/lib/main/typescript/generated/openapi/typescript-axios/api.d.ts

@@ -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

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