@rayselfs/cf-rule-engine 1.8.1 → 1.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adapters/cf-function.cjs +4 -4
- package/dist/adapters/cf-function.js +3 -3
- package/dist/adapters/viewer-request.cjs +3 -3
- package/dist/adapters/viewer-request.js +2 -2
- package/dist/behaviors/index.cjs +13 -13
- package/dist/behaviors/index.js +12 -12
- package/dist/behaviors/set-cors-headers.cjs +2 -2
- package/dist/behaviors/set-cors-headers.js +1 -1
- package/dist/{chunk-SYPOHDLN.cjs → chunk-5ZIB3AJ7.cjs} +2 -2
- package/dist/{chunk-XWJEVLMZ.cjs → chunk-AEZDDJEW.cjs} +1 -1
- package/dist/{chunk-PI7RKMGS.js → chunk-CQA2DCVF.js} +1 -1
- package/dist/{chunk-CLDF6FM5.js → chunk-ORW3KDO5.js} +2 -2
- package/dist/{chunk-PW4FKMJ2.cjs → chunk-PBR6AREG.cjs} +4 -4
- package/dist/{chunk-MTZ35AIR.js → chunk-PR5UQJCC.js} +1 -1
- package/dist/helpers/index.cjs +4 -4
- package/dist/helpers/index.js +3 -3
- package/dist/helpers/preflight-request.cjs +3 -3
- package/dist/helpers/preflight-request.js +2 -2
- package/dist/index.cjs +7 -7
- package/dist/index.js +5 -5
- package/package.json +1 -1
- package/dist/{chunk-I2GJR6LY.js → chunk-BJZPAQHW.js} +3 -3
- package/dist/{chunk-FK3B4SP5.cjs → chunk-SGN2N3WI.cjs} +2 -2
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-5ZIB3AJ7.cjs');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkSGN2N3WIcjs = require('../chunk-SGN2N3WI.cjs');
|
|
5
|
+
require('../chunk-WKYMSRCD.cjs');
|
|
5
6
|
|
|
6
7
|
|
|
7
8
|
var _chunkN6QAQALUcjs = require('../chunk-N6QAQALU.cjs');
|
|
8
9
|
require('../chunk-6NFAPLQ7.cjs');
|
|
9
|
-
require('../chunk-WKYMSRCD.cjs');
|
|
10
10
|
require('../chunk-75ZPJI57.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
exports.defineViewerRequest =
|
|
14
|
+
exports.defineViewerRequest = _chunkSGN2N3WIcjs.defineViewerRequest; exports.defineViewerResponse = _chunkN6QAQALUcjs.defineViewerResponse;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "../chunk-
|
|
1
|
+
import "../chunk-PR5UQJCC.js";
|
|
2
2
|
import {
|
|
3
3
|
defineViewerRequest
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-BJZPAQHW.js";
|
|
5
|
+
import "../chunk-Q4NP4C3B.js";
|
|
5
6
|
import {
|
|
6
7
|
defineViewerResponse
|
|
7
8
|
} from "../chunk-TURH5IFN.js";
|
|
8
9
|
import "../chunk-CQ7YZ3AR.js";
|
|
9
|
-
import "../chunk-Q4NP4C3B.js";
|
|
10
10
|
import "../chunk-MLKGABMK.js";
|
|
11
11
|
export {
|
|
12
12
|
defineViewerRequest,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-6NFAPLQ7.cjs');
|
|
3
|
+
var _chunkSGN2N3WIcjs = require('../chunk-SGN2N3WI.cjs');
|
|
5
4
|
require('../chunk-WKYMSRCD.cjs');
|
|
5
|
+
require('../chunk-6NFAPLQ7.cjs');
|
|
6
6
|
require('../chunk-75ZPJI57.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.defineViewerRequest =
|
|
9
|
+
exports.defineViewerRequest = _chunkSGN2N3WIcjs.defineViewerRequest;
|
package/dist/behaviors/index.cjs
CHANGED
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var _chunkXWJEVLMZcjs = require('../chunk-XWJEVLMZ.cjs');
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
var _chunkZXS23HXAcjs = require('../chunk-ZXS23HXA.cjs');
|
|
7
|
-
|
|
8
|
-
|
|
9
3
|
var _chunkPPUHEL4Hcjs = require('../chunk-PPUHEL4H.cjs');
|
|
10
4
|
|
|
11
5
|
|
|
@@ -18,12 +12,6 @@ var _chunk3UXNXJ6Ncjs = require('../chunk-3UXNXJ6N.cjs');
|
|
|
18
12
|
var _chunkMSES76XKcjs = require('../chunk-MSES76XK.cjs');
|
|
19
13
|
|
|
20
14
|
|
|
21
|
-
var _chunkJU5WX5RUcjs = require('../chunk-JU5WX5RU.cjs');
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
var _chunkLTLBEBKLcjs = require('../chunk-LTLBEBKL.cjs');
|
|
25
|
-
|
|
26
|
-
|
|
27
15
|
var _chunkKXC6ES3Bcjs = require('../chunk-KXC6ES3B.cjs');
|
|
28
16
|
|
|
29
17
|
|
|
@@ -39,7 +27,19 @@ var _chunkMRPTC74Icjs = require('../chunk-MRPTC74I.cjs');
|
|
|
39
27
|
var _chunkCV234DQTcjs = require('../chunk-CV234DQT.cjs');
|
|
40
28
|
|
|
41
29
|
|
|
30
|
+
var _chunkAEZDDJEWcjs = require('../chunk-AEZDDJEW.cjs');
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
var _chunkZXS23HXAcjs = require('../chunk-ZXS23HXA.cjs');
|
|
34
|
+
|
|
35
|
+
|
|
42
36
|
var _chunkOSGZTNTScjs = require('../chunk-OSGZTNTS.cjs');
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
var _chunkJU5WX5RUcjs = require('../chunk-JU5WX5RU.cjs');
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
var _chunkLTLBEBKLcjs = require('../chunk-LTLBEBKL.cjs');
|
|
43
43
|
require('../chunk-75ZPJI57.cjs');
|
|
44
44
|
|
|
45
45
|
// src/behaviors/verify-token.ts
|
|
@@ -123,4 +123,4 @@ function verifyToken(options) {
|
|
|
123
123
|
|
|
124
124
|
|
|
125
125
|
|
|
126
|
-
exports.constructResponse = _chunkOSGZTNTScjs.constructResponse; exports.copyHeader = _chunkJU5WX5RUcjs.copyHeader; exports.directoryIndex = _chunkLTLBEBKLcjs.directoryIndex; exports.imageOptimize = _chunkKXC6ES3Bcjs.imageOptimize; exports.redirect = _chunkWWSRNCUPcjs.redirect; exports.removeResponseHeaders = _chunkSGEBNQR2cjs.removeResponseHeaders; exports.rewriteUri = _chunkMRPTC74Icjs.rewriteUri; exports.setCacheControl = _chunkCV234DQTcjs.setCacheControl; exports.setCorsHeaders =
|
|
126
|
+
exports.constructResponse = _chunkOSGZTNTScjs.constructResponse; exports.copyHeader = _chunkJU5WX5RUcjs.copyHeader; exports.directoryIndex = _chunkLTLBEBKLcjs.directoryIndex; exports.imageOptimize = _chunkKXC6ES3Bcjs.imageOptimize; exports.redirect = _chunkWWSRNCUPcjs.redirect; exports.removeResponseHeaders = _chunkSGEBNQR2cjs.removeResponseHeaders; exports.rewriteUri = _chunkMRPTC74Icjs.rewriteUri; exports.setCacheControl = _chunkCV234DQTcjs.setCacheControl; exports.setCorsHeaders = _chunkAEZDDJEWcjs.setCorsHeaders; exports.setCsp = _chunkZXS23HXAcjs.setCsp; exports.setRequestHeader = _chunkPPUHEL4Hcjs.setRequestHeader; exports.setResponseHeader = _chunkB4WEJSEZcjs.setResponseHeader; exports.setSecurityHeaders = _chunk3UXNXJ6Ncjs.setSecurityHeaders; exports.stripQueryParams = _chunkMSES76XKcjs.stripQueryParams; exports.verifyToken = verifyToken;
|
package/dist/behaviors/index.js
CHANGED
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
setCorsHeaders
|
|
3
|
-
} from "../chunk-PI7RKMGS.js";
|
|
4
|
-
import {
|
|
5
|
-
setCsp
|
|
6
|
-
} from "../chunk-XUI4Y22M.js";
|
|
7
1
|
import {
|
|
8
2
|
setRequestHeader
|
|
9
3
|
} from "../chunk-M5KUQBDW.js";
|
|
@@ -16,12 +10,6 @@ import {
|
|
|
16
10
|
import {
|
|
17
11
|
stripQueryParams
|
|
18
12
|
} from "../chunk-XPQG5IML.js";
|
|
19
|
-
import {
|
|
20
|
-
copyHeader
|
|
21
|
-
} from "../chunk-BDNPQ7AU.js";
|
|
22
|
-
import {
|
|
23
|
-
directoryIndex
|
|
24
|
-
} from "../chunk-R7WXS7BI.js";
|
|
25
13
|
import {
|
|
26
14
|
imageOptimize
|
|
27
15
|
} from "../chunk-LQRLWDQQ.js";
|
|
@@ -37,9 +25,21 @@ import {
|
|
|
37
25
|
import {
|
|
38
26
|
setCacheControl
|
|
39
27
|
} from "../chunk-ZTMSH34E.js";
|
|
28
|
+
import {
|
|
29
|
+
setCorsHeaders
|
|
30
|
+
} from "../chunk-CQA2DCVF.js";
|
|
31
|
+
import {
|
|
32
|
+
setCsp
|
|
33
|
+
} from "../chunk-XUI4Y22M.js";
|
|
40
34
|
import {
|
|
41
35
|
constructResponse
|
|
42
36
|
} from "../chunk-6DBZBV2M.js";
|
|
37
|
+
import {
|
|
38
|
+
copyHeader
|
|
39
|
+
} from "../chunk-BDNPQ7AU.js";
|
|
40
|
+
import {
|
|
41
|
+
directoryIndex
|
|
42
|
+
} from "../chunk-R7WXS7BI.js";
|
|
43
43
|
import "../chunk-MLKGABMK.js";
|
|
44
44
|
|
|
45
45
|
// src/behaviors/verify-token.ts
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkAEZDDJEWcjs = require('../chunk-AEZDDJEW.cjs');
|
|
6
6
|
require('../chunk-75ZPJI57.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.ORIGIN_ECHO =
|
|
11
|
+
exports.ORIGIN_ECHO = _chunkAEZDDJEWcjs.ORIGIN_ECHO; exports.ORIGIN_WILDCARD = _chunkAEZDDJEWcjs.ORIGIN_WILDCARD; exports.setCorsHeaders = _chunkAEZDDJEWcjs.setCorsHeaders;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkSGN2N3WIcjs = require('./chunk-SGN2N3WI.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkN6QAQALUcjs = require('./chunk-N6QAQALU.cjs');
|
|
@@ -11,7 +11,7 @@ var _chunk75ZPJI57cjs = require('./chunk-75ZPJI57.cjs');
|
|
|
11
11
|
// src/adapters/cf-function.ts
|
|
12
12
|
var cf_function_exports = {};
|
|
13
13
|
_chunk75ZPJI57cjs.__export.call(void 0, cf_function_exports, {
|
|
14
|
-
defineViewerRequest: () =>
|
|
14
|
+
defineViewerRequest: () => _chunkSGN2N3WIcjs.defineViewerRequest,
|
|
15
15
|
defineViewerResponse: () => _chunkN6QAQALUcjs.defineViewerResponse
|
|
16
16
|
});
|
|
17
17
|
|
|
@@ -8,7 +8,7 @@ function matchesOriginPattern(origin, pattern) {
|
|
|
8
8
|
return new RegExp(`^${escaped}$`).test(origin);
|
|
9
9
|
}
|
|
10
10
|
function setCorsHeaders(options) {
|
|
11
|
-
const
|
|
11
|
+
const allowedOrigins = options.allowedOrigins;
|
|
12
12
|
return (request, response) => {
|
|
13
13
|
let allowOrigin;
|
|
14
14
|
if (allowedOrigins === ORIGIN_WILDCARD) {
|
|
@@ -8,7 +8,7 @@ function matchesOriginPattern(origin, pattern) {
|
|
|
8
8
|
return new RegExp(`^${escaped}$`).test(origin);
|
|
9
9
|
}
|
|
10
10
|
function setCorsHeaders(options) {
|
|
11
|
-
const
|
|
11
|
+
const allowedOrigins = options.allowedOrigins;
|
|
12
12
|
return (request, response) => {
|
|
13
13
|
let allowOrigin;
|
|
14
14
|
if (allowedOrigins === ORIGIN_WILDCARD) {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
ORIGIN_ECHO,
|
|
6
6
|
ORIGIN_WILDCARD
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-CQA2DCVF.js";
|
|
8
8
|
|
|
9
9
|
// src/helpers/preflight-request.ts
|
|
10
10
|
function matchesOriginPattern(origin, pattern) {
|
|
@@ -14,7 +14,7 @@ function matchesOriginPattern(origin, pattern) {
|
|
|
14
14
|
return new RegExp(`^${escaped}$`).test(origin);
|
|
15
15
|
}
|
|
16
16
|
function preflightRequest(options) {
|
|
17
|
-
const
|
|
17
|
+
const allowedOrigins = options.allowedOrigins;
|
|
18
18
|
const allowedMethods = options.allowedMethods ?? ["GET", "POST", "OPTIONS"];
|
|
19
19
|
const allowedHeaders = options.allowedHeaders ?? ["Content-Type", "Cache-Control", "Pragma", "Range"];
|
|
20
20
|
const allowCredentials = options.allowCredentials ?? false;
|
|
@@ -4,7 +4,7 @@ var _chunkOTFDML3Kcjs = require('./chunk-OTFDML3K.cjs');
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkAEZDDJEWcjs = require('./chunk-AEZDDJEW.cjs');
|
|
8
8
|
|
|
9
9
|
// src/helpers/preflight-request.ts
|
|
10
10
|
function matchesOriginPattern(origin, pattern) {
|
|
@@ -14,7 +14,7 @@ function matchesOriginPattern(origin, pattern) {
|
|
|
14
14
|
return new RegExp(`^${escaped}$`).test(origin);
|
|
15
15
|
}
|
|
16
16
|
function preflightRequest(options) {
|
|
17
|
-
const
|
|
17
|
+
const allowedOrigins = options.allowedOrigins;
|
|
18
18
|
const allowedMethods = _nullishCoalesce(options.allowedMethods, () => ( ["GET", "POST", "OPTIONS"]));
|
|
19
19
|
const allowedHeaders = _nullishCoalesce(options.allowedHeaders, () => ( ["Content-Type", "Cache-Control", "Pragma", "Range"]));
|
|
20
20
|
const allowCredentials = _nullishCoalesce(options.allowCredentials, () => ( false));
|
|
@@ -23,9 +23,9 @@ function preflightRequest(options) {
|
|
|
23
23
|
criteria: _chunkOTFDML3Kcjs.methodIs.call(void 0, ["OPTIONS"]),
|
|
24
24
|
behavior: (request) => {
|
|
25
25
|
let allowOrigin;
|
|
26
|
-
if (allowedOrigins ===
|
|
26
|
+
if (allowedOrigins === _chunkAEZDDJEWcjs.ORIGIN_WILDCARD) {
|
|
27
27
|
allowOrigin = "*";
|
|
28
|
-
} else if (allowedOrigins ===
|
|
28
|
+
} else if (allowedOrigins === _chunkAEZDDJEWcjs.ORIGIN_ECHO) {
|
|
29
29
|
allowOrigin = _optionalChain([request, 'access', _ => _.headers, 'access', _2 => _2["origin"], 'optionalAccess', _3 => _3.value]);
|
|
30
30
|
} else {
|
|
31
31
|
const originHeader = _optionalChain([request, 'access', _4 => _4.headers, 'access', _5 => _5["origin"], 'optionalAccess', _6 => _6.value]);
|
package/dist/helpers/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkPBR6AREGcjs = require('../chunk-PBR6AREG.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkLSCC62CZcjs = require('../chunk-LSCC62CZ.cjs');
|
|
@@ -16,13 +16,13 @@ require('../chunk-YVUR35RN.cjs');
|
|
|
16
16
|
require('../chunk-OTFDML3K.cjs');
|
|
17
17
|
require('../chunk-CF5PWWTF.cjs');
|
|
18
18
|
require('../chunk-IBXAK2A4.cjs');
|
|
19
|
-
require('../chunk-XWJEVLMZ.cjs');
|
|
20
19
|
|
|
21
20
|
|
|
22
21
|
var _chunkB4WEJSEZcjs = require('../chunk-B4WEJSEZ.cjs');
|
|
23
|
-
require('../chunk-JU5WX5RU.cjs');
|
|
24
22
|
require('../chunk-WWSRNCUP.cjs');
|
|
23
|
+
require('../chunk-AEZDDJEW.cjs');
|
|
25
24
|
require('../chunk-WKYMSRCD.cjs');
|
|
25
|
+
require('../chunk-JU5WX5RU.cjs');
|
|
26
26
|
require('../chunk-75ZPJI57.cjs');
|
|
27
27
|
|
|
28
28
|
// src/helpers/staging-indicator.ts
|
|
@@ -40,4 +40,4 @@ function stagingIndicator() {
|
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
|
|
43
|
-
exports.preflightRequest =
|
|
43
|
+
exports.preflightRequest = _chunkPBR6AREGcjs.preflightRequest; exports.sendCountryCode = _chunkLSCC62CZcjs.sendCountryCode; exports.stagingIndicator = stagingIndicator; exports.whitelist = _chunkT5EXFHVAcjs.whitelist;
|
package/dist/helpers/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
preflightRequest
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-ORW3KDO5.js";
|
|
4
4
|
import {
|
|
5
5
|
sendCountryCode
|
|
6
6
|
} from "../chunk-C32DL3EP.js";
|
|
@@ -16,13 +16,13 @@ import "../chunk-LNQPYKGG.js";
|
|
|
16
16
|
import "../chunk-PY3JMRDG.js";
|
|
17
17
|
import "../chunk-LO2BO3RU.js";
|
|
18
18
|
import "../chunk-2DE6WPPL.js";
|
|
19
|
-
import "../chunk-PI7RKMGS.js";
|
|
20
19
|
import {
|
|
21
20
|
setResponseHeader
|
|
22
21
|
} from "../chunk-RBBKFG5J.js";
|
|
23
|
-
import "../chunk-BDNPQ7AU.js";
|
|
24
22
|
import "../chunk-DSSFFJWL.js";
|
|
23
|
+
import "../chunk-CQA2DCVF.js";
|
|
25
24
|
import "../chunk-Q4NP4C3B.js";
|
|
25
|
+
import "../chunk-BDNPQ7AU.js";
|
|
26
26
|
import "../chunk-MLKGABMK.js";
|
|
27
27
|
|
|
28
28
|
// src/helpers/staging-indicator.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkPBR6AREGcjs = require('../chunk-PBR6AREG.cjs');
|
|
4
4
|
require('../chunk-OTFDML3K.cjs');
|
|
5
|
-
require('../chunk-
|
|
5
|
+
require('../chunk-AEZDDJEW.cjs');
|
|
6
6
|
require('../chunk-75ZPJI57.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.preflightRequest =
|
|
9
|
+
exports.preflightRequest = _chunkPBR6AREGcjs.preflightRequest;
|
package/dist/index.cjs
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-MEHWLQLR.cjs');
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
|
|
4
|
+
var _chunk5ZIB3AJ7cjs = require('./chunk-5ZIB3AJ7.cjs');
|
|
4
5
|
|
|
5
6
|
|
|
6
7
|
var _chunk3BBLG4IXcjs = require('./chunk-3BBLG4IX.cjs');
|
|
7
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-N6QAQALU.cjs');
|
|
9
|
-
require('./chunk-6NFAPLQ7.cjs');
|
|
8
|
+
require('./chunk-SGN2N3WI.cjs');
|
|
10
9
|
|
|
11
10
|
|
|
12
11
|
|
|
@@ -15,7 +14,8 @@ require('./chunk-6NFAPLQ7.cjs');
|
|
|
15
14
|
|
|
16
15
|
|
|
17
16
|
var _chunkWKYMSRCDcjs = require('./chunk-WKYMSRCD.cjs');
|
|
18
|
-
require('./chunk-
|
|
17
|
+
require('./chunk-N6QAQALU.cjs');
|
|
18
|
+
require('./chunk-6NFAPLQ7.cjs');
|
|
19
19
|
require('./chunk-75ZPJI57.cjs');
|
|
20
20
|
|
|
21
21
|
|
|
@@ -26,4 +26,4 @@ require('./chunk-75ZPJI57.cjs');
|
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
exports.all = _chunkWKYMSRCDcjs.all; exports.any = _chunkWKYMSRCDcjs.any; exports.cfFunction =
|
|
29
|
+
exports.all = _chunkWKYMSRCDcjs.all; exports.any = _chunkWKYMSRCDcjs.any; exports.cfFunction = _chunk5ZIB3AJ7cjs.cf_function_exports; exports.chain = _chunkWKYMSRCDcjs.chain; exports.lambdaEdge = _chunk3BBLG4IXcjs.lambda_edge_exports; exports.not = _chunkWKYMSRCDcjs.not; exports.rule = _chunkWKYMSRCDcjs.rule; exports.runRules = _chunkWKYMSRCDcjs.runRules;
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
+
import "./chunk-KZ72PI2A.js";
|
|
1
2
|
import {
|
|
2
3
|
cf_function_exports
|
|
3
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PR5UQJCC.js";
|
|
4
5
|
import {
|
|
5
6
|
lambda_edge_exports
|
|
6
7
|
} from "./chunk-WEBU4R5C.js";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-TURH5IFN.js";
|
|
9
|
-
import "./chunk-CQ7YZ3AR.js";
|
|
8
|
+
import "./chunk-BJZPAQHW.js";
|
|
10
9
|
import {
|
|
11
10
|
all,
|
|
12
11
|
any,
|
|
@@ -15,7 +14,8 @@ import {
|
|
|
15
14
|
rule,
|
|
16
15
|
runRules
|
|
17
16
|
} from "./chunk-Q4NP4C3B.js";
|
|
18
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-TURH5IFN.js";
|
|
18
|
+
import "./chunk-CQ7YZ3AR.js";
|
|
19
19
|
import "./chunk-MLKGABMK.js";
|
|
20
20
|
export {
|
|
21
21
|
all,
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import {
|
|
2
|
+
runRules
|
|
3
|
+
} from "./chunk-Q4NP4C3B.js";
|
|
1
4
|
import {
|
|
2
5
|
denormalizeRequest,
|
|
3
6
|
denormalizeResponse,
|
|
4
7
|
normalizeRequest
|
|
5
8
|
} from "./chunk-CQ7YZ3AR.js";
|
|
6
|
-
import {
|
|
7
|
-
runRules
|
|
8
|
-
} from "./chunk-Q4NP4C3B.js";
|
|
9
9
|
|
|
10
10
|
// src/adapters/viewer-request.ts
|
|
11
11
|
function defineViewerRequest(rules) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
|
+
var _chunkWKYMSRCDcjs = require('./chunk-WKYMSRCD.cjs');
|
|
3
4
|
|
|
4
5
|
|
|
5
|
-
var _chunk6NFAPLQ7cjs = require('./chunk-6NFAPLQ7.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunk6NFAPLQ7cjs = require('./chunk-6NFAPLQ7.cjs');
|
|
9
9
|
|
|
10
10
|
// src/adapters/viewer-request.ts
|
|
11
11
|
function defineViewerRequest(rules) {
|