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

@poap-xyz/drops

Package Overview
Dependencies
Maintainers
0
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@poap-xyz/drops - npm Package Compare versions

Comparing version

to
0.8.2

10

dist/cjs/types/DropsSortFields.d.ts

@@ -0,1 +1,11 @@

/**
* Enum to define available fields for sorting Drops.
*
* Note: The string values use snake_case as they correspond to
* backend API field names, while the enum keys use camelCase
* to maintain consistency with TypeScript conventions.
*
* @export
* @enum {string}
*/
export declare enum DropsSortFields {

@@ -2,0 +12,0 @@ Name = "name",

@@ -0,1 +1,11 @@

/**
* Enum to define available fields for sorting Drops.
*
* Note: The string values use snake_case as they correspond to
* backend API field names, while the enum keys use camelCase
* to maintain consistency with TypeScript conventions.
*
* @export
* @enum {string}
*/
export declare enum DropsSortFields {

@@ -2,0 +12,0 @@ Name = "name",

@@ -0,1 +1,11 @@

/**
* Enum to define available fields for sorting Drops.
*
* Note: The string values use snake_case as they correspond to
* backend API field names, while the enum keys use camelCase
* to maintain consistency with TypeScript conventions.
*
* @export
* @enum {string}
*/
export declare enum DropsSortFields {

@@ -2,0 +12,0 @@ Name = "name",

2

package.json
{
"name": "@poap-xyz/drops",
"version": "0.8.1",
"version": "0.8.2",
"description": "Drops module for the poap.js library",

@@ -5,0 +5,0 @@ "main": "dist/cjs/index.cjs",

@@ -146,3 +146,3 @@ import { CompassProvider, DropApiProvider } from '@poap-xyz/providers';

async create(input: CreateDropsInput): Promise<Drop> {
const repsonse = await this.dropApiProvider.createDrop({
const response = await this.dropApiProvider.createDrop({
name: input.name,

@@ -175,3 +175,3 @@ description: input.description,

});
return Drop.fromProvider(repsonse);
return Drop.fromProvider(response);
}

@@ -188,3 +188,3 @@

async update(input: UpdateDropsInput): Promise<Drop> {
const repsonse = await this.dropApiProvider.updateDrop({
const response = await this.dropApiProvider.updateDrop({
name: input.name,

@@ -203,4 +203,4 @@ description: input.description,

});
return Drop.fromProvider(repsonse);
return Drop.fromProvider(response);
}
}

@@ -0,1 +1,11 @@

/**
* Enum to define available fields for sorting Drops.
*
* Note: The string values use snake_case as they correspond to
* backend API field names, while the enum keys use camelCase
* to maintain consistency with TypeScript conventions.
*
* @export
* @enum {string}
*/
export enum DropsSortFields {

@@ -2,0 +12,0 @@ Name = 'name',