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

@vlayer/sdk

Package Overview
Dependencies
Maintainers
0
Versions
189
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vlayer/sdk - npm Package Compare versions

Comparing version 0.1.0-nightly-20241018-2f0aade to 0.1.0-nightly-20241021-1eb6b14

5

package.json

@@ -5,3 +5,3 @@ {

"exports": "./src/index.ts",
"version": "0.1.0-nightly-20241018-2f0aade",
"version": "0.1.0-nightly-20241021-1eb6b14",
"types": "src/index.ts",

@@ -26,4 +26,5 @@ "scripts": {

"viem": "2.21.0",
"vite-tsconfig-paths": "^5.0.1"
"vite-tsconfig-paths": "^5.0.1",
"@vitejs/plugin-react": "^4.3.2"
}
}

19

src/api/lib/types/vlayer.ts

@@ -11,4 +11,2 @@ import {

import { type ProverCallCommitment } from "types/webProofProvider.ts";
type Calldata = string;

@@ -55,5 +53,9 @@

F extends ContractFunctionName<T>,
>(
args: VlayerClientProveArgs<T, F>,
) => Promise<{ hash: string }>;
>(args: {
address: Hex;
proverAbi: T;
functionName: F;
chainId: number;
args: ContractFunctionArgs<T, AbiStateMutability, F>;
}) => Promise<{ hash: string }>;
waitForProvingResult: ({

@@ -65,8 +67,1 @@ hash,

};
export type VlayerClientProveArgs<
T extends readonly [AbiFunction, ...Abi[number][]],
F extends ContractFunctionName<T>,
> = ProverCallCommitment<T, F> & {
args: ContractFunctionArgs<T, AbiStateMutability, F>;
};

@@ -36,3 +36,3 @@ import {

// this id is fixed in the extension by the key in manifest.json
const EXTENSION_ID = "ghigbilfcgeibjkkajaekabeldkmijcd";
const EXTENSION_ID = "jbchhcgphfokabmfacnkafoeeeppjmpl";

@@ -39,0 +39,0 @@ export const createExtensionWebProofProvider = (

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