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

@poap-xyz/utils

Package Overview
Dependencies
Maintainers
4
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@poap-xyz/utils - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

dist/cjs/functions/nextCursor.d.ts

1

dist/cjs/index.d.ts
export * from './types';
export { PaginatedResult } from './types/pagination';
export { nextCursor } from './functions/nextCursor';
export * from './types';
export { PaginatedResult } from './types/pagination';
export { nextCursor } from './functions/nextCursor';
export * from './types';
export { PaginatedResult } from './types/pagination';
export { nextCursor } from './functions/nextCursor';

@@ -14,5 +14,11 @@ (function (global, factory) {

function nextCursor(length, limit, offset) {
const endIndex = offset + length;
return endIndex < offset + limit ? null : endIndex;
}
exports.PaginatedResult = PaginatedResult;
exports.nextCursor = nextCursor;
}));
//# sourceMappingURL=index.js.map

2

package.json
{
"name": "@poap-xyz/utils",
"version": "0.0.5",
"version": "0.0.6",
"description": "Utils module for the poap.js library",

@@ -5,0 +5,0 @@ "type": "module",

@@ -5,12 +5,13 @@ # @poap-xyz/utils

@poap-xyz/utils is a [short description of the purpose of the package].
@poap-xyz/utils is a package that contains auxiliar functions.
## Features
- Feature 1
- Feature 2
- Feature 3
- PaginatedResult: A paginated interface that makes it easier to manage paginated results
- SecureFetch: A wrapper for headers that inserts the authentication with POAP.
## Installation
### NPM
```bash

@@ -20,19 +21,15 @@ npm install @poap-xyz/utils

## Usage
### Yarn
\```python
from package_name import module
```bash
yarn add @poap-xyz/utils
```
# Example usage
result = module.function(parameter)
print(result)
\```
## Documentation
For more detailed documentation, please visit [link to your documentation].
For more detailed documentation, please visit [this link](https://documentation.poap.tech/docs).
## Examples
For example scripts and usage, please check the `examples` folder.
For example scripts and usage, please check the [examples](https://github.com/poap-xyz/poap.js/tree/main/examples).

@@ -39,0 +36,0 @@ ## Contributing

export * from './types';
export { PaginatedResult } from './types/pagination';
export { nextCursor } from './functions/nextCursor';

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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