New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@minka/ledger-sdk

Package Overview
Dependencies
Maintainers
5
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@minka/ledger-sdk - npm Package Compare versions

Comparing version 1.0.2 to 1.1.0

src/lib/services/verify-response-signature.d.ts

2

package.json
{
"name": "@minka/ledger-sdk",
"version": "1.0.2",
"version": "1.1.0",
"description": "SDK for Minka Ledger",

@@ -5,0 +5,0 @@ "main": "main.js",

@@ -0,1 +1,2 @@

export { BridgeResponse, BridgesResponse } from './lib/clients/bridge-client';
export { IntentResponse, IntentsResponse } from './lib/clients/intent-client';

@@ -5,3 +6,2 @@ export { SignerResponse, SignersResponse } from './lib/clients/signer-client';

export { SymbolResponse, SymbolsResponse } from './lib/clients/symbol-client';
export { BridgeResponse, BridgesResponse } from './lib/clients/bridge-client';
export { WalletResponse, WalletsResponse } from './lib/clients/wallet-client';

@@ -8,0 +8,0 @@ export { LedgerSdk, type SdkOptions } from './lib/sdk';

@@ -9,4 +9,4 @@ import { LedgerRecord, JwtConfig, LedgerSignature, LedgerMeta } from '@minka/types';

private authParams;
protected readonly defaultAuthParams: Partial<JwtConfig>;
constructor(apiClient: Axios, defaultAuthParams?: Partial<JwtConfig>);
protected readonly secure: Partial<JwtConfig>;
constructor(apiClient: Axios, secure?: Partial<JwtConfig>);
private buildRequestHash;

@@ -13,0 +13,0 @@ private buildJwt;

@@ -1,2 +0,2 @@

import { JwtConfig, LedgerHandle } from '@minka/types';
import { JwtConfig, LedgerHandle, LedgerRecord, LedgerPublic } from '@minka/types';
import { EffectClient } from './clients/effect-client';

@@ -10,5 +10,6 @@ import { InstanceClient } from './clients/instance-client';

export declare type SdkOptions = {
defaultAuthParams?: JwtConfig;
url: string;
timeout?: number;
secure?: JwtConfig;
server: string;
expiry?: number;
signer?: LedgerPublic;
};

@@ -28,5 +29,8 @@ export declare type HandleHelper = {

handle: HandleHelper;
private options;
constructor(options: SdkOptions);
setAuthParams(authParams: Partial<JwtConfig>): Promise<void>;
status(): Promise<import("./clients/status-client").StatusResponse>;
setSigner(signer: LedgerPublic): this;
verify(record: LedgerRecord<any>): Promise<boolean>;
}
import { JwtConfig, LedgerMeta, LedgerRecord } from '@minka/types';
import { BaseRecordResponse } from '../types/record-response';
import { BaseRecordBuilder } from './base-record-builder';
import { PartialDeep } from 'type-fest';
export declare type UpdateRecordHandler<T, R, M extends LedgerMeta = LedgerMeta> = (record: LedgerRecord<T, M>, authParams: JwtConfig) => Promise<R>;

@@ -9,3 +10,5 @@ export declare class UpdateRecordBuilder<T, R extends BaseRecordResponse<T>, M extends LedgerMeta = LedgerMeta> extends BaseRecordBuilder<T, M> {

init(record: Partial<LedgerRecord<T, M>>): this;
data(data: PartialDeep<T>, replace?: boolean): this;
protected deepRemoveNull(object: any): any;
send(): Promise<R>;
}

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