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

dappql

Package Overview
Dependencies
Maintainers
0
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dappql - npm Package Compare versions

Comparing version 2.0.14 to 2.0.15

14

lib/templates/createContractsCollection.js

@@ -116,14 +116,10 @@ import { writeFileSync } from 'fs';

export type Mutations = keyof Contract['mutations']
function getMutation<M extends Mutations>(functionName: M) {
return {
contractName: '{{CONTRACT_NAME}}' as const,
functionName,
deployAddress,
argsType: undefined as ExtractArgs<Contract['mutations'][M]> | undefined,
getAbi: () => abi,
}
const BaseMutation = {
contractName: '{{CONTRACT_NAME}}' as const,
deployAddress,
getAbi: () => abi,
}
export const mutation = {
${writeMethods.map((m) => `\t\t${m}: getMutation('${m}'),`).join('\n')}
${writeMethods.map((m) => `\t\t${m}: {...BaseMutation, functionName: '${m}', argsType: undefined as ExtractArgs<Contract['mutations']['${m}']> | undefined},`).join('\n')}
}

@@ -130,0 +126,0 @@ `

{
"name": "dappql",
"version": "2.0.14",
"version": "2.0.15",
"description": "wagmi extension to easily query smart-contracts",

@@ -5,0 +5,0 @@ "main": "./lib/index.js",

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