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.12 to 1.2.13

29

dist/index.d.ts

@@ -553,5 +553,5 @@ type ApiRequestOptions = {

policyId?: string | null;
chainId?: number;
operationProcessing?: CancelAssetOfferRequestInput.operationProcessing;
operationId?: string | null;
chainId?: number;
};

@@ -662,2 +662,13 @@ declare namespace CancelAssetOfferRequestInput {

type RefreshContractRequestBody = {
assetAddress: string;
chainId?: number;
};
type RefreshTokenRequestBody = {
assetAddress: string;
tokenId: string;
chainId?: number;
};
type SellAssetRequestInput = {

@@ -813,2 +824,16 @@ assetAddress: string;

getChainCurrencies(chainId: number): CancelablePromise<GetChainCurrenciesResponse>;
/**
* Schedule a token refresh in the indexer
* @param requestBody
* @returns any
* @throws ApiError
*/
refreshToken(requestBody: RefreshTokenRequestBody): CancelablePromise<any>;
/**
* Schedule a contract refresh in the indexer
* @param requestBody
* @returns any
* @throws ApiError
*/
refreshContract(requestBody: RefreshContractRequestBody): CancelablePromise<any>;
}

@@ -1238,2 +1263,2 @@

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 };
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, type RefreshContractRequestBody, type RefreshTokenRequestBody, RevokeSessionRequestInput, SellAssetRequestInput, TransferAssetRequestInput, TransferNativeTokenRequestInput, TransferTokenRequestInput, Beam as default };

@@ -939,2 +939,30 @@ var __accessCheck = (obj, member, msg) => {

}
/**
* Schedule a token refresh in the indexer
* @param requestBody
* @returns any
* @throws ApiError
*/
refreshToken(requestBody) {
return this.httpRequest.request({
method: "POST",
url: "/v1/player/marketplace/refresh/token",
body: requestBody,
mediaType: "application/json"
});
}
/**
* Schedule a contract refresh in the indexer
* @param requestBody
* @returns any
* @throws ApiError
*/
refreshContract(requestBody) {
return this.httpRequest.request({
method: "POST",
url: "/v1/player/marketplace/refresh/contract",
body: requestBody,
mediaType: "application/json"
});
}
};

@@ -941,0 +969,0 @@

2

package.json

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

},
"version": "1.2.12",
"version": "1.2.13",
"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