@sitecore-cloudsdk/utils
Advanced tools
Comparing version 0.3.1 to 0.4.0-rc.0
@@ -21,4 +21,5 @@ export { createCookieString } from './lib/cookies/create-cookie-string'; | ||
export { isValidLocation } from './lib/validators/is-valid-location'; | ||
export { appendScriptWithAttributes } from './lib/browser/appendScriptWithAttributes'; | ||
export type { Request, Response, MiddlewareNextResponse, HttpResponse, MiddlewareRequest, HttpRequest, BasicTypes } from './lib/interfaces'; | ||
export type { Cookie, CookieProperties } from './lib/cookies/interfaces'; | ||
export type { NestedObject, FlattenedObject } from './lib/converters/flatten-object'; |
@@ -18,3 +18,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.isValidLocation = exports.isValidHttpURL = exports.ErrorMessages = exports.normalizeHeaders = exports.generateV4UUID = exports.omit = exports.isValidEmail = exports.isShortISODateString = exports.flattenObject = exports.cookieExists = exports.getCookieServerSide = exports.getCookie = exports.isHttpResponse = exports.isHttpRequest = exports.isNextJsMiddlewareResponse = exports.isNextJsMiddlewareRequest = exports.getCookieValueClientSide = exports.fetchWithTimeout = exports.createCookieString = void 0; | ||
exports.appendScriptWithAttributes = exports.isValidLocation = exports.isValidHttpURL = exports.ErrorMessages = exports.normalizeHeaders = exports.generateV4UUID = exports.omit = exports.isValidEmail = exports.isShortISODateString = exports.flattenObject = exports.cookieExists = exports.getCookieServerSide = exports.getCookie = exports.isHttpResponse = exports.isHttpRequest = exports.isNextJsMiddlewareResponse = exports.isNextJsMiddlewareRequest = exports.getCookieValueClientSide = exports.fetchWithTimeout = exports.createCookieString = void 0; | ||
var create_cookie_string_1 = require("./lib/cookies/create-cookie-string"); | ||
@@ -59,1 +59,3 @@ Object.defineProperty(exports, "createCookieString", { enumerable: true, get: function () { return create_cookie_string_1.createCookieString; } }); | ||
Object.defineProperty(exports, "isValidLocation", { enumerable: true, get: function () { return is_valid_location_1.isValidLocation; } }); | ||
var appendScriptWithAttributes_1 = require("./lib/browser/appendScriptWithAttributes"); | ||
Object.defineProperty(exports, "appendScriptWithAttributes", { enumerable: true, get: function () { return appendScriptWithAttributes_1.appendScriptWithAttributes; } }); |
"use strict"; | ||
// © Sitecore Corporation A/S. All rights reserved. Sitecore® is a registered trademark of Sitecore Corporation A/S. | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -4,0 +3,0 @@ exports.isNextJsMiddlewareRequest = void 0; |
@@ -21,4 +21,5 @@ export { createCookieString } from './lib/cookies/create-cookie-string'; | ||
export { isValidLocation } from './lib/validators/is-valid-location'; | ||
export { appendScriptWithAttributes } from './lib/browser/appendScriptWithAttributes'; | ||
export type { Request, Response, MiddlewareNextResponse, HttpResponse, MiddlewareRequest, HttpRequest, BasicTypes } from './lib/interfaces'; | ||
export type { Cookie, CookieProperties } from './lib/cookies/interfaces'; | ||
export type { NestedObject, FlattenedObject } from './lib/converters/flatten-object'; |
@@ -22,1 +22,2 @@ // © Sitecore Corporation A/S. All rights reserved. Sitecore® is a registered trademark of Sitecore Corporation A/S. | ||
export { isValidLocation } from './lib/validators/is-valid-location'; | ||
export { appendScriptWithAttributes } from './lib/browser/appendScriptWithAttributes'; |
@@ -1,2 +0,1 @@ | ||
// © Sitecore Corporation A/S. All rights reserved. Sitecore® is a registered trademark of Sitecore Corporation A/S. | ||
/** | ||
@@ -3,0 +2,0 @@ * Checks if the given 'request' object is a valid Middleware Request |
{ | ||
"name": "@sitecore-cloudsdk/utils", | ||
"version": "0.3.1", | ||
"version": "0.4.0-rc.0", | ||
"license": "Apache-2.0", | ||
@@ -5,0 +5,0 @@ "main": "dist/cjs/src/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
138122
132
1958