Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@onbeam/player-api-client

Package Overview
Dependencies
Maintainers
0
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@onbeam/player-api-client - npm Package Compare versions

Comparing version 1.2.9 to 1.2.10

54

dist/index.d.ts

@@ -369,2 +369,53 @@ type ApiRequestOptions = {

type CreateConnectionRequestInput = {
entityId: string;
chainId?: number;
};
type CreateConnectionRequestResponse = {
status: CreateConnectionRequestResponse.status;
id: string;
createdAt: string;
updatedAt: string | null;
url: string;
};
declare namespace CreateConnectionRequestResponse {
enum status {
PENDING = "Pending",
CONNECTED = "Connected",
ERROR = "Error"
}
}
type GetConnectionRequestResponse = {
status: GetConnectionRequestResponse.status;
id: string;
createdAt: string;
updatedAt: string | null;
};
declare namespace GetConnectionRequestResponse {
enum status {
PENDING = "Pending",
CONNECTED = "Connected",
ERROR = "Error"
}
}
declare class ConnectorService {
readonly httpRequest: BaseHttpRequest;
constructor(httpRequest: BaseHttpRequest);
/**
* @param requestBody
* @returns CreateConnectionRequestResponse
* @throws ApiError
*/
createConnectionRequest(requestBody: CreateConnectionRequestInput): CancelablePromise<CreateConnectionRequestResponse>;
/**
* @param requestId
* @returns GetConnectionRequestResponse
* @throws ApiError
*/
getConnectionRequest(requestId: string): CancelablePromise<GetConnectionRequestResponse>;
}
type ConvertTokenRequestInput = {

@@ -1167,2 +1218,3 @@ tokenIn: string;

readonly assets: AssetsService;
readonly connector: ConnectorService;
readonly exchange: ExchangeService;

@@ -1185,2 +1237,2 @@ readonly health: HealthService;

export { AcceptAssetOfferRequestInput, Beam, BuyAssetRequestInput, CancelAssetListingRequestInput, CancelAssetOfferRequestInput, CommonOperationResponse, ConfirmOperationRequest, ConvertTokenRequestInput, CreateAssetOfferRequestInput, CreateOperationRequestInput, CreateTransactionRequestInput, GenerateSessionRequestResponse, type GenerateSessionUrlRequestInput, type GetActiveSessionResponse, type GetActiveSessionsResponse, type GetAllUsersResponse, type GetAssetListingsResponse, GetAssetResponse, GetAssetsForContractBodyInput, type GetAssetsForContractResponse, GetAssetsForUserBodyInput, type GetAssetsForUserResponse, type GetChainCurrenciesResponse, GetListedAssetsBodyInput, type GetQuoteResponse, GetSessionRequestResponse, type GetTransactionResponse, type GetTransactionsResponse, type GetUserCurrenciesResponse, type GetUserNativeCurrencyResponse, type GetUserResponse, RevokeSessionRequestInput, SellAssetRequestInput, TransferAssetRequestInput, TransferNativeTokenRequestInput, TransferTokenRequestInput, Beam as default };
export { AcceptAssetOfferRequestInput, Beam, BuyAssetRequestInput, CancelAssetListingRequestInput, CancelAssetOfferRequestInput, CommonOperationResponse, ConfirmOperationRequest, ConvertTokenRequestInput, CreateAssetOfferRequestInput, type CreateConnectionRequestInput, CreateConnectionRequestResponse, CreateOperationRequestInput, CreateTransactionRequestInput, GenerateSessionRequestResponse, type GenerateSessionUrlRequestInput, type GetActiveSessionResponse, type GetActiveSessionsResponse, type GetAllUsersResponse, type GetAssetListingsResponse, GetAssetResponse, GetAssetsForContractBodyInput, type GetAssetsForContractResponse, GetAssetsForUserBodyInput, type GetAssetsForUserResponse, type GetChainCurrenciesResponse, GetConnectionRequestResponse, GetListedAssetsBodyInput, type GetQuoteResponse, GetSessionRequestResponse, type GetTransactionResponse, type GetTransactionsResponse, type GetUserCurrenciesResponse, type GetUserNativeCurrencyResponse, type GetUserResponse, RevokeSessionRequestInput, SellAssetRequestInput, TransferAssetRequestInput, TransferNativeTokenRequestInput, TransferTokenRequestInput, Beam as default };

@@ -559,2 +559,36 @@ var __accessCheck = (obj, member, msg) => {

// src/generated/services/ConnectorService.ts
var ConnectorService = class {
constructor(httpRequest) {
this.httpRequest = httpRequest;
}
/**
* @param requestBody
* @returns CreateConnectionRequestResponse
* @throws ApiError
*/
createConnectionRequest(requestBody) {
return this.httpRequest.request({
method: "POST",
url: "/v1/connection/request",
body: requestBody,
mediaType: "application/json"
});
}
/**
* @param requestId
* @returns GetConnectionRequestResponse
* @throws ApiError
*/
getConnectionRequest(requestId) {
return this.httpRequest.request({
method: "GET",
url: "/v1/connection/request/{requestId}",
path: {
"requestId": requestId
}
});
}
};
// src/generated/services/ExchangeService.ts

@@ -1202,2 +1236,3 @@ var ExchangeService = class {

this.assets = new AssetsService(this.request);
this.connector = new ConnectorService(this.request);
this.exchange = new ExchangeService(this.request);

@@ -1204,0 +1239,0 @@ this.health = new HealthService(this.request);

2

package.json

@@ -26,3 +26,3 @@ {

},
"version": "1.2.9",
"version": "1.2.10",
"scripts": {

@@ -29,0 +29,0 @@ "generate": "pnpm generate:client && pnpm generate:barrels && pnpm build",

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

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