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

@quicknode/sdk

Package Overview
Dependencies
Maintainers
26
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@quicknode/sdk - npm Package Compare versions

Comparing version 1.1.5 to 2.0.0

esm/client/client.js

37

package.json

@@ -9,23 +9,14 @@ {

"license": "MIT",
"version": "1.1.5",
"version": "2.0.0",
"main": "./cjs/index.js",
"module": "./esm/src/index.js",
"module": "./esm/index.js",
"types": "./index.d.ts",
"sideEffects": false,
"dependencies": {
"@urql/core": "^4.2.0",
"@urql/exchange-graphcache": "^6.4.0",
"cross-fetch": "^3.1.6",
"graphql": "^16.6.0",
"klona": "^2.0.6",
"tslib": "^2.5.3",
"viem": "^1.2.0",
"viem": "^1.20.0",
"zod": "^3.21.4"
},
"devDependencies": {
"@graphql-codegen/cli": "4.0.1",
"@graphql-codegen/fragment-matcher": "^3.3.1",
"@graphql-codegen/typed-document-node": "^4.0.1",
"@graphql-codegen/typescript": "2.8.0",
"@graphql-codegen/typescript-operations": "^2.5.5",
"@pollyjs/adapter-node-http": "^6.0.5",

@@ -42,19 +33,12 @@ "@pollyjs/core": "^6.0.5",

},
"scripts": {
"codegen": "npx graphql-codegen --require dotenv/config"
},
"scripts": {},
"exports": {
".": {
"import": "./esm/src/index.js",
"import": "./esm/index.js",
"require": "./cjs/index.js"
},
"./api": {
"import": "./esm/src/api/index.js",
"default": "./cjs/src/api/index.js",
"types": "./esm/src/api/index.d.ts"
},
"./core": {
"import": "./esm/src/core/index.js",
"default": "./cjs/src/core/index.js",
"types": "./esm/src/core/index.d.ts"
"import": "./esm/core/index.js",
"default": "./cjs/core/index.js",
"types": "./esm/core/index.d.ts"
}

@@ -64,7 +48,4 @@ },

"*": {
"api": [
"./esm/src/api/index.d.ts"
],
"core": [
"./esm/src/core/index.d.ts"
"./esm/core/index.d.ts"
]

@@ -71,0 +52,0 @@ }

@@ -33,12 +33,7 @@ # QuickNode SDK

```ts
import QuickNode from '@quicknode/sdk';
import Core from '@quicknode/sdk/core';
const qn = new QuickNode.API({ graphApiKey: 'my-api-key' });
const core = new Core({ endpointUrl: 'replaceme' });
qn.nfts
.getByWallet({
address: 'quicknode.eth',
first: 5,
})
.then((response) => console.log(response));
const blockNumber = core.client.getBlockNumber().then((response) => console.log(response));
```

@@ -45,0 +40,0 @@

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

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