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

@fractalwagmi/fractal-sdk-public-api

Package Overview
Dependencies
Maintainers
10
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fractalwagmi/fractal-sdk-public-api - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

43

dist/fractal-sdk-api.d.ts

@@ -15,2 +15,6 @@ export declare type FractalSdkAdminSyncItemMetadataResponse = object;

}
export interface FractalSdkCommonPrice {
amount: string;
unit: string;
}
export interface FractalSdkExperimentalCreateMintTransactionRequest {

@@ -50,2 +54,9 @@ payer: string;

}
export interface FractalSdkMarketplaceGetTokenListingsResponse {
listings: FractalSdkMarketplaceGetTokenListingsResponseListing[];
}
export interface FractalSdkMarketplaceGetTokenListingsResponseListing {
listingId: string;
price: FractalSdkCommonPrice;
}
export interface FractalSdkMetagameGetFlakesSummaryResponse {

@@ -567,2 +578,22 @@ attributes: Record<string, FractalSdkMetagameGetFlakesSummaryResponseMinMax>;

}
export declare namespace V2 {
/**
* @description Returns listings for a given token. Requires project API token.
* @tags MarketplaceService
* @name GetTokenListings
* @summary GetListings
* @request GET:/sdk/v2/marketplace/{chain}/item/{address}/listings
* @secure
*/
namespace GetTokenListings {
type RequestParams = {
chain: "UNKNOWN" | "ETH" | "SOLANA" | "POLYGON";
address: string;
};
type RequestQuery = {};
type RequestBody = never;
type RequestHeaders = {};
type ResponseBody = FractalSdkMarketplaceGetTokenListingsResponse;
}
}
export declare type QueryParamsType = Record<string | number, any>;

@@ -869,3 +900,15 @@ export declare type ResponseFormat = keyof Omit<Body, "body" | "bodyUsed">;

};
v2: {
/**
* @description Returns listings for a given token. Requires project API token.
*
* @tags MarketplaceService
* @name GetTokenListings
* @summary GetListings
* @request GET:/sdk/v2/marketplace/{chain}/item/{address}/listings
* @secure
*/
getTokenListings: (chain: "UNKNOWN" | "ETH" | "SOLANA" | "POLYGON", address: string, params?: RequestParams) => Promise<HttpResponse<FractalSdkMarketplaceGetTokenListingsResponse, GoogleRpcStatus>>;
};
}
export {};

@@ -391,4 +391,16 @@ "use strict";

};
this.v2 = {
/**
* @description Returns listings for a given token. Requires project API token.
*
* @tags MarketplaceService
* @name GetTokenListings
* @summary GetListings
* @request GET:/sdk/v2/marketplace/{chain}/item/{address}/listings
* @secure
*/
getTokenListings: (chain, address, params = {}) => this.request(Object.assign({ path: `/sdk/v2/marketplace/${chain}/item/${address}/listings`, method: "GET", secure: true, format: "json" }, params)),
};
}
}
exports.Api = Api;

@@ -30,2 +30,7 @@ /* eslint-disable */

export interface FractalSdkCommonPrice {
amount: string;
unit: string;
}
export interface FractalSdkExperimentalCreateMintTransactionRequest {

@@ -74,2 +79,11 @@ payer: string;

export interface FractalSdkMarketplaceGetTokenListingsResponse {
listings: FractalSdkMarketplaceGetTokenListingsResponseListing[];
}
export interface FractalSdkMarketplaceGetTokenListingsResponseListing {
listingId: string;
price: FractalSdkCommonPrice;
}
export interface FractalSdkMetagameGetFlakesSummaryResponse {

@@ -593,2 +607,20 @@ attributes: Record<string, FractalSdkMetagameGetFlakesSummaryResponseMinMax>;

export namespace V2 {
/**
* @description Returns listings for a given token. Requires project API token.
* @tags MarketplaceService
* @name GetTokenListings
* @summary GetListings
* @request GET:/sdk/v2/marketplace/{chain}/item/{address}/listings
* @secure
*/
export namespace GetTokenListings {
export type RequestParams = { chain: "UNKNOWN" | "ETH" | "SOLANA" | "POLYGON"; address: string };
export type RequestQuery = {};
export type RequestBody = never;
export type RequestHeaders = {};
export type ResponseBody = FractalSdkMarketplaceGetTokenListingsResponse;
}
}
export type QueryParamsType = Record<string | number, any>;

@@ -1218,2 +1250,21 @@ export type ResponseFormat = keyof Omit<Body, "body" | "bodyUsed">;

};
v2 = {
/**
* @description Returns listings for a given token. Requires project API token.
*
* @tags MarketplaceService
* @name GetTokenListings
* @summary GetListings
* @request GET:/sdk/v2/marketplace/{chain}/item/{address}/listings
* @secure
*/
getTokenListings: (chain: "UNKNOWN" | "ETH" | "SOLANA" | "POLYGON", address: string, params: RequestParams = {}) =>
this.request<FractalSdkMarketplaceGetTokenListingsResponse, GoogleRpcStatus>({
path: `/sdk/v2/marketplace/${chain}/item/${address}/listings`,
method: "GET",
secure: true,
format: "json",
...params,
}),
};
}

2

package.json
{
"name": "@fractalwagmi/fractal-sdk-public-api",
"version": "0.0.4",
"version": "0.0.5",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/fractal-sdk-api.js",

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