@poap-xyz/providers
Advanced tools
Comparing version 0.0.39 to 0.1.0
@@ -6,3 +6,2 @@ import { DropApiProvider } from '../../ports/DropApiProvider/DropApiProvider'; | ||
private baseUrl; | ||
private poapApi; | ||
constructor(config: PoapDropApiConfig); | ||
@@ -9,0 +8,0 @@ createDrop(input: CreateDropInput): Promise<DropResponse>; |
@@ -9,3 +9,2 @@ import { PostMintCodeResponse, MintStatusResponse, GetMintCodeResponse } from './../../ports/TokensApiProvider/Types/response'; | ||
private authenticationProvider?; | ||
private poapApi; | ||
constructor({ apiKey, baseUrl, authenticationProvider, }: PoapTokenApiOptions); | ||
@@ -12,0 +11,0 @@ getMintCode(code: string): Promise<GetMintCodeResponse>; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" /> | ||
export interface CreateDropInput { | ||
@@ -12,3 +11,3 @@ name: string; | ||
virtual_event: boolean; | ||
image: Buffer; | ||
image: Blob; | ||
filename: string; | ||
@@ -15,0 +14,0 @@ contentType: string; |
@@ -6,3 +6,2 @@ import { DropApiProvider } from '../../ports/DropApiProvider/DropApiProvider'; | ||
private baseUrl; | ||
private poapApi; | ||
constructor(config: PoapDropApiConfig); | ||
@@ -9,0 +8,0 @@ createDrop(input: CreateDropInput): Promise<DropResponse>; |
@@ -9,3 +9,2 @@ import { PostMintCodeResponse, MintStatusResponse, GetMintCodeResponse } from './../../ports/TokensApiProvider/Types/response'; | ||
private authenticationProvider?; | ||
private poapApi; | ||
constructor({ apiKey, baseUrl, authenticationProvider, }: PoapTokenApiOptions); | ||
@@ -12,0 +11,0 @@ getMintCode(code: string): Promise<GetMintCodeResponse>; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" /> | ||
export interface CreateDropInput { | ||
@@ -12,3 +11,3 @@ name: string; | ||
virtual_event: boolean; | ||
image: Buffer; | ||
image: Blob; | ||
filename: string; | ||
@@ -15,0 +14,0 @@ contentType: string; |
@@ -6,3 +6,2 @@ import { DropApiProvider } from '../../ports/DropApiProvider/DropApiProvider'; | ||
private baseUrl; | ||
private poapApi; | ||
constructor(config: PoapDropApiConfig); | ||
@@ -9,0 +8,0 @@ createDrop(input: CreateDropInput): Promise<DropResponse>; |
@@ -9,3 +9,2 @@ import { PostMintCodeResponse, MintStatusResponse, GetMintCodeResponse } from './../../ports/TokensApiProvider/Types/response'; | ||
private authenticationProvider?; | ||
private poapApi; | ||
constructor({ apiKey, baseUrl, authenticationProvider, }: PoapTokenApiOptions); | ||
@@ -12,0 +11,0 @@ getMintCode(code: string): Promise<GetMintCodeResponse>; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" /> | ||
export interface CreateDropInput { | ||
@@ -12,3 +11,3 @@ name: string; | ||
virtual_event: boolean; | ||
image: Buffer; | ||
image: Blob; | ||
filename: string; | ||
@@ -15,0 +14,0 @@ contentType: string; |
{ | ||
"name": "@poap-xyz/providers", | ||
"version": "0.0.39", | ||
"version": "0.1.0", | ||
"description": "Providers module for the poap.js library", | ||
@@ -28,3 +28,4 @@ "main": "dist/cjs/index.cjs", | ||
"dependencies": { | ||
"@poap-xyz/utils": "0.0.39" | ||
"@poap-xyz/utils": "0.1.0", | ||
"axios": "^1.3.5" | ||
}, | ||
@@ -34,6 +35,5 @@ "devDependencies": { | ||
}, | ||
"peerDependencies": { | ||
"axios": "^1.3.5", | ||
"form-data": "^4.0.0" | ||
"engines": { | ||
"node": ">=18" | ||
} | ||
} |
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 too big to display
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 3 instances in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 3 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
1980410
2
38702
18
17
+ Addedaxios@^1.3.5
+ Added@poap-xyz/utils@0.1.0(transitive)
- Removed@poap-xyz/utils@0.0.39(transitive)
Updated@poap-xyz/utils@0.1.0