Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Core library ruby does the job of congregating common and core functionality from ruby SDKs. This includes functionalities like the ability to create HTTP requests, handle responses, apply authentication schemes, convert API responses back to object instances, and validate user and server data.
You will need 2.6 <= Ruby version <= 3.2
to support this package.
Installation is quite simple, just execute the following command:
gem install apimatic_core
If you'd rather install apimatic_core using bundler, add a line for it in your Gemfile:
gem 'apimatic_core'
Name | Description |
---|---|
RequestBuilder | Builder class used to build an API Request |
APICall | Class used to create an API Call object |
ResponseHandler | Used to handle the response returned by the server |
Name | Description |
---|---|
HeaderAuth | Supports HTTP authentication through HTTP Headers |
QueryAuth | Supports HTTP authentication through query parameters |
AuthGroup | Helper class to support multiple authentication operation |
And | Helper class to support AND operation between multiple authentication types |
Or | Helper class to support OR operation between multiple authentication types |
Single | Helper class to support single authentication |
Name | Description |
---|---|
GlobalConfiguration | Class holding the global configuration properties to make a successful API Call |
Name | Description |
---|---|
OneOfValidationException | An exception class for the failed validation of oneOf (union-type) cases |
AnyOfValidationException | An exception class for the failed validation of anyOf (union-type) cases |
AuthValidationException | An exception class for the failed validation of authentication schemes |
Name | Description |
---|---|
HttpResponseFactory | Factory class to create an HTTP Response |
Name | Description |
---|---|
HttpClientConfiguration | Class used for configuring SDK by a user |
HttpRequest | Class which contains information about the HTTP Request |
ApiResponse | Wrapper class for Api Response |
HttpResponse | Class which contains information about the HTTP Response |
Name | Description |
---|---|
SdkLogger | A class responsible for logging request and response of an api call |
NilSdkLogger | A class responsible for no logging |
ConsoleLogger | Represents default implementation of logger interface |
ApiLoggingConfiguration | Represents logging configuration |
ApiRequestLoggingConfiguration | Represents request logging configuration. |
ApiResponseLoggingConfiguration | Represents response logging configuration. |
Name | Description |
---|---|
ApiException | Basic exception type for the SDK |
AnyOf | Represents the AnyOf union type |
OneOf | Represents the OneOf union type |
LeafType | Represents the LeafOf union type |
UnionTypeContext | Represents the context for a UnionType |
ValidationException | Exception thrown in case of validation error or failure |
ErrorCase | A class to represent Exception types |
FileWrapper | A wrapper to allow passing in content type for file uploads |
Parameter | A class to represent information about a Parameter passed in an endpoint |
XmlAttributes | A class to represent information about an XML Parameter passed in an endpoint |
Name | Description |
---|---|
ApiHelper | A Helper Class with various functions associated with making an API Call |
AuthHelper | A Helper Class with various functions associated with authentication in API Calls |
UnionTypeHelper | A Helper Class with various functions associated with Union type in API Calls |
ComparisonHelper | A Helper Class used for the comparison of expected and actual API response |
FileHelper | A Helper Class for files |
XmlHelper | A Helper class that holds utility methods for xml serialization and deserialization. |
FAQs
Unknown package
We found that apimatic_core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.