@gomomento/sdk-core
Advanced tools
Comparing version 1.90.1 to 1.91.0
@@ -30,3 +30,3 @@ import { AllEndpoints } from '../internal/utils'; | ||
/** | ||
* @returns {boolean} true if connecting to the control plane endpoint connection without TLS; false if using TLS | ||
* @returns {boolean} true if connecting to the control plane endpoint connection with TLS; false if not using TLS | ||
*/ | ||
@@ -39,6 +39,14 @@ abstract isControlEndpointSecure(): boolean; | ||
/** | ||
* @returns {boolean} true if connecting to the data plane endpoint connection without TLS; false if using TLS | ||
* @returns {boolean} true if connecting to the data plane endpoint connection with TLS; false if not using TLS | ||
*/ | ||
abstract isCacheEndpointSecure(): boolean; | ||
/** | ||
* @returns {string} The host which the Momento client will connect to for Momento storage operations | ||
*/ | ||
abstract getStorageEndpoint(): string; | ||
/** | ||
* @returns {boolean} true if connecting to the storage endpoint connection with TLS; false if not using TLS | ||
*/ | ||
abstract isStorageEndpointSecure(): boolean; | ||
/** | ||
* @returns {string} The host which the Momento client will connect to for Momento token operations | ||
@@ -48,3 +56,3 @@ */ | ||
/** | ||
* @returns {boolean} true if connecting to the token endpoint connection without TLS; false if using TLS | ||
* @returns {boolean} true if connecting to the token endpoint connection with TLS; false if not using TLS | ||
*/ | ||
@@ -71,2 +79,4 @@ abstract isTokenEndpointSecure(): boolean; | ||
abstract isControlEndpointSecure(): boolean; | ||
abstract getStorageEndpoint(): string; | ||
abstract isStorageEndpointSecure(): boolean; | ||
abstract getTokenEndpoint(): string; | ||
@@ -111,2 +121,4 @@ abstract isTokenEndpointSecure(): boolean; | ||
isTokenEndpointSecure(): boolean; | ||
getStorageEndpoint(): string; | ||
isStorageEndpointSecure(): boolean; | ||
areEndpointsOverridden(): boolean; | ||
@@ -113,0 +125,0 @@ withMomentoLocal(): CredentialProvider; |
@@ -77,2 +77,5 @@ "use strict"; | ||
} | ||
if (decodedToken.storageEndpoint === undefined) { | ||
throw new Error('Malformed token; unable to determine storage endpoint. Depending on the type of token you are using, you may need to specify the storageEndpoint explicitly.'); | ||
} | ||
this.allEndpoints = { | ||
@@ -88,2 +91,5 @@ controlEndpoint: { | ||
}, | ||
storageEndpoint: { | ||
endpoint: decodedToken.storageEndpoint, | ||
}, | ||
}; | ||
@@ -135,2 +141,11 @@ } | ||
} | ||
getStorageEndpoint() { | ||
return this.allEndpoints.storageEndpoint.endpoint; | ||
} | ||
isStorageEndpointSecure() { | ||
if (this.allEndpoints.storageEndpoint.secureConnection === undefined) { | ||
return true; | ||
} | ||
return this.allEndpoints.storageEndpoint.secureConnection; | ||
} | ||
areEndpointsOverridden() { | ||
@@ -150,2 +165,3 @@ return this.endpointsOverridden; | ||
tokenEndpoint: momentoLocalOverride, | ||
storageEndpoint: momentoLocalOverride, | ||
}, | ||
@@ -181,2 +197,2 @@ }); | ||
exports.EnvMomentoTokenProvider = EnvMomentoTokenProvider; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3JlZGVudGlhbC1wcm92aWRlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9hdXRoL2NyZWRlbnRpYWwtcHJvdmlkZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsNkNBSzJCO0FBVTNCLFNBQVMsc0JBQXNCLENBQzdCLGlCQUFvQztJQUVwQyxPQUFRLGlCQUEwQyxDQUFDLFlBQVksS0FBSyxTQUFTLENBQUM7QUFDaEYsQ0FBQztBQUVELFNBQVMsY0FBYyxDQUNyQixpQkFBb0M7SUFFcEMsTUFBTSxZQUFZLEdBQUcsaUJBQWlDLENBQUM7SUFDdkQsT0FBTyxDQUNMLFlBQVksQ0FBQyxhQUFhLEtBQUssU0FBUztRQUN4QyxZQUFZLENBQUMsZUFBZSxLQUFLLFNBQVM7UUFDMUMsWUFBWSxDQUFDLGFBQWEsS0FBSyxTQUFTLENBQ3pDLENBQUM7QUFDSixDQUFDO0FBU0Q7Ozs7O0dBS0c7QUFDSCxNQUFzQix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mRzIFN0cmluZ01vbWVudG9Ub2tlblByb3ZpZGVyIHtcbiAgZW52aXJvbm1lbnRWYXJpYWJsZU5hbWU6IHN0cmluZztcbiAgLyoqXG4gICAqIEBwYXJhbSB7RW52TW9tZW50b1Rva2VuUHJvdmlkZXJQcm9wc30gcHJvcHMgY29uZmlndXJhdGlvbiBvcHRpb25zIGZvciB0aGUgdG9rZW4gcHJvdmlkZXJcbiAgICovXG4gIGNvbnN0cnVjdG9yKHByb3BzOiBFbnZNb21lbnRvVG9rZW5Qcm92aWRlclByb3BzIHwgc3RyaW5nKSB7XG4gICAgaWYgKHR5cGVvZiBwcm9wcyA9PT0gJ3N0cmluZycpIHtcbiAgICAgIHByb3BzID0ge2Vudmlyb25tZW50VmFyaWFibGVOYW1lOiBwcm9wc307XG4gICAgfVxuICAgIGNvbnN0IGF1dGhUb2tlbiA9IHByb2Nlc3MuZW52W3Byb3BzLmVudmlyb25tZW50VmFyaWFibGVOYW1lXTtcbiAgICBpZiAoIWF1dGhUb2tlbikge1xuICAgICAgdGhyb3cgbmV3IEVycm9yKFxuICAgICAgICBgTWlzc2luZyByZXF1aXJlZCBlbnZpcm9ubWVudCB2YXJpYWJsZSAke3Byb3BzLmVudmlyb25tZW50VmFyaWFibGVOYW1lfWBcbiAgICAgICk7XG4gICAgfVxuICAgIHN1cGVyKHtcbiAgICAgIGF1dGhUb2tlbjogYXV0aFRva2VuLFxuICAgICAgZW5kcG9pbnRPdmVycmlkZXM6IHByb3BzLmVuZHBvaW50T3ZlcnJpZGVzLFxuICAgIH0pO1xuICAgIHRoaXMuZW52aXJvbm1lbnRWYXJpYWJsZU5hbWUgPSBwcm9wcy5lbnZpcm9ubWVudFZhcmlhYmxlTmFtZTtcbiAgfVxufVxuIl19 |
export declare enum MomentoErrorCode { | ||
INVALID_ARGUMENT_ERROR = "INVALID_ARGUMENT_ERROR", | ||
UNKNOWN_SERVICE_ERROR = "UNKNOWN_SERVICE_ERROR", | ||
CACHE_ALREADY_EXISTS_ERROR = "ALREADY_EXISTS_ERROR", | ||
/** @deprecated use CACHE_ALREADY_EXISTS_ERROR instead */ | ||
ALREADY_EXISTS_ERROR = "ALREADY_EXISTS_ERROR", | ||
STORE_ALREADY_EXISTS_ERROR = "ALREADY_EXISTS_ERROR", | ||
CACHE_NOT_FOUND_ERROR = "NOT_FOUND_ERROR", | ||
/** @deprecated use CACHE_NOT_FOUND_ERROR instead */ | ||
NOT_FOUND_ERROR = "NOT_FOUND_ERROR", | ||
STORE_NOT_FOUND_ERROR = "STORE_NOT_FOUND_ERROR", | ||
STORE_ITEM_NOT_FOUND_ERROR = "STORE_ITEM_NOT_FOUND_ERROR", | ||
INTERNAL_SERVER_ERROR = "INTERNAL_SERVER_ERROR", | ||
@@ -46,3 +53,3 @@ PERMISSION_ERROR = "PERMISSION_ERROR", | ||
*/ | ||
export declare class AlreadyExistsError extends SdkError { | ||
export declare class CacheAlreadyExistsError extends SdkError { | ||
_errorCode: MomentoErrorCode; | ||
@@ -52,2 +59,11 @@ _messageWrapper: string; | ||
/** | ||
* Error that occurs when trying to create a store with the same name as an existing cache. To resolve this error, | ||
* either delete the existing store and make a new one, or change the name of the store you are trying to create to | ||
* one that doesn't already exist | ||
*/ | ||
export declare class StoreAlreadyExistsError extends SdkError { | ||
_errorCode: MomentoErrorCode; | ||
_messageWrapper: string; | ||
} | ||
/** | ||
* Error when authentication with Cache Service fails | ||
@@ -111,3 +127,3 @@ */ | ||
*/ | ||
export declare class NotFoundError extends SdkError { | ||
export declare class CacheNotFoundError extends SdkError { | ||
_errorCode: MomentoErrorCode; | ||
@@ -117,2 +133,18 @@ _messageWrapper: string; | ||
/** | ||
* Error that occurs when trying to get a store that doesn't exist. To resolve, make sure that the store you are trying | ||
* to get exists. If it doesn't create it first and then try again. | ||
*/ | ||
export declare class StoreNotFoundError extends SdkError { | ||
_errorCode: MomentoErrorCode; | ||
_messageWrapper: string; | ||
} | ||
/** | ||
* Error that occurs when trying to get an item from store that doesn't exist. To resolve, make sure that the item you are trying | ||
* to get exists. If it doesn't create it first and then try again. | ||
*/ | ||
export declare class StoreItemNotFoundError extends SdkError { | ||
_errorCode: MomentoErrorCode; | ||
_messageWrapper: string; | ||
} | ||
/** | ||
* Insufficient permissions to perform an operation on Cache Service | ||
@@ -119,0 +151,0 @@ */ |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.UnknownServiceError = exports.UnknownError = exports.TimeoutError = exports.ServerUnavailableError = exports.PermissionError = exports.NotFoundError = exports.LimitExceededError = exports.InvalidArgumentError = exports.InternalServerError = exports.FailedPreconditionError = exports.ConnectionError = exports.CancelledError = exports.BadRequestError = exports.AuthenticationError = exports.AlreadyExistsError = exports.SdkError = exports.MomentoErrorTransportDetails = exports.MomentoGrpcErrorDetails = exports.MomentoErrorCode = void 0; | ||
exports.UnknownServiceError = exports.UnknownError = exports.TimeoutError = exports.ServerUnavailableError = exports.PermissionError = exports.StoreItemNotFoundError = exports.StoreNotFoundError = exports.CacheNotFoundError = exports.LimitExceededError = exports.InvalidArgumentError = exports.InternalServerError = exports.FailedPreconditionError = exports.ConnectionError = exports.CancelledError = exports.BadRequestError = exports.AuthenticationError = exports.StoreAlreadyExistsError = exports.CacheAlreadyExistsError = exports.SdkError = exports.MomentoErrorTransportDetails = exports.MomentoGrpcErrorDetails = exports.MomentoErrorCode = void 0; | ||
var MomentoErrorCode; | ||
@@ -11,5 +11,15 @@ (function (MomentoErrorCode) { | ||
// Cache with specified name already exists | ||
MomentoErrorCode["CACHE_ALREADY_EXISTS_ERROR"] = "ALREADY_EXISTS_ERROR"; | ||
/** @deprecated use CACHE_ALREADY_EXISTS_ERROR instead */ | ||
MomentoErrorCode["ALREADY_EXISTS_ERROR"] = "ALREADY_EXISTS_ERROR"; | ||
// Store with specified name already exists | ||
MomentoErrorCode["STORE_ALREADY_EXISTS_ERROR"] = "ALREADY_EXISTS_ERROR"; | ||
// Cache with specified name doesn't exist | ||
MomentoErrorCode["CACHE_NOT_FOUND_ERROR"] = "NOT_FOUND_ERROR"; | ||
/** @deprecated use CACHE_NOT_FOUND_ERROR instead */ | ||
MomentoErrorCode["NOT_FOUND_ERROR"] = "NOT_FOUND_ERROR"; | ||
// Store with specified name doesn't exist | ||
MomentoErrorCode["STORE_NOT_FOUND_ERROR"] = "STORE_NOT_FOUND_ERROR"; | ||
// Item with specified key doesn't exist | ||
MomentoErrorCode["STORE_ITEM_NOT_FOUND_ERROR"] = "STORE_ITEM_NOT_FOUND_ERROR"; | ||
// An unexpected error occurred while trying to fulfill the request | ||
@@ -80,11 +90,24 @@ MomentoErrorCode["INTERNAL_SERVER_ERROR"] = "INTERNAL_SERVER_ERROR"; | ||
*/ | ||
class AlreadyExistsError extends SdkError { | ||
class CacheAlreadyExistsError extends SdkError { | ||
constructor() { | ||
super(...arguments); | ||
this._errorCode = MomentoErrorCode.ALREADY_EXISTS_ERROR; | ||
this._errorCode = MomentoErrorCode.CACHE_ALREADY_EXISTS_ERROR; | ||
this._messageWrapper = 'A cache with the specified name already exists. To resolve this error, either delete the existing cache and make a new one, or use a different name'; | ||
} | ||
} | ||
exports.AlreadyExistsError = AlreadyExistsError; | ||
exports.CacheAlreadyExistsError = CacheAlreadyExistsError; | ||
/** | ||
* Error that occurs when trying to create a store with the same name as an existing cache. To resolve this error, | ||
* either delete the existing store and make a new one, or change the name of the store you are trying to create to | ||
* one that doesn't already exist | ||
*/ | ||
class StoreAlreadyExistsError extends SdkError { | ||
constructor() { | ||
super(...arguments); | ||
this._errorCode = MomentoErrorCode.STORE_ALREADY_EXISTS_ERROR; | ||
this._messageWrapper = 'A store with the specified name already exists. To resolve this error, either delete the existing store and make a new one, or use a different name'; | ||
} | ||
} | ||
exports.StoreAlreadyExistsError = StoreAlreadyExistsError; | ||
/** | ||
* Error when authentication with Cache Service fails | ||
@@ -180,11 +203,35 @@ */ | ||
*/ | ||
class NotFoundError extends SdkError { | ||
class CacheNotFoundError extends SdkError { | ||
constructor() { | ||
super(...arguments); | ||
this._errorCode = MomentoErrorCode.NOT_FOUND_ERROR; | ||
this._errorCode = MomentoErrorCode.CACHE_NOT_FOUND_ERROR; | ||
this._messageWrapper = 'A cache with the specified name does not exist. To resolve this error, make sure you have created the cache before attempting to use it'; | ||
} | ||
} | ||
exports.NotFoundError = NotFoundError; | ||
exports.CacheNotFoundError = CacheNotFoundError; | ||
/** | ||
* Error that occurs when trying to get a store that doesn't exist. To resolve, make sure that the store you are trying | ||
* to get exists. If it doesn't create it first and then try again. | ||
*/ | ||
class StoreNotFoundError extends SdkError { | ||
constructor() { | ||
super(...arguments); | ||
this._errorCode = MomentoErrorCode.STORE_NOT_FOUND_ERROR; | ||
this._messageWrapper = 'A store with the specified name does not exist. To resolve this error, make sure you have created the store before attempting to use it'; | ||
} | ||
} | ||
exports.StoreNotFoundError = StoreNotFoundError; | ||
/** | ||
* Error that occurs when trying to get an item from store that doesn't exist. To resolve, make sure that the item you are trying | ||
* to get exists. If it doesn't create it first and then try again. | ||
*/ | ||
class StoreItemNotFoundError extends SdkError { | ||
constructor() { | ||
super(...arguments); | ||
this._errorCode = MomentoErrorCode.STORE_ITEM_NOT_FOUND_ERROR; | ||
this._messageWrapper = 'An item with the specified key does not exist'; | ||
} | ||
} | ||
exports.StoreItemNotFoundError = StoreItemNotFoundError; | ||
/** | ||
* Insufficient permissions to perform an operation on Cache Service | ||
@@ -244,2 +291,2 @@ */ | ||
exports.UnknownServiceError = UnknownServiceError; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXJyb3JzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2Vycm9ycy9lcnJvcnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsSUFBWSxnQkFpQ1g7QUFqQ0QsV0FBWSxnQkFBZ0I7SUFDMUIsNENBQTRDO0lBQzVDLHFFQUFpRCxDQUFBO0lBQ2pELHVDQUF1QztJQUN2Q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Vycm9yQ29kZS5VTktOT1dOX0VSUk9SO1xuICBvdmVycmlkZSBfbWVzc2FnZVdyYXBwZXIgPSAnVW5rbm93biBlcnJvciBoYXMgb2NjdXJyZWQnO1xufVxuXG4vKipcbiAqIEVycm9yIHJhaXNlZCB3aGVuIHRoZSBzZXJ2aWNlIHJldHVybnMgYW4gdW5rbm93biByZXNwb25zZVxuICovXG5leHBvcnQgY2xhc3MgVW5rbm93blNlcnZpY2VFcnJvciBleHRlbmRzIFNka0Vycm9yIHtcbiAgb3ZlcnJpZGUgX2Vycm9yQ29kZSA9IE1vbWVudG9FcnJvckNvZGUuVU5LTk9XTl9TRVJWSUNFX0VSUk9SO1xuICBvdmVycmlkZSBfbWVzc2FnZVdyYXBwZXIgPVxuICAgICdTZXJ2aWNlIHJldHVybmVkIGFuIHVua25vd24gcmVzcG9uc2U7IHBsZWFzZSBjb250YWN0IHVzIGF0IHN1cHBvcnRAbW9tZW50b2hxLmNvbSc7XG59XG4iXX0= |
@@ -72,6 +72,8 @@ import * as CacheGet from './messages/responses/cache-get'; | ||
export { Webhook, WebhookId } from './messages/webhook'; | ||
export * from './messages/responses/storage'; | ||
export { StoreInfo } from './messages/store-info'; | ||
import { CacheInfo } from './messages/cache-info'; | ||
import { SubscribeCallOptions, CollectionTtl, SortedSetOrder, LeaderboardOrder, ExpiresIn, ExpiresAt, ItemType, WebhookDestination, PostUrlWebhookDestination, WebhookDestinationType, SetBatchItem } from './utils'; | ||
import { CredentialProvider, StringMomentoTokenProvider, EnvMomentoTokenProvider } from './auth'; | ||
import { MomentoErrorCode, SdkError, AlreadyExistsError, AuthenticationError, CancelledError, ConnectionError, FailedPreconditionError, LimitExceededError, InternalServerError, InvalidArgumentError, UnknownServiceError, ServerUnavailableError, TimeoutError, BadRequestError, PermissionError, NotFoundError, UnknownError } from './errors'; | ||
import { MomentoErrorCode, SdkError, CacheAlreadyExistsError, StoreAlreadyExistsError, AuthenticationError, CancelledError, ConnectionError, FailedPreconditionError, LimitExceededError, InternalServerError, InvalidArgumentError, UnknownServiceError, ServerUnavailableError, TimeoutError, BadRequestError, PermissionError, CacheNotFoundError, StoreItemNotFoundError, StoreNotFoundError, UnknownError } from './errors'; | ||
export { MomentoLogger, MomentoLoggerFactory, } from './config/logging/momento-logger'; | ||
@@ -81,2 +83,3 @@ export * from './messages/responses/enums'; | ||
export { ICacheClient, SetOptions, SetIfNotExistsOptions, SetIfAbsentOptions, SetIfPresentOptions, SetIfEqualOptions, SetIfNotEqualOptions, SetIfPresentAndNotEqualOptions, SetIfAbsentOrEqualOptions, IncrementOptions, } from './clients/ICacheClient'; | ||
export { IStorageClient } from './clients/IStorageClient'; | ||
export { IMomentoCache } from './clients/IMomentoCache'; | ||
@@ -107,2 +110,2 @@ export { ILeaderboardClient } from './clients/ILeaderboardClient'; | ||
*/ | ||
RefreshApiKey as RefreshAuthToken, GenerateDisposableToken, MomentoErrorCode, SdkError, AlreadyExistsError, AuthenticationError, CancelledError, ConnectionError, FailedPreconditionError, LimitExceededError, InternalServerError, InvalidArgumentError, UnknownServiceError, ServerUnavailableError, TimeoutError, BadRequestError, PermissionError, NotFoundError, UnknownError, }; | ||
RefreshApiKey as RefreshAuthToken, GenerateDisposableToken, MomentoErrorCode, SdkError, CacheAlreadyExistsError, StoreAlreadyExistsError, AuthenticationError, CancelledError, ConnectionError, FailedPreconditionError, LimitExceededError, InternalServerError, InvalidArgumentError, UnknownServiceError, ServerUnavailableError, TimeoutError, BadRequestError, PermissionError, CacheNotFoundError, StoreItemNotFoundError, StoreNotFoundError, UnknownError, }; |
@@ -17,5 +17,5 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.CacheDelete = exports.CacheSetIfAbsentOrEqual = exports.CacheSetIfPresentAndNotEqual = exports.CacheSetIfNotEqual = exports.CacheSetIfEqual = exports.CacheSetIfAbsent = exports.CacheSetIfPresent = exports.CacheSetIfNotExists = exports.CacheSet = exports.CacheListRetain = exports.CacheListRemoveValue = exports.CacheListPushFront = exports.CacheListPushBack = exports.CacheListPopFront = exports.CacheListPopBack = exports.CacheListLength = exports.CacheListFetch = exports.CacheListConcatenateFront = exports.CacheListConcatenateBack = exports.CacheGet = exports.EnvMomentoTokenProvider = exports.StringMomentoTokenProvider = exports.CredentialProvider = exports.LeaderboardOrder = exports.SortedSetOrder = exports.WebhookDestinationType = exports.PostUrlWebhookDestination = exports.ItemType = exports.CollectionTtl = exports.ExpiresAt = exports.ExpiresIn = exports.CompressionLevel = exports.ReadConcern = exports.DisposableTokenScopes = exports.TokenScopes = exports.PermissionScopes = exports.isCacheItemKeyPrefix = exports.isCacheItemKey = exports.AllCacheItems = exports.AllTopics = exports.AllCaches = exports.isTopicName = exports.isCacheName = exports.AllDataReadWrite = exports.TopicRole = exports.CacheRole = exports.NoopMomentoLoggerFactory = exports.NoopMomentoLogger = exports.webhook = exports.leaderboard = void 0; | ||
exports.MomentoErrorCode = exports.GenerateDisposableToken = exports.RefreshAuthToken = exports.RefreshApiKey = exports.GenerateAuthToken = exports.GenerateApiKey = exports.TopicItem = exports.TopicSubscribe = exports.TopicPublish = exports.CacheGetBatch = exports.CacheSetBatch = exports.CacheInfo = exports.CacheDecreaseTtl = exports.CacheIncreaseTtl = exports.CacheUpdateTtl = exports.CacheKeysExist = exports.CacheKeyExists = exports.CacheItemGetTtl = exports.CacheItemGetType = exports.CacheSortedSetLengthByScore = exports.CacheSortedSetLength = exports.CacheSortedSetRemoveElements = exports.CacheSortedSetRemoveElement = exports.CacheSortedSetIncrementScore = exports.CacheSortedSetGetScores = exports.CacheSortedSetGetScore = exports.CacheSortedSetGetRank = exports.CacheSortedSetFetch = exports.CacheSortedSetPutElements = exports.CacheSortedSetPutElement = exports.CacheSetSample = exports.CacheSetRemoveElement = exports.CacheSetRemoveElements = exports.CacheSetAddElement = exports.CacheSetAddElements = exports.CacheDictionaryLength = exports.CacheDictionaryIncrement = exports.CacheDictionaryRemoveFields = exports.CacheDictionaryRemoveField = exports.CacheDictionaryGetFields = exports.CacheDictionaryGetField = exports.CacheDictionarySetFields = exports.CacheDictionarySetField = exports.CacheDictionaryFetch = exports.CacheSetFetch = exports.CacheIncrement = exports.ListCaches = exports.DeleteCache = exports.CreateCache = exports.CacheFlush = void 0; | ||
exports.UnknownError = exports.NotFoundError = exports.PermissionError = exports.BadRequestError = exports.TimeoutError = exports.ServerUnavailableError = exports.UnknownServiceError = exports.InvalidArgumentError = exports.InternalServerError = exports.LimitExceededError = exports.FailedPreconditionError = exports.ConnectionError = exports.CancelledError = exports.AuthenticationError = exports.AlreadyExistsError = exports.SdkError = void 0; | ||
exports.CacheSetIfAbsentOrEqual = exports.CacheSetIfPresentAndNotEqual = exports.CacheSetIfNotEqual = exports.CacheSetIfEqual = exports.CacheSetIfAbsent = exports.CacheSetIfPresent = exports.CacheSetIfNotExists = exports.CacheSet = exports.CacheListRetain = exports.CacheListRemoveValue = exports.CacheListPushFront = exports.CacheListPushBack = exports.CacheListPopFront = exports.CacheListPopBack = exports.CacheListLength = exports.CacheListFetch = exports.CacheListConcatenateFront = exports.CacheListConcatenateBack = exports.CacheGet = exports.EnvMomentoTokenProvider = exports.StringMomentoTokenProvider = exports.CredentialProvider = exports.LeaderboardOrder = exports.SortedSetOrder = exports.WebhookDestinationType = exports.PostUrlWebhookDestination = exports.ItemType = exports.CollectionTtl = exports.ExpiresAt = exports.ExpiresIn = exports.CompressionLevel = exports.ReadConcern = exports.DisposableTokenScopes = exports.TokenScopes = exports.PermissionScopes = exports.isCacheItemKeyPrefix = exports.isCacheItemKey = exports.AllCacheItems = exports.AllTopics = exports.AllCaches = exports.isTopicName = exports.isCacheName = exports.AllDataReadWrite = exports.TopicRole = exports.CacheRole = exports.NoopMomentoLoggerFactory = exports.NoopMomentoLogger = exports.StoreInfo = exports.webhook = exports.leaderboard = void 0; | ||
exports.GenerateDisposableToken = exports.RefreshAuthToken = exports.RefreshApiKey = exports.GenerateAuthToken = exports.GenerateApiKey = exports.TopicItem = exports.TopicSubscribe = exports.TopicPublish = exports.CacheGetBatch = exports.CacheSetBatch = exports.CacheInfo = exports.CacheDecreaseTtl = exports.CacheIncreaseTtl = exports.CacheUpdateTtl = exports.CacheKeysExist = exports.CacheKeyExists = exports.CacheItemGetTtl = exports.CacheItemGetType = exports.CacheSortedSetLengthByScore = exports.CacheSortedSetLength = exports.CacheSortedSetRemoveElements = exports.CacheSortedSetRemoveElement = exports.CacheSortedSetIncrementScore = exports.CacheSortedSetGetScores = exports.CacheSortedSetGetScore = exports.CacheSortedSetGetRank = exports.CacheSortedSetFetch = exports.CacheSortedSetPutElements = exports.CacheSortedSetPutElement = exports.CacheSetSample = exports.CacheSetRemoveElement = exports.CacheSetRemoveElements = exports.CacheSetAddElement = exports.CacheSetAddElements = exports.CacheDictionaryLength = exports.CacheDictionaryIncrement = exports.CacheDictionaryRemoveFields = exports.CacheDictionaryRemoveField = exports.CacheDictionaryGetFields = exports.CacheDictionaryGetField = exports.CacheDictionarySetFields = exports.CacheDictionarySetField = exports.CacheDictionaryFetch = exports.CacheSetFetch = exports.CacheIncrement = exports.ListCaches = exports.DeleteCache = exports.CreateCache = exports.CacheFlush = exports.CacheDelete = void 0; | ||
exports.UnknownError = exports.StoreNotFoundError = exports.StoreItemNotFoundError = exports.CacheNotFoundError = exports.PermissionError = exports.BadRequestError = exports.TimeoutError = exports.ServerUnavailableError = exports.UnknownServiceError = exports.InvalidArgumentError = exports.InternalServerError = exports.LimitExceededError = exports.FailedPreconditionError = exports.ConnectionError = exports.CancelledError = exports.AuthenticationError = exports.StoreAlreadyExistsError = exports.CacheAlreadyExistsError = exports.SdkError = exports.MomentoErrorCode = void 0; | ||
// Cache Client Response Types | ||
@@ -163,2 +163,6 @@ const CacheGet = require("./messages/responses/cache-get"); | ||
__exportStar(require("./messages/responses/webhook"), exports); | ||
// StoreClient Response Types | ||
__exportStar(require("./messages/responses/storage"), exports); | ||
var store_info_1 = require("./messages/store-info"); | ||
Object.defineProperty(exports, "StoreInfo", { enumerable: true, get: function () { return store_info_1.StoreInfo; } }); | ||
const cache_info_1 = require("./messages/cache-info"); | ||
@@ -182,3 +186,4 @@ Object.defineProperty(exports, "CacheInfo", { enumerable: true, get: function () { return cache_info_1.CacheInfo; } }); | ||
Object.defineProperty(exports, "SdkError", { enumerable: true, get: function () { return errors_1.SdkError; } }); | ||
Object.defineProperty(exports, "AlreadyExistsError", { enumerable: true, get: function () { return errors_1.AlreadyExistsError; } }); | ||
Object.defineProperty(exports, "CacheAlreadyExistsError", { enumerable: true, get: function () { return errors_1.CacheAlreadyExistsError; } }); | ||
Object.defineProperty(exports, "StoreAlreadyExistsError", { enumerable: true, get: function () { return errors_1.StoreAlreadyExistsError; } }); | ||
Object.defineProperty(exports, "AuthenticationError", { enumerable: true, get: function () { return errors_1.AuthenticationError; } }); | ||
@@ -196,3 +201,5 @@ Object.defineProperty(exports, "CancelledError", { enumerable: true, get: function () { return errors_1.CancelledError; } }); | ||
Object.defineProperty(exports, "PermissionError", { enumerable: true, get: function () { return errors_1.PermissionError; } }); | ||
Object.defineProperty(exports, "NotFoundError", { enumerable: true, get: function () { return errors_1.NotFoundError; } }); | ||
Object.defineProperty(exports, "CacheNotFoundError", { enumerable: true, get: function () { return errors_1.CacheNotFoundError; } }); | ||
Object.defineProperty(exports, "StoreItemNotFoundError", { enumerable: true, get: function () { return errors_1.StoreItemNotFoundError; } }); | ||
Object.defineProperty(exports, "StoreNotFoundError", { enumerable: true, get: function () { return errors_1.StoreNotFoundError; } }); | ||
Object.defineProperty(exports, "UnknownError", { enumerable: true, get: function () { return errors_1.UnknownError; } }); | ||
@@ -225,2 +232,2 @@ __exportStar(require("./messages/responses/enums"), exports); | ||
Object.defineProperty(exports, "CompressionLevel", { enumerable: true, get: function () { return compression_level_1.CompressionLevel; } }); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMi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R5RXhpc3RzRXJyb3IsXG4gIFN0b3JlQWxyZWFkeUV4aXN0c0Vycm9yLFxuICBBdXRoZW50aWNhdGlvbkVycm9yLFxuICBDYW5jZWxsZWRFcnJvcixcbiAgQ29ubmVjdGlvbkVycm9yLFxuICBGYWlsZWRQcmVjb25kaXRpb25FcnJvcixcbiAgTGltaXRFeGNlZWRlZEVycm9yLFxuICBJbnRlcm5hbFNlcnZlckVycm9yLFxuICBJbnZhbGlkQXJndW1lbnRFcnJvcixcbiAgVW5rbm93blNlcnZpY2VFcnJvcixcbiAgU2VydmVyVW5hdmFpbGFibGVFcnJvcixcbiAgVGltZW91dEVycm9yLFxuICBCYWRSZXF1ZXN0RXJyb3IsXG4gIFBlcm1pc3Npb25FcnJvcixcbiAgQ2FjaGVOb3RGb3VuZEVycm9yLFxuICBTdG9yZUl0ZW1Ob3RGb3VuZEVycm9yLFxuICBTdG9yZU5vdEZvdW5kRXJyb3IsXG4gIFVua25vd25FcnJvcixcbn07XG4iXX0= |
@@ -5,1 +5,2 @@ export * from './cache'; | ||
export * from './leaderboard'; | ||
export * from './storage'; |
@@ -21,2 +21,3 @@ "use strict"; | ||
__exportStar(require("./leaderboard"), exports); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvaW50ZXJuYWwvY2xpZW50cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7O0FBQUEsMENBQXdCO0FBQ3hCLHlDQUF1QjtBQUN2QiwyQ0FBeUI7QUFDekIsZ0RBQThCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9jYWNoZSc7XG5leHBvcnQgKiBmcm9tICcuL2F1dGgnO1xuZXhwb3J0ICogZnJvbSAnLi9wdWJzdWInO1xuZXhwb3J0ICogZnJvbSAnLi9sZWFkZXJib2FyZCc7XG4iXX0= | ||
__exportStar(require("./storage"), exports); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvaW50ZXJuYWwvY2xpZW50cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7O0FBQUEsMENBQXdCO0FBQ3hCLHlDQUF1QjtBQUN2QiwyQ0FBeUI7QUFDekIsZ0RBQThCO0FBQzlCLDRDQUEwQiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vY2FjaGUnO1xuZXhwb3J0ICogZnJvbSAnLi9hdXRoJztcbmV4cG9ydCAqIGZyb20gJy4vcHVic3ViJztcbmV4cG9ydCAqIGZyb20gJy4vbGVhZGVyYm9hcmQnO1xuZXhwb3J0ICogZnJvbSAnLi9zdG9yYWdlJztcbiJdfQ== |
@@ -107,3 +107,3 @@ "use strict"; | ||
// a subscription. | ||
if (momentoError.errorCode() === errors_1.MomentoErrorCode.NOT_FOUND_ERROR) { | ||
if (momentoError.errorCode() === errors_1.MomentoErrorCode.CACHE_NOT_FOUND_ERROR) { | ||
this.logger.trace('Stream ended due to cache not found error on topic: %s', options.topicName); | ||
@@ -120,2 +120,2 @@ options.subscription.unsubscribe(); | ||
exports.AbstractPubsubClient = AbstractPubsubClient; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQWJzdHJhY3RQdWJzdWJDbGllbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvaW50ZXJuYWwvY2xpZW50cy9wdWJzdWIvQWJzdHJhY3RQdWJzdWJDbGllbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O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VUb0Vycm9yID0gdHJ1ZTtcbiAgICAgIHJldHVybjtcbiAgICB9XG5cbiAgICAvLyBBbm90aGVyIHNwZWNpYWwgY2FzZSBpcyB3aGVuIHRoZSBjYWNoZSBpcyBub3QgZm91bmQuXG4gICAgLy8gVGhpcyBoYXBwZW5zIGhlcmUgaWYgdGhlIHVzZXIgZGVsZXRlcyB0aGUgY2FjaGUgaW4gdGhlIG1pZGRsZSBvZlxuICAgIC8vIGEgc3Vic2NyaXB0aW9uLlxuICAgIGlmIChtb21lbnRvRXJyb3IuZXJyb3JDb2RlKCkgPT09IE1vbWVudG9FcnJvckNvZGUuQ0FDSEVfTk9UX0ZPVU5EX0VSUk9SKSB7XG4gICAgICB0aGlzLmxvZ2dlci50cmFjZShcbiAgICAgICAgJ1N0cmVhbSBlbmRlZCBkdWUgdG8gY2FjaGUgbm90IGZvdW5kIGVycm9yIG9uIHRvcGljOiAlcycsXG4gICAgICAgIG9wdGlvbnMudG9waWNOYW1lXG4gICAgICApO1xuICAgICAgb3B0aW9ucy5zdWJzY3JpcHRpb24udW5zdWJzY3JpYmUoKTtcbiAgICAgIG9wdGlvbnMub25FcnJvcihtb21lbnRvRXJyb3IsIG9wdGlvbnMuc3Vic2NyaXB0aW9uKTtcbiAgICAgIHJldHVybjtcbiAgICB9IGVsc2Uge1xuICAgICAgb3B0aW9ucy5vbkVycm9yKG1vbWVudG9FcnJvciwgb3B0aW9ucy5zdWJzY3JpcHRpb24pO1xuICAgIH1cbiAgfVxufVxuIl19 |
@@ -21,2 +21,3 @@ import { PredefinedScope } from '../../auth/tokens/permission-scope'; | ||
tokenEndpoint: string | undefined; | ||
storageEndpoint: string | undefined; | ||
authToken: string; | ||
@@ -32,2 +33,3 @@ } | ||
tokenEndpoint: Endpoint; | ||
storageEndpoint: Endpoint; | ||
} | ||
@@ -34,0 +36,0 @@ export declare function populateAllEndpointsFromBaseEndpoint(endpointOverride: BaseEndpointOverride): AllEndpoints; |
@@ -30,2 +30,6 @@ "use strict"; | ||
}, | ||
storageEndpoint: { | ||
endpoint: `${prefix}storage.${endpointOverride.baseEndpoint}`, | ||
secureConnection: endpointOverride.secureConnection, | ||
}, | ||
}; | ||
@@ -60,2 +64,3 @@ } | ||
tokenEndpoint: endpoints.tokenEndpoint.endpoint, | ||
storageEndpoint: endpoints.storageEndpoint.endpoint, | ||
authToken: base64DecodedToken.api_key, | ||
@@ -73,2 +78,3 @@ }; | ||
tokenEndpoint: decodedLegacyToken.c, | ||
storageEndpoint: decodedLegacyToken.c, | ||
authToken: token, | ||
@@ -87,2 +93,2 @@ }; | ||
exports.InternalSuperUserPermissions = InternalSuperUserPermissions; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9pbnRlcm5hbC91dGlscy9hdXRoLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLHlDQUFrRDtBQUNsRCwyQ0FBbUM7QUFDbkMsNkNBQXNDO0FBQ3RDLHFDQUEwQztBQUMxQyx5RUFBbUU7QUFtQm5FLFNBQVMscUJBQXFCLENBQUksU0FBaUI7SUFDakQsT0FBTyxJQUFBLG9CQUFTLEVBQUksU0FBUyxDQUFDLENBQUM7QUFDakMsQ0FBQztBQXNCRCxTQUFnQixvQ0FBb0MsQ0FDbEQsZ0JBQXNDO0lBRXRDLElBQUksTUFBTSxHQUFHLEVBQUUsQ0FBQztJQUNoQixJQUFJLGdCQUFnQixDQUFDLGNBQWMsRUFBRTtRQUNuQyxNQUFNLEdBQUcsR0FBRyxnQkFBZ0IsQ0FBQyxjQUFjLEdBQUcsQ0FBQztLQUNoRDtJQUNELE9BQU87UUFDTCxlQUFlLEVBQUU7WUFDZixRQUFRLEVBQUUsR0FBRyxNQUFNLFdBQVcsZ0JBQWdCLENBQUMsWUFBWSxFQUFFO1lBQzdELGdCQUFnQix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4odG9rZW4pO1xuICAgICAgcmV0dXJuIHtcbiAgICAgICAgY29udHJvbEVuZHBvaW50OiBkZWNvZGVkTGVnYWN5VG9rZW4uY3AsXG4gICAgICAgIGNhY2hlRW5kcG9pbnQ6IGRlY29kZWRMZWdhY3lUb2tlbi5jLFxuICAgICAgICB0b2tlbkVuZHBvaW50OiBkZWNvZGVkTGVnYWN5VG9rZW4uYyxcbiAgICAgICAgc3RvcmFnZUVuZHBvaW50OiBkZWNvZGVkTGVnYWN5VG9rZW4uYyxcbiAgICAgICAgYXV0aFRva2VuOiB0b2tlbixcbiAgICAgIH07XG4gICAgfVxuICB9IGNhdGNoIChlKSB7XG4gICAgLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIEB0eXBlc2NyaXB0LWVzbGludC9yZXN0cmljdC10ZW1wbGF0ZS1leHByZXNzaW9uc1xuICAgIHRocm93IG5ldyBJbnZhbGlkQXJndW1lbnRFcnJvcihgZmFpbGVkIHRvIHBhcnNlIHRva2VuOiAke2V9YCk7XG4gIH1cbn07XG5cbmV4cG9ydCBjbGFzcyBJbnRlcm5hbFN1cGVyVXNlclBlcm1pc3Npb25zIGV4dGVuZHMgUHJlZGVmaW5lZFNjb3BlIHt9XG4iXX0= |
import { ExpiresIn } from '../../utils'; | ||
export declare function validateStoreName(name: string): void; | ||
export declare function validateCacheName(name: string): void; | ||
@@ -3,0 +4,0 @@ export declare function validateCacheKeyOrPrefix(name: string): void; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.validateMaxConcurrentRequests = exports.validateLeaderboardNumberOfElements = exports.validateLeaderboardCount = exports.validateLeaderboardOffset = exports.validateLeaderboardRanks = exports.validateLeaderboardName = exports.isBase64 = exports.validateDisposableTokenTokenID = exports.validateDisposableTokenExpiry = exports.validateTimeout = exports.validateValidForSeconds = exports.validateTtlSeconds = exports.validateTtlMinutes = exports.validateTopK = exports.validateNumDimensions = exports.validateIndexName = exports.validateWebhookName = exports.validateTopicName = exports.validateListSliceStartEnd = exports.validateListName = exports.validateDictionaryName = exports.validateSortedSetCount = exports.validateSortedSetOffset = exports.validateSortedSetScores = exports.validateSortedSetRanks = exports.validateSortedSetName = exports.validateSetSampleLimit = exports.validateSetName = exports.validateCacheKeyOrPrefix = exports.validateCacheName = void 0; | ||
exports.validateMaxConcurrentRequests = exports.validateLeaderboardNumberOfElements = exports.validateLeaderboardCount = exports.validateLeaderboardOffset = exports.validateLeaderboardRanks = exports.validateLeaderboardName = exports.isBase64 = exports.validateDisposableTokenTokenID = exports.validateDisposableTokenExpiry = exports.validateTimeout = exports.validateValidForSeconds = exports.validateTtlSeconds = exports.validateTtlMinutes = exports.validateTopK = exports.validateNumDimensions = exports.validateIndexName = exports.validateWebhookName = exports.validateTopicName = exports.validateListSliceStartEnd = exports.validateListName = exports.validateDictionaryName = exports.validateSortedSetCount = exports.validateSortedSetOffset = exports.validateSortedSetScores = exports.validateSortedSetRanks = exports.validateSortedSetName = exports.validateSetSampleLimit = exports.validateSetName = exports.validateCacheKeyOrPrefix = exports.validateCacheName = exports.validateStoreName = void 0; | ||
const errors_1 = require("../../errors"); | ||
const string_1 = require("./string"); | ||
function validateStoreName(name) { | ||
if (isEmpty(name)) { | ||
throw new errors_1.InvalidArgumentError('store name must not be empty'); | ||
} | ||
} | ||
exports.validateStoreName = validateStoreName; | ||
function validateCacheName(name) { | ||
@@ -219,2 +225,2 @@ if (isEmpty(name)) { | ||
exports.validateMaxConcurrentRequests = validateMaxConcurrentRequests; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsaWRhdG9ycy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9pbnRlcm5hbC91dGlscy92YWxpZGF0b3JzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLHlDQUFrRDtBQUVsRCxxQ0FBMEQ7QUFFMUQsU0FBZ0Is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pdCBtdXN0IGJlIHN0cmljdGx5IHBvc2l0aXZlICg+IDApJ1xuICAgICk7XG4gIH1cbn1cbiJdfQ== |
@@ -5,1 +5,2 @@ export * from './auth'; | ||
export * from './leaderboard'; | ||
export * from './store'; |
@@ -21,2 +21,3 @@ "use strict"; | ||
__exportStar(require("./leaderboard"), exports); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvbWVzc2FnZXMvcmVzcG9uc2VzL2VudW1zL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQSx5Q0FBdUI7QUFDdkIsMENBQXdCO0FBQ3hCLDJDQUF5QjtBQUN6QixnREFBOEIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2F1dGgnO1xuZXhwb3J0ICogZnJvbSAnLi9jYWNoZSc7XG5leHBvcnQgKiBmcm9tICcuL3RvcGljcyc7XG5leHBvcnQgKiBmcm9tICcuL2xlYWRlcmJvYXJkJztcbiJdfQ== | ||
__exportStar(require("./store"), exports); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvbWVzc2FnZXMvcmVzcG9uc2VzL2VudW1zL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQSx5Q0FBdUI7QUFDdkIsMENBQXdCO0FBQ3hCLDJDQUF5QjtBQUN6QixnREFBOEI7QUFDOUIsMENBQXdCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9hdXRoJztcbmV4cG9ydCAqIGZyb20gJy4vY2FjaGUnO1xuZXhwb3J0ICogZnJvbSAnLi90b3BpY3MnO1xuZXhwb3J0ICogZnJvbSAnLi9sZWFkZXJib2FyZCc7XG5leHBvcnQgKiBmcm9tICcuL3N0b3JlJztcbiJdfQ== |
{ | ||
"name": "@gomomento/sdk-core", | ||
"version": "1.90.1", | ||
"version": "1.91.0", | ||
"description": "Common code for Momento JS SDKs", | ||
@@ -5,0 +5,0 @@ "main": "dist/src/index.js", |
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
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
1486272
347
16111