{"_id":"@airstack/node","_rev":"7-f9a8fa17299d7fa65446d9a6f3d6fc4c","name":"@airstack/node","dist-tags":{"latest":"0.0.7"},"versions":{"0.0.1":{"name":"@airstack/node","version":"0.0.1","description":"The Airstack Node SDK provides a convenient way for web developers to integrate Airstack's blockchain functionalities into their Node.js applications.","sideEffects":false,"main":"dist/cjs/index.js","typings":"dist/types/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=14.17.0"},"scripts":{"build":"rm -rf dist & tsc -p tsconfig.esm.json & tsc -p tsconfig.cjs.json","test":"jest --coverage --passWithNoTests","lint":"eslint src/**/*.ts","prepare":"rm -rf dist & tsc -p tsconfig.esm.json & tsc -p tsconfig.cjs.json"},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"devDependencies":{"@types/jest":"^29.4.0","@typescript-eslint/eslint-plugin":"^5.52.0","@typescript-eslint/parser":"^5.52.0","eslint":"^8.34.0","jest":"^29.4.3","ts-jest":"^29.0.5","tslib":"^2.5.0","typescript":"^4.9.5"},"dependencies":{"@types/node":"14.14.30","graphql":"16.7.1"},"gitHead":"342f4b28aa363291b8933f199ddd2c7fae1f6b3c","_id":"@airstack/node@0.0.1","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-z4i+3hyxiVRy0PZ0m19xIBO4jXGTMSDWaWeCKH4sHdcT21IQlJ197Z4jcvz4UrI4xeQNm3uBOemSgoFyzMxUgw==","shasum":"4ce374edf9a0338ff1af2b2c0b2de3f9b4bbe120","tarball":"https://registry.npmjs.org/@airstack/node/-/node-0.0.1.tgz","fileCount":190,"unpackedSize":180439,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDdhMkUcxLWnBLtxTP8JMrFk6R8fT6hhJfqkFKQtwejfAiEAqTVNydd91ulqcDI4UY59g2iOc7gVanvjubTjNJYtA4g="}]},"_npmUser":{"name":"aadil-airstack","email":"aadil@airstack.xyz"},"directories":{},"maintainers":[{"name":"0xsarvesh","email":"sarvesh@airstack.xyz"},{"name":"aadil-airstack","email":"aadil@airstack.xyz"},{"name":"sharathkrml","email":"sharath@airstack.xyz"},{"name":"deepesh-kn","email":"deepesh@airstack.xyz"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node_0.0.1_1690967337999_0.049191794193479854"},"_hasShrinkwrap":false},"0.0.2":{"name":"@airstack/node","version":"0.0.2","description":"The Airstack Node SDK provides a convenient way for web developers to integrate Airstack's blockchain functionalities into their Node.js applications.","sideEffects":false,"main":"dist/cjs/index.js","typings":"dist/types/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=14.17.0"},"scripts":{"build":"rm -rf dist & tsc -p tsconfig.esm.json & tsc -p tsconfig.cjs.json","test":"jest --coverage --passWithNoTests","lint":"eslint src/**/*.ts","prepare":"rm -rf dist & tsc -p tsconfig.esm.json & tsc -p tsconfig.cjs.json"},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"devDependencies":{"@types/jest":"^29.4.0","@typescript-eslint/eslint-plugin":"^5.52.0","@typescript-eslint/parser":"^5.52.0","eslint":"^8.34.0","jest":"^29.4.3","ts-jest":"^29.0.5","tslib":"^2.6.1","typescript":"^4.9.5"},"dependencies":{"@types/node":"14.14.30","graphql":"16.7.1"},"repository":{"type":"git","url":"git+https://github.com/Airstack-xyz/airstack-node-sdk.git"},"gitHead":"342f4b28aa363291b8933f199ddd2c7fae1f6b3c","bugs":{"url":"https://github.com/Airstack-xyz/airstack-node-sdk/issues"},"homepage":"https://github.com/Airstack-xyz/airstack-node-sdk#readme","_id":"@airstack/node@0.0.2","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-86Va+LVumxIquiFm3Yq7DW3mWp/CPIk9qfD7Ekisug3lQTXNuKa0DekO1qKHqmwoCcM3MguItyndiV/g8Boi0w==","shasum":"699c35f7eef6c0c131fd1bc63872dfb77c722f13","tarball":"https://registry.npmjs.org/@airstack/node/-/node-0.0.2.tgz","fileCount":190,"unpackedSize":201925,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA0SEkwJHJSY0s2fzUwc3WLceA6ANxoeoE4BXDNwWTKsAiEAooMtuGzdnkMirEWTzUrMe0DcCfOKu0QyJh1KqTQAh84="}]},"_npmUser":{"name":"aadil-airstack","email":"aadil@airstack.xyz"},"directories":{},"maintainers":[{"name":"0xsarvesh","email":"sarvesh@airstack.xyz"},{"name":"aadil-airstack","email":"aadil@airstack.xyz"},{"name":"sharathkrml","email":"sharath@airstack.xyz"},{"name":"deepesh-kn","email":"deepesh@airstack.xyz"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node_0.0.2_1690968492927_0.6223159935363483"},"_hasShrinkwrap":false},"0.0.3":{"name":"@airstack/node","version":"0.0.3","description":"The Airstack Node SDK provides a convenient way for web developers to integrate Airstack's blockchain functionalities into their Node.js applications.","sideEffects":false,"main":"dist/cjs/index.js","typings":"dist/types/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=14.17.0"},"scripts":{"build":"rm -rf dist & tsc -p tsconfig.esm.json & tsc -p tsconfig.cjs.json","test":"jest --coverage --passWithNoTests","lint":"eslint src/**/*.ts","prepare":"rm -rf dist & tsc -p tsconfig.esm.json & tsc -p tsconfig.cjs.json"},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"devDependencies":{"@types/jest":"^29.4.0","@typescript-eslint/eslint-plugin":"^5.52.0","@typescript-eslint/parser":"^5.52.0","eslint":"^8.34.0","jest":"^29.4.3","ts-jest":"^29.0.5","tslib":"^2.6.1","typescript":"^4.9.5"},"dependencies":{"@types/node":"14.14.30","graphql":"16.7.1"},"repository":{"type":"git","url":"git+https://github.com/Airstack-xyz/airstack-node-sdk.git"},"gitHead":"6ce8e2b9eb6af394d0e7105bb2c6e117649fb065","bugs":{"url":"https://github.com/Airstack-xyz/airstack-node-sdk/issues"},"homepage":"https://github.com/Airstack-xyz/airstack-node-sdk#readme","_id":"@airstack/node@0.0.3","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-wWdwg7VSrHe87YZsAzB4vivCfrYdjAO0ymEaFwpXU92YjHSd1OH4ZEbqCQuzwDxa38zAM7twifAKPtXTsEkgcQ==","shasum":"6885b63472ba9b16df5b050a80f9ab01061c7219","tarball":"https://registry.npmjs.org/@airstack/node/-/node-0.0.3.tgz","fileCount":190,"unpackedSize":201915,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCTRv6bxH7/2MBLHf5Bhu2V+Kje3yxu80VhZEjCOyYy2AIhAIOMxR6ZMXpSoP3rdiyGiov8GqzpQDq6o+qK7YAzaepy"}]},"_npmUser":{"name":"aadil-airstack","email":"aadil@airstack.xyz"},"directories":{},"maintainers":[{"name":"0xsarvesh","email":"sarvesh@airstack.xyz"},{"name":"aadil-airstack","email":"aadil@airstack.xyz"},{"name":"sharathkrml","email":"sharath@airstack.xyz"},{"name":"deepesh-kn","email":"deepesh@airstack.xyz"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node_0.0.3_1690975047667_0.6854215054982555"},"_hasShrinkwrap":false},"0.0.4":{"name":"@airstack/node","version":"0.0.4","description":"The Airstack Node SDK provides a convenient way for web developers to integrate Airstack's blockchain functionalities into their Node.js applications.","sideEffects":false,"main":"dist/cjs/index.js","typings":"dist/types/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=14.17.0"},"scripts":{"build":"rm -rf dist & tsc -p tsconfig.esm.json & npm run ts-lint & tsc -p tsconfig.cjs.json","test":"jest --coverage --passWithNoTests","lint":"eslint src/**/*.ts","ts-lint":"tsc --noEmit --incremental","prepare":"rm -rf dist & tsc -p tsconfig.esm.json & tsc -p tsconfig.cjs.json"},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"devDependencies":{"@types/jest":"^29.4.0","@typescript-eslint/eslint-plugin":"^5.52.0","@typescript-eslint/parser":"^5.52.0","eslint":"^8.34.0","jest":"^29.4.3","ts-jest":"^29.0.5","tslib":"^2.6.1","typescript":"^4.9.5"},"dependencies":{"@types/node":"14.14.30","graphql":"16.7.1"},"repository":{"type":"git","url":"git+https://github.com/Airstack-xyz/airstack-node-sdk.git"},"gitHead":"b7b59087a6134ce98573a1400d03d290f2754404","bugs":{"url":"https://github.com/Airstack-xyz/airstack-node-sdk/issues"},"homepage":"https://github.com/Airstack-xyz/airstack-node-sdk#readme","_id":"@airstack/node@0.0.4","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-hgoCQCocDINzP643R2F8RI0EbUp/bHc/nL0hjKcZ4GHt0SL3141WaOO4fmJrqDTeqvE3YUyHFNwSoKKESUo+0Q==","shasum":"461fddbfd3877dcdb11afa10d51df2c0f33a6184","tarball":"https://registry.npmjs.org/@airstack/node/-/node-0.0.4.tgz","fileCount":184,"unpackedSize":193580,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF64wEYQ2oxIKTIGlHaPgG46Bt9f6up5kxvVehXLzdOQAiBiHVsTI7gyLMdlH5bJ9JGJIYj2G/hMzNWTka3pKh2Q0g=="}]},"_npmUser":{"name":"aadil-airstack","email":"aadil@airstack.xyz"},"directories":{},"maintainers":[{"name":"0xsarvesh","email":"sarvesh@airstack.xyz"},{"name":"aadil-airstack","email":"aadil@airstack.xyz"},{"name":"sharathkrml","email":"sharath@airstack.xyz"},{"name":"deepesh-kn","email":"deepesh@airstack.xyz"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node_0.0.4_1691051378196_0.9490550189408342"},"_hasShrinkwrap":false},"0.0.5":{"name":"@airstack/node","version":"0.0.5","description":"The Airstack Node SDK provides a convenient way for web developers to integrate Airstack's blockchain functionalities into their Node.js applications.","sideEffects":false,"main":"dist/cjs/index.js","typings":"dist/types/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=14.17.0"},"scripts":{"build":"rm -rf dist & tsc -p tsconfig.esm.json & npm run ts-lint & tsc -p tsconfig.cjs.json","test":"jest --coverage --passWithNoTests","lint":"eslint src/**/*.ts","ts-lint":"tsc --noEmit --incremental","prepare":"rm -rf dist & tsc -p tsconfig.esm.json & tsc -p tsconfig.cjs.json"},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"devDependencies":{"@types/jest":"^29.4.0","@typescript-eslint/eslint-plugin":"^5.52.0","@typescript-eslint/parser":"^5.52.0","eslint":"^8.34.0","jest":"^29.4.3","ts-jest":"^29.0.5","tslib":"^2.6.1","typescript":"^4.9.5"},"dependencies":{"@types/node":"14.14.30","graphql":"16.7.1"},"repository":{"type":"git","url":"git+https://github.com/Airstack-xyz/airstack-node-sdk.git"},"gitHead":"6568888a2109c79429af483cfbc532f56f977c05","bugs":{"url":"https://github.com/Airstack-xyz/airstack-node-sdk/issues"},"homepage":"https://github.com/Airstack-xyz/airstack-node-sdk#readme","_id":"@airstack/node@0.0.5","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-bvRE2AaIxLPB4oX3VJe8lA1kXVGNuYt9T9KJngOxxx+6E7zxne5FDMjB//ngTvxm+UqCmAF3rkoVJXx/HN0ExQ==","shasum":"653390d00b0bda089e1ec25b13b8d5fb5b6ef974","tarball":"https://registry.npmjs.org/@airstack/node/-/node-0.0.5.tgz","fileCount":184,"unpackedSize":198094,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFmvd+EgpCKeBgZ4V/rQuv8qd7+OFbgLzGunrTfM9vYpAiEA6Na3QvPtXwWkuKOkWyh2Yl6gdhTgB3Q8faTgkPkCwp4="}]},"_npmUser":{"name":"aadil-airstack","email":"aadil@airstack.xyz"},"directories":{},"maintainers":[{"name":"0xsarvesh","email":"sarvesh@airstack.xyz"},{"name":"aadil-airstack","email":"aadil@airstack.xyz"},{"name":"sharathkrml","email":"sharath@airstack.xyz"},{"name":"deepesh-kn","email":"deepesh@airstack.xyz"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node_0.0.5_1695213737759_0.6436839616403192"},"_hasShrinkwrap":false},"0.0.6":{"name":"@airstack/node","version":"0.0.6","description":"The Airstack Node SDK provides a convenient way for web developers to integrate Airstack's blockchain functionalities into their Node.js applications.","sideEffects":false,"main":"dist/cjs/index.js","typings":"dist/types/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=14.17.0"},"scripts":{"build":"rm -rf dist & tsc -p tsconfig.esm.json & npm run ts-lint & tsc -p tsconfig.cjs.json","test":"jest --coverage --passWithNoTests","lint":"eslint src/**/*.ts","ts-lint":"tsc --noEmit --incremental","prepare":"rm -rf dist & tsc -p tsconfig.esm.json & tsc -p tsconfig.cjs.json"},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"devDependencies":{"@types/jest":"^29.4.0","@typescript-eslint/eslint-plugin":"^5.52.0","@typescript-eslint/parser":"^5.52.0","eslint":"^8.34.0","jest":"^29.4.3","ts-jest":"^29.0.5","tslib":"^2.6.1","typescript":"^4.9.5"},"dependencies":{"@types/node":"14.14.30","graphql":"16.7.1"},"repository":{"type":"git","url":"git+https://github.com/Airstack-xyz/airstack-node-sdk.git"},"_id":"@airstack/node@0.0.6","gitHead":"68562db8f4431c103dc245abc867db327aec39bb","bugs":{"url":"https://github.com/Airstack-xyz/airstack-node-sdk/issues"},"homepage":"https://github.com/Airstack-xyz/airstack-node-sdk#readme","_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-bx/z4XiEnm6XCFOuXxRsD8kgMrGlI7IBHh9jmvBaiGkpTnmtjpY6aQV0CPYOkDq3diDebHh1gXNYZ0eLidfdlw==","shasum":"de5700d9d594eb7be9cee6304944ed9e52493381","tarball":"https://registry.npmjs.org/@airstack/node/-/node-0.0.6.tgz","fileCount":184,"unpackedSize":198360,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDpv9fZozhUIPqt15l8RciWewPqpuO8DwWWLn9goH519AIgJAOtZMtBHIJ3ZsmOP8ZpnKNtNBsy1VTEDXSGh7ERi58="}]},"_npmUser":{"name":"aadil-airstack","email":"aadil@airstack.xyz"},"directories":{},"maintainers":[{"name":"yoseph_ks","email":"yoseph@airstack.xyz"},{"name":"0xsarvesh","email":"sarvesh@airstack.xyz"},{"name":"aadil-airstack","email":"aadil@airstack.xyz"},{"name":"sharathkrml","email":"sharath@airstack.xyz"},{"name":"deepesh-kn","email":"deepesh@airstack.xyz"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node_0.0.6_1712321282233_0.8590219727122532"},"_hasShrinkwrap":false},"0.0.7":{"name":"@airstack/node","version":"0.0.7","description":"The Airstack Node SDK provides a convenient way for web developers to integrate Airstack's blockchain functionalities into their Node.js applications.","sideEffects":false,"main":"dist/cjs/index.js","typings":"dist/types/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=14.17.0"},"scripts":{"build":"rm -rf dist & tsc -p tsconfig.esm.json & npm run ts-lint & tsc -p tsconfig.cjs.json","test":"jest --coverage --passWithNoTests","test-watch":"jest --watch --coverage --passWithNoTests","lint":"eslint src/**/*.ts","ts-lint":"tsc --noEmit --incremental","prepare":"rm -rf dist & tsc -p tsconfig.esm.json & tsc -p tsconfig.cjs.json"},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"devDependencies":{"@types/jest":"^29.4.0","@typescript-eslint/eslint-plugin":"^5.52.0","@typescript-eslint/parser":"^5.52.0","eslint":"^8.34.0","jest":"^29.4.3","ts-jest":"^29.0.5","tslib":"^2.6.1","typescript":"^4.9.5"},"dependencies":{"@types/node":"14.14.30","graphql":"16.7.1"},"repository":{"type":"git","url":"git+https://github.com/Airstack-xyz/airstack-node-sdk.git"},"_id":"@airstack/node@0.0.7","gitHead":"b75b14dddfa7c040e6aabf7ab57cd201965eb9d8","bugs":{"url":"https://github.com/Airstack-xyz/airstack-node-sdk/issues"},"homepage":"https://github.com/Airstack-xyz/airstack-node-sdk#readme","_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-BATIO8FbSlJz8pkTW/Iwp6vty7l/DPYcvAce8TjZbBX8R3iAsIN9V+ffY7R2duGrrRlQJRg9zIr+G6JKG0HPow==","shasum":"0a5939a8b7d9fb149f15d8248e261dcede88507f","tarball":"https://registry.npmjs.org/@airstack/node/-/node-0.0.7.tgz","fileCount":184,"unpackedSize":200463,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC5jXVpuF7tK5A/LihDXegEvBf8fDZhSk3FYPJVKAc71AIhALvHcW44xpJJ3BOli9p4YQMaogI7P8DJpr8rs7SWKfBz"}]},"_npmUser":{"name":"aadil-airstack","email":"aadil@airstack.xyz"},"directories":{},"maintainers":[{"name":"yoseph_ks","email":"yoseph@airstack.xyz"},{"name":"0xsarvesh","email":"sarvesh@airstack.xyz"},{"name":"aadil-airstack","email":"aadil@airstack.xyz"},{"name":"sharathkrml","email":"sharath@airstack.xyz"},{"name":"deepesh-kn","email":"deepesh@airstack.xyz"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node_0.0.7_1713968717721_0.5091967688934409"},"_hasShrinkwrap":false}},"time":{"created":"2023-08-02T09:08:57.936Z","0.0.1":"2023-08-02T09:08:58.246Z","modified":"2024-04-24T14:25:18.216Z","0.0.2":"2023-08-02T09:28:13.149Z","0.0.3":"2023-08-02T11:17:27.829Z","0.0.4":"2023-08-03T08:29:38.396Z","0.0.5":"2023-09-20T12:42:17.963Z","0.0.6":"2024-04-05T12:48:02.455Z","0.0.7":"2024-04-24T14:25:17.945Z"},"maintainers":[{"name":"yoseph_ks","email":"yoseph@airstack.xyz"},{"name":"0xsarvesh","email":"sarvesh@airstack.xyz"},{"name":"aadil-airstack","email":"aadil@airstack.xyz"},{"name":"sharathkrml","email":"sharath@airstack.xyz"},{"name":"deepesh-kn","email":"deepesh@airstack.xyz"}],"description":"The Airstack Node SDK provides a convenient way for web developers to integrate Airstack's blockchain functionalities into their Node.js applications.","readme":"# Airstack Node SDK\n\nThe Airstack Node SDK provides a convenient way for web developers to integrate Airstack's blockchain functionalities into their Node.js applications.\n\nWith the provided methods, you can use to easily query and fetch data from smart contracts.\n\n## Installation\n\n#### With NPM\n\n```sh\nnpm install @airstack/node\n```\n\n#### With yarn\n\n```sh\nyarn add @airstack/node\n```\n\n#### With pnpm\n\n```sh\npnpm install @airstack/node\n```\n\n## Getting started\n\nTo use the SDK you will need airstack api-key, which you can find in your profile setting section in [airstack web](https://app.airstack.xyz), once you have it you can call the `init` function with the api-key.\n\n**`init` must be called before calling fetchQuery or  fetchQueryWithPagination**.\n\n```typescript\nimport { init } from \"@airstack/node\";\n\ninit(\"api-key\");\n```\n\n## fetchQuery\n\n##### Parameters\n`fetchQuery` accepts 2 parameters:\n- `query` (required): A string that represents the Airstack GraphQL query to be executed.\n- `variables`: An object that contains variables used in the query.\n\n`fetchQuery` returns a promise with an object, which contains the following properties:\n\n- `data`: The response data returned by the server.\n- `error`: An error object, if an error occurred during the network request.\n\n##### Example\n\n```typescript\nimport { fetchQuery } from \"@airstack/node\";\n\nconst { data, error } = await fetchQuery(query, variables);\n```\n\n## fetchQueryWithPagination\n\n##### Parameters\n`fetchQueryWithPagination` take same parameters as `fetchQuery`.\n\nIt returns a promise with an object, which contains the following properties:\n\n- `data`: The response data returned by the server.\n- `error`: An error object, if an error occurred during the network request.\n- `hasNextPage`: A boolean that indicates whether there is a next page of data available.\n- `hasPrevPage`: A boolean that indicates whether there is a previous page of data available.\n- `getNextPage()`: A function that returns a next page `data`, `error`, `hasNextPage`, `hasPrevPage`, `getNextPage` and `getPrevPage`. It returns `null` if there is no next page.\n- `getPrevPage()`: A function that returns previous page `data`, `error`, `hasNextPage`, `hasPrevPage`, `getNextPage` and `getPrevPage`. It returns `null` if there is no previous page.\n  \n**Note:** fetchQueryWithPagination only works with queries that has support for pagination.\n\n##### Example\n\n```typescript\nimport { fetchQueryWithPagination } from \"@airstack/node\";\n\nconst { data, error, hasNextPage, hasPrevPage, getNextPage, getPrevPage } =\n  await fetchQueryWithPagination(query, variables);\n```\n","readmeFilename":"README.md","homepage":"https://github.com/Airstack-xyz/airstack-node-sdk#readme","repository":{"type":"git","url":"git+https://github.com/Airstack-xyz/airstack-node-sdk.git"},"bugs":{"url":"https://github.com/Airstack-xyz/airstack-node-sdk/issues"}}