@poap-xyz/drops
Advanced tools
Comparing version 0.0.20 to 0.0.21
@@ -26,2 +26,3 @@ export declare class Drop { | ||
getTotalMinted(): number; | ||
toSerializableObject(): DropProperties; | ||
} | ||
@@ -28,0 +29,0 @@ export interface DropProperties { |
export { DropsClient } from './DropsClient'; | ||
export { Drop } from './domain/Drop'; | ||
export { Drop, DropProperties } from './domain/Drop'; | ||
export { FetchDropsInput, CreateDropsInput, UpdateDropsInput, DropsSortFields, } from './types'; |
@@ -26,2 +26,3 @@ export declare class Drop { | ||
getTotalMinted(): number; | ||
toSerializableObject(): DropProperties; | ||
} | ||
@@ -28,0 +29,0 @@ export interface DropProperties { |
export { DropsClient } from './DropsClient'; | ||
export { Drop } from './domain/Drop'; | ||
export { Drop, DropProperties } from './domain/Drop'; | ||
export { FetchDropsInput, CreateDropsInput, UpdateDropsInput, DropsSortFields, } from './types'; |
@@ -26,2 +26,3 @@ export declare class Drop { | ||
getTotalMinted(): number; | ||
toSerializableObject(): DropProperties; | ||
} | ||
@@ -28,0 +29,0 @@ export interface DropProperties { |
export { DropsClient } from './DropsClient'; | ||
export { Drop } from './domain/Drop'; | ||
export { Drop, DropProperties } from './domain/Drop'; | ||
export { FetchDropsInput, CreateDropsInput, UpdateDropsInput, DropsSortFields, } from './types'; |
@@ -35,2 +35,28 @@ (function (global, factory) { | ||
} | ||
toSerializableObject() { | ||
return { | ||
id: this.id, | ||
fancy_id: this.fancy_id, | ||
name: this.name, | ||
description: this.description, | ||
city: this.city, | ||
country: this.country, | ||
channel: this.channel, | ||
platform: this.platform, | ||
location_type: this.location_type, | ||
drop_url: this.drop_url, | ||
image_url: this.image_url, | ||
animation_url: this.animation_url, | ||
year: this.year, | ||
timezone: this.timezone, | ||
private: this.private, | ||
start_date: this.start_date, | ||
created_date: this.created_date, | ||
poap_count: this.poap_count, | ||
transfer_count: this.transfer_count, | ||
email_claim: this.email_claim, | ||
expiry_date: this.expiry_date, | ||
end_date: this.end_date | ||
}; | ||
} | ||
} | ||
@@ -37,0 +63,0 @@ |
{ | ||
"name": "@poap-xyz/drops", | ||
"version": "0.0.20", | ||
"version": "0.0.21", | ||
"description": "Drops module for the poap.js library", | ||
@@ -5,0 +5,0 @@ "main": "dist/cjs/index.cjs", |
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
89241
1052