Socket
Socket
Sign inDemoInstall

@moralisweb3/sol-api

Package Overview
Dependencies
Maintainers
7
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@moralisweb3/sol-api - npm Package Compare versions

Comparing version 2.23.2 to 2.24.0

5

lib/esm/index.js
import { ApiModule, CoreProvider } from '@moralisweb3/common-core';
import { getBalanceOperation, getNFTsOperation, getPortfolioOperation, getSPLOperation, getNFTMetadataOperation, GetTokenPriceOperation } from '@moralisweb3/common-sol-utils';
import { getBalanceOperation, getNFTsOperation, getPortfolioOperation, getSPLOperation, getNFTMetadataOperation, GetTokenPriceOperation, GetTokenMetadataOperation } from '@moralisweb3/common-sol-utils';
import { OperationResolver, OperationV3Resolver } from '@moralisweb3/api-utils';

@@ -63,2 +63,5 @@

},
getTokenMetadata: function (request) {
return new OperationV3Resolver(GetTokenMetadataOperation, _this.baseUrl, _this.core).fetch(request, null);
},
};

@@ -65,0 +68,0 @@ return _this;

3

lib/index.d.ts
import { ApiModule, ResponseAdapter, Core } from '@moralisweb3/common-core';
import { GetBalanceRequest, GetBalanceResponseAdapter, GetNFTsRequest, GetNFTsResponseAdapter, GetPortfolioRequest, GetPortfolioResponseAdapter, GetSPLRequest, GetSPLResponseAdapter, GetNFTMetadataRequest, GetNFTMetadataResponseAdapter, GetTokenPriceOperationRequest, GetTokenPriceOperationResponse, GetTokenPriceOperationResponseJSON } from '@moralisweb3/common-sol-utils';
import { GetBalanceRequest, GetBalanceResponseAdapter, GetNFTsRequest, GetNFTsResponseAdapter, GetPortfolioRequest, GetPortfolioResponseAdapter, GetSPLRequest, GetSPLResponseAdapter, GetNFTMetadataRequest, GetNFTMetadataResponseAdapter, GetTokenPriceOperationRequest, GetTokenPriceOperationResponse, GetTokenPriceOperationResponseJSON, GetTokenMetadataOperationRequest, GetTokenMetadataOperationResponse, GetTokenMetadataOperationResponseJSON } from '@moralisweb3/common-sol-utils';

@@ -16,2 +16,3 @@ declare abstract class ClientSolApi extends ApiModule {

getTokenPrice: (request: GetTokenPriceOperationRequest) => Promise<ResponseAdapter<GetTokenPriceOperationResponse, GetTokenPriceOperationResponseJSON>>;
getTokenMetadata: (request: GetTokenMetadataOperationRequest) => Promise<ResponseAdapter<GetTokenMetadataOperationResponse, GetTokenMetadataOperationResponseJSON>>;
};

@@ -18,0 +19,0 @@ }

{
"name": "@moralisweb3/sol-api",
"author": "Moralis",
"version": "2.23.2",
"version": "2.24.0",
"license": "MIT",

@@ -56,6 +56,6 @@ "type": "module",

"dependencies": {
"@moralisweb3/api-utils": "^2.23.2",
"@moralisweb3/common-core": "^2.23.2",
"@moralisweb3/common-sol-utils": "^2.23.2"
"@moralisweb3/api-utils": "^2.24.0",
"@moralisweb3/common-core": "^2.24.0",
"@moralisweb3/common-sol-utils": "^2.24.0"
}
}

Sorry, the diff of this file is not supported yet

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