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

@proton/js

Package Overview
Dependencies
Maintainers
3
Versions
140
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@proton/js - npm Package Compare versions

Comparing version 25.0.37 to 25.0.39

8

dist/api/index.d.ts

@@ -120,2 +120,10 @@ import { AbiProvider, ActionSerializerType, AuthorityProvider, BinaryAbi, CachedAbi, ContextFreeGroupCallback, Query, QueryConfig, SignatureProvider, TransactConfig, Transaction, TransactResult } from './types';

sha256Digest(array: Uint8Array | ArrayBuffer): Promise<Uint8Array>;
matchRsaKeyToSignature({ actor, transaction }: {
actor: string;
transaction: Transaction;
}): Promise<boolean>;
matchEthKeyToSignature({ actor, transaction }: {
actor: string;
transaction: Transaction;
}): Promise<boolean>;
matchWaKeyToSignature({ signature, key, digest }: {

@@ -122,0 +130,0 @@ signature: string;

1

dist/api/serialize.d.ts

@@ -278,1 +278,2 @@ /**

export declare const serializeQuery: (buffer: SerialBuffer, query: Query) => void;
export declare function b64tob64u(a: string): string;

3

dist/rpc/index.d.ts
import { AbiProvider, AuthorityProvider, AuthorityProviderArgs, BinaryAbi, TransactResult } from '../api/types';
import { isLightKYCVerified, getValidKycProviders } from './proton';
import { isLightKYCVerified, getValidKycProviders, fetchCredentials } from './proton';
import { Authorization } from '../api/serialize';

@@ -90,3 +90,4 @@ import { GetAccountResult, GetBlockHeaderStateResult, GetBlockInfoResult, GetBlockResult, GetInfoResult, GetActivatedProtocolFeaturesResult, GetAbiResult, GetRawCodeAndAbiResult, GetRawAbiResult, GetCodeResult, PushTransactionArgs, AbiBinToJsonResult, AbiJsonToBinResult, DBSizeGetResult, GetAccountsByAuthorizersResult, GetActivatedProtocolFeaturesParams, GetCodeHashResult, GetCurrencyStatsResult, GetProducerScheduleResult, GetProducersResult, GetScheduledTransactionsResult, GetTableByScopeResult, GetTableRowsResult, ReadOnlyTransactResult, TraceApiGetBlockResult } from './types';

getValidKycProviders: typeof getValidKycProviders;
fetchCredentials: typeof fetchCredentials;
}
export { RpcError } from './error';
import type { JsonRpc } from './index';
import type { UserInfo } from './types';
import type { UserInfo, WaKey } from './types';
/**

@@ -14,1 +14,2 @@ * Checks blockchain for a list of kycproviders, and sorts through the ones that are blacklisted.

export declare function isLightKYCVerified(this: JsonRpc, account: UserInfo[] | string): Promise<UserInfo[]>;
export declare function fetchCredentials(this: JsonRpc, actor: string): Promise<WaKey[]>;

@@ -663,1 +663,25 @@ /**

};
export interface RsaKey {
modulus: string;
exponent: string;
}
export interface WaKey {
index?: number;
account?: string;
key_name?: string;
key: {
key: [
string,
string | RsaKey
];
user_presence: number;
rpid: string;
};
nonce?: number;
fullKey: string;
isAccountPerm?: boolean;
isEcc?: boolean;
isRsa?: boolean;
isEth?: boolean;
credential_id?: string;
}
{
"name": "@proton/js",
"version": "25.0.37",
"version": "25.0.39",
"description": "Javascript Interface to the Proton Blockchain",

@@ -33,4 +33,6 @@ "module": "dist/index.js",

"@bloks/constants": "^25.0.37",
"base64url": "^3.0.1",
"cross-fetch": "^3.1.4",
"elliptic": "^6.5.4",
"eth-sig-util": "^3.0.1",
"fast-text-encoding": "^1.0.3",

@@ -94,3 +96,3 @@ "hash.js": "1.1.7",

},
"gitHead": "6c132a63b173db768ec3caf5bba1a5e41a850693"
"gitHead": "e8b06d2523a6051ea48f72f9724945c6829e9ecf"
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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