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

@fractalwagmi/fractal-sdk-api

Package Overview
Dependencies
Maintainers
8
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version

to
0.0.3

53

dist/fractal.d.ts
export declare type FractalSdkScorePostCreateScoreResponse = object;
export declare type FractalSdkScorePostCreateScoresTotalResponse = object;
export interface FractalSdkScoreScore {

@@ -9,2 +10,9 @@ userId: string;

}
export interface FractalSdkWalletFile {
type: string;
uri: string;
}
export interface FractalSdkWalletGetInfoResponse {
accountPublicKey?: string;
}
export interface FractalSdkWalletGetItemsResponse {

@@ -16,2 +24,3 @@ items: FractalSdkWalletGetItemsResponseItem[];

name: string;
files: FractalSdkWalletFile[];
}

@@ -45,3 +54,31 @@ export interface GoogleProtobufAny {

* No description
* @tags ScoreService
* @name CreateScoresTotal
* @request POST:/sdk/v1/tournament/{tournamentId}/scores_total
*/
namespace CreateScoresTotal {
type RequestParams = {
tournamentId: string;
};
type RequestQuery = {};
type RequestBody = FractalSdkScoreScore;
type RequestHeaders = {};
type ResponseBody = FractalSdkScorePostCreateScoresTotalResponse;
}
/**
* No description
* @tags SdkWalletApi
* @name GetInfo
* @request GET:/sdk/v1/wallet/info
*/
namespace GetInfo {
type RequestParams = {};
type RequestQuery = {};
type RequestBody = never;
type RequestHeaders = {};
type ResponseBody = FractalSdkWalletGetInfoResponse;
}
/**
* No description
* @tags SdkWalletApi
* @name GetWalletItems

@@ -132,3 +169,19 @@ * @request GET:/sdk/v1/wallet/items

*
* @tags ScoreService
* @name CreateScoresTotal
* @request POST:/sdk/v1/tournament/{tournamentId}/scores_total
*/
createScoresTotal: (tournamentId: string, body: FractalSdkScoreScore, params?: RequestParams) => Promise<HttpResponse<object, GoogleRpcStatus>>;
/**
* No description
*
* @tags SdkWalletApi
* @name GetInfo
* @request GET:/sdk/v1/wallet/info
*/
getInfo: (params?: RequestParams) => Promise<HttpResponse<FractalSdkWalletGetInfoResponse, GoogleRpcStatus>>;
/**
* No description
*
* @tags SdkWalletApi
* @name GetWalletItems

@@ -135,0 +188,0 @@ * @request GET:/sdk/v1/wallet/items

18

dist/fractal.js

@@ -169,7 +169,23 @@ "use strict";

*/
createScore: (tournamentId, body, params = {}) => this.request(Object.assign({ path: `/sdk/v1/tournament/${tournamentId}/score`, method: "POST", body: body, type: ContentType.Json, format: "json" }, params)),
createScore: (tournamentId, body, params = {}) => this.request(Object.assign({ path: `/sdk/v1/tournament/${tournamentId}/score`, method: "POST", body: body, format: "json" }, params)),
/**
* No description
*
* @tags ScoreService
* @name CreateScoresTotal
* @request POST:/sdk/v1/tournament/{tournamentId}/scores_total
*/
createScoresTotal: (tournamentId, body, params = {}) => this.request(Object.assign({ path: `/sdk/v1/tournament/${tournamentId}/scores_total`, method: "POST", body: body, format: "json" }, params)),
/**
* No description
*
* @tags SdkWalletApi
* @name GetInfo
* @request GET:/sdk/v1/wallet/info
*/
getInfo: (params = {}) => this.request(Object.assign({ path: `/sdk/v1/wallet/info`, method: "GET", format: "json" }, params)),
/**
* No description
*
* @tags SdkWalletApi
* @name GetWalletItems

@@ -176,0 +192,0 @@ * @request GET:/sdk/v1/wallet/items

@@ -14,2 +14,4 @@ /* eslint-disable */

export type FractalSdkScorePostCreateScoresTotalResponse = object;
export interface FractalSdkScoreScore {

@@ -24,2 +26,11 @@ userId: string;

export interface FractalSdkWalletFile {
type: string;
uri: string;
}
export interface FractalSdkWalletGetInfoResponse {
accountPublicKey?: string;
}
export interface FractalSdkWalletGetItemsResponse {

@@ -32,2 +43,3 @@ items: FractalSdkWalletGetItemsResponseItem[];

name: string;
files: FractalSdkWalletFile[];
}

@@ -62,3 +74,29 @@

* No description
* @tags ScoreService
* @name CreateScoresTotal
* @request POST:/sdk/v1/tournament/{tournamentId}/scores_total
*/
export namespace CreateScoresTotal {
export type RequestParams = { tournamentId: string };
export type RequestQuery = {};
export type RequestBody = FractalSdkScoreScore;
export type RequestHeaders = {};
export type ResponseBody = FractalSdkScorePostCreateScoresTotalResponse;
}
/**
* No description
* @tags SdkWalletApi
* @name GetInfo
* @request GET:/sdk/v1/wallet/info
*/
export namespace GetInfo {
export type RequestParams = {};
export type RequestQuery = {};
export type RequestBody = never;
export type RequestHeaders = {};
export type ResponseBody = FractalSdkWalletGetInfoResponse;
}
/**
* No description
* @tags SdkWalletApi
* @name GetWalletItems

@@ -302,3 +340,2 @@ * @request GET:/sdk/v1/wallet/items

body: body,
type: ContentType.Json,
format: "json",

@@ -311,3 +348,34 @@ ...params,

*
* @tags ScoreService
* @name CreateScoresTotal
* @request POST:/sdk/v1/tournament/{tournamentId}/scores_total
*/
createScoresTotal: (tournamentId: string, body: FractalSdkScoreScore, params: RequestParams = {}) =>
this.request<FractalSdkScorePostCreateScoresTotalResponse, GoogleRpcStatus>({
path: `/sdk/v1/tournament/${tournamentId}/scores_total`,
method: "POST",
body: body,
format: "json",
...params,
}),
/**
* No description
*
* @tags SdkWalletApi
* @name GetInfo
* @request GET:/sdk/v1/wallet/info
*/
getInfo: (params: RequestParams = {}) =>
this.request<FractalSdkWalletGetInfoResponse, GoogleRpcStatus>({
path: `/sdk/v1/wallet/info`,
method: "GET",
format: "json",
...params,
}),
/**
* No description
*
* @tags SdkWalletApi
* @name GetWalletItems

@@ -314,0 +382,0 @@ * @request GET:/sdk/v1/wallet/items

2

package.json
{
"name": "@fractalwagmi/fractal-sdk-api",
"version": "0.0.2",
"version": "0.0.3",
"description": "",

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