oci-common
Advanced tools
Comparing version 1.2.4 to 1.3.0
@@ -20,2 +20,3 @@ /** | ||
import InstancePrincipalsAuthenticationDetailsProviderBuilder from "./lib/auth/instance-principals-authentication-detail-provider"; | ||
import ResourcePrincipalAuthenticationDetailsProvider from "./lib/auth/resource-principal-authentication-details-provider"; | ||
import { paginateRecords, genericPaginateRecords, paginatedRecordsWithLimit, paginateResponses, genericPaginateResponses, paginatedResponsesWithLimit } from "./lib/paginators"; | ||
@@ -41,2 +42,2 @@ import { ConfigFileAuthenticationDetailsProvider } from "./lib/auth/config-file-auth"; | ||
export import Range = range.Range; | ||
export { Region, Realm, EndpointBuilder, DelayStrategy, TerminationStrategy, ExponentialBackoffDelayStrategy, MaxTimeTerminationStrategy, genericWaiter, genericTerminalConditionWaiter, WaiterConfiguration, RequireOnlyOne, AuthParams, paginateRecords, paginatedResponsesWithLimit, paginatedRecordsWithLimit, genericPaginateRecords, paginateResponses, genericPaginateResponses, Method, composeRequest, composeResponse, HttpRequest, ConfigFileAuthenticationDetailsProvider, ConfigFileReader, InstancePrincipalsAuthenticationDetailsProviderBuilder, LOG }; | ||
export { Region, Realm, EndpointBuilder, DelayStrategy, TerminationStrategy, ExponentialBackoffDelayStrategy, MaxTimeTerminationStrategy, genericWaiter, genericTerminalConditionWaiter, WaiterConfiguration, RequireOnlyOne, AuthParams, paginateRecords, paginatedResponsesWithLimit, paginatedRecordsWithLimit, genericPaginateRecords, paginateResponses, genericPaginateResponses, Method, composeRequest, composeResponse, HttpRequest, ConfigFileAuthenticationDetailsProvider, ConfigFileReader, InstancePrincipalsAuthenticationDetailsProviderBuilder, ResourcePrincipalAuthenticationDetailsProvider, LOG }; |
@@ -39,2 +39,4 @@ "use strict"; | ||
exports.InstancePrincipalsAuthenticationDetailsProviderBuilder = instance_principals_authentication_detail_provider_1.default; | ||
const resource_principal_authentication_details_provider_1 = __importDefault(require("./lib/auth/resource-principal-authentication-details-provider")); | ||
exports.ResourcePrincipalAuthenticationDetailsProvider = resource_principal_authentication_details_provider_1.default; | ||
const paginators_1 = require("./lib/paginators"); | ||
@@ -41,0 +43,0 @@ exports.paginateRecords = paginators_1.paginateRecords; |
@@ -8,2 +8,4 @@ /** | ||
* a security token for authentication. | ||
* NOTE: Some class that implements this interface may not be async in nature. But | ||
* since some class's method are async, keep it consistent by making it async. | ||
*/ | ||
@@ -10,0 +12,0 @@ export default interface FederationClient { |
@@ -38,2 +38,3 @@ /** | ||
static ME_JEDDAH_1: Region; | ||
static US_SANJOSE_1: Region; | ||
static US_LANGLEY_1: Region; | ||
@@ -49,3 +50,3 @@ static US_LUKE_1: Region; | ||
* Function to get regionId based regionStr: regionStr can be a short code or regionId | ||
* if it is a regionStr then we want to return the corresponding regionId | ||
* if it is a shortCode then we want to return the corresponding regionId | ||
* @param regionStr | ||
@@ -52,0 +53,0 @@ * @return regionId |
@@ -45,3 +45,3 @@ "use strict"; | ||
* Function to get regionId based regionStr: regionStr can be a short code or regionId | ||
* if it is a regionStr then we want to return the corresponding regionId | ||
* if it is a shortCode then we want to return the corresponding regionId | ||
* @param regionStr | ||
@@ -82,3 +82,4 @@ * @return regionId | ||
"pia": "us-gov-chicago-1", | ||
"tus": "us-gov-phoenix-1" | ||
"tus": "us-gov-phoenix-1", | ||
"sjc": "us-sanjose-1" | ||
}; | ||
@@ -105,2 +106,3 @@ Region.KNOWN_REGIONS = new Map(); | ||
Region.ME_JEDDAH_1 = Region.register("me-jeddah-1", realm_1.Realm.OC1); | ||
Region.US_SANJOSE_1 = Region.register("us-sanjose-1", realm_1.Realm.OC1); | ||
// OC2 | ||
@@ -107,0 +109,0 @@ Region.US_LANGLEY_1 = Region.register("us-langley-1", realm_1.Realm.OC2); |
{ | ||
"name": "oci-common", | ||
"version": "1.2.4", | ||
"version": "1.3.0", | ||
"description": "OCI Common module for NodeJS", | ||
@@ -5,0 +5,0 @@ "repository": { |
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 not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
365080
140
4281
10