autotel-subscribers 41.0.2 → 41.0.4
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/amplitude.cjs +2 -2
- package/dist/amplitude.cjs.map +1 -1
- package/dist/amplitude.js +2 -2
- package/dist/architecture-snapshot.cjs +6 -6
- package/dist/architecture-snapshot.cjs.map +1 -1
- package/dist/architecture-snapshot.js +3 -3
- package/dist/architecture-snapshot.js.map +1 -1
- package/dist/{cjs-BS1fE_MP.js → cjs-Bef2t9Tr.js} +348 -109
- package/dist/cjs-Bef2t9Tr.js.map +1 -0
- package/dist/{cjs-CC1S3xV3.cjs → cjs-C2fugEI8.cjs} +169 -164
- package/dist/{cjs-CC1S3xV3.cjs.map → cjs-C2fugEI8.cjs.map} +1 -1
- package/dist/{cjs-BVWTUHeD.cjs → cjs-C5tev9Yr.cjs} +458 -219
- package/dist/cjs-C5tev9Yr.cjs.map +1 -0
- package/dist/{cjs-j3aHAiuq.js → cjs-CY69zXGd.js} +20 -15
- package/dist/{cjs-j3aHAiuq.js.map → cjs-CY69zXGd.js.map} +1 -1
- package/dist/factories.cjs +2 -2
- package/dist/factories.d.cts +1 -1
- package/dist/factories.d.ts +1 -1
- package/dist/factories.js +1 -1
- package/dist/file.cjs +2 -2
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/{index.node-T6N3xCyo.js → index.node-BF2WkODf.js} +368 -148
- package/dist/index.node-BF2WkODf.js.map +1 -0
- package/dist/{index.node-CVFSZNnN.cjs → index.node-DOkEUdYV.cjs} +369 -149
- package/dist/index.node-DOkEUdYV.cjs.map +1 -0
- package/dist/middleware.cjs +1 -1
- package/dist/{mixpanel-node-CTaHqgil.cjs → mixpanel-node-BVS2X-h7.cjs} +32 -31
- package/dist/{mixpanel-node-CTaHqgil.cjs.map → mixpanel-node-BVS2X-h7.cjs.map} +1 -1
- package/dist/{mixpanel-node-2RXHuOWK.js → mixpanel-node-BltEtoG6.js} +5 -4
- package/dist/{mixpanel-node-2RXHuOWK.js.map → mixpanel-node-BltEtoG6.js.map} +1 -1
- package/dist/mixpanel.cjs +2 -2
- package/dist/mixpanel.cjs.map +1 -1
- package/dist/mixpanel.js +2 -2
- package/dist/{posthog-DTpCMk3r.js → posthog-C9M1c_oG.js} +2 -2
- package/dist/{posthog-DTpCMk3r.js.map → posthog-C9M1c_oG.js.map} +1 -1
- package/dist/{posthog-DLBf2UJJ.d.ts → posthog-DCV5Arkw.d.ts} +217 -24
- package/dist/posthog-DCV5Arkw.d.ts.map +1 -0
- package/dist/{posthog-Duh9pZs7.d.cts → posthog-DRYlG5fG.d.cts} +217 -24
- package/dist/posthog-DRYlG5fG.d.cts.map +1 -0
- package/dist/{posthog-Bz9XTdX5.cjs → posthog-DZfoAW1q.cjs} +4 -4
- package/dist/{posthog-Bz9XTdX5.cjs.map → posthog-DZfoAW1q.cjs.map} +1 -1
- package/dist/posthog.cjs +2 -2
- package/dist/posthog.d.cts +1 -1
- package/dist/posthog.d.ts +1 -1
- package/dist/posthog.js +1 -1
- package/dist/{chunk-CiiB0FCw.js → rolldown-runtime-BHkdefai.js} +9 -2
- package/dist/{chunk-BIkA7V7q.cjs → rolldown-runtime-CfAboj1T.cjs} +8 -1
- package/dist/security.cjs +1 -1
- package/dist/segment.cjs +2 -2
- package/dist/segment.cjs.map +1 -1
- package/dist/segment.js +2 -2
- package/dist/slack.cjs +1 -1
- package/dist/{tslib.es6-Ck6tgf4J.cjs → tslib.es6-02HJIdSd.cjs} +4 -4
- package/dist/{tslib.es6-Ck6tgf4J.cjs.map → tslib.es6-02HJIdSd.cjs.map} +1 -1
- package/dist/{tslib.es6-13Ha9x3r.js → tslib.es6-Dvm0j0am.js} +2 -2
- package/dist/{tslib.es6-13Ha9x3r.js.map → tslib.es6-Dvm0j0am.js.map} +1 -1
- package/dist/webhook.cjs +1 -1
- package/package.json +15 -15
- package/dist/cjs-BS1fE_MP.js.map +0 -1
- package/dist/cjs-BVWTUHeD.cjs.map +0 -1
- package/dist/index.node-CVFSZNnN.cjs.map +0 -1
- package/dist/index.node-T6N3xCyo.js.map +0 -1
- package/dist/posthog-DLBf2UJJ.d.ts.map +0 -1
- package/dist/posthog-Duh9pZs7.d.cts.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as __toCommonJS, i as __require, t as __commonJSMin } from "./
|
|
2
|
-
import { n as tslib_es6_exports, t as init_tslib_es6 } from "./tslib.es6-
|
|
1
|
+
import { a as __toCommonJS, i as __require, t as __commonJSMin } from "./rolldown-runtime-BHkdefai.js";
|
|
2
|
+
import { n as tslib_es6_exports, t as init_tslib_es6 } from "./tslib.es6-Dvm0j0am.js";
|
|
3
3
|
|
|
4
4
|
//#region ../../node_modules/.pnpm/@segment+analytics-core@1.8.3/node_modules/@segment/analytics-core/dist/cjs/emitter/interface.js
|
|
5
5
|
var require_interface = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
@@ -1628,13 +1628,13 @@ var require_buffer_utils = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1628
1628
|
function uint64be(value) {
|
|
1629
1629
|
const high = Math.floor(value / MAX_INT32);
|
|
1630
1630
|
const low = value % MAX_INT32;
|
|
1631
|
-
const buf = new Uint8Array(8);
|
|
1631
|
+
const buf = /* @__PURE__ */ new Uint8Array(8);
|
|
1632
1632
|
writeUInt32BE(buf, high, 0);
|
|
1633
1633
|
writeUInt32BE(buf, low, 4);
|
|
1634
1634
|
return buf;
|
|
1635
1635
|
}
|
|
1636
1636
|
function uint32be(value) {
|
|
1637
|
-
const buf = new Uint8Array(4);
|
|
1637
|
+
const buf = /* @__PURE__ */ new Uint8Array(4);
|
|
1638
1638
|
writeUInt32BE(buf, value);
|
|
1639
1639
|
return buf;
|
|
1640
1640
|
}
|
|
@@ -2363,7 +2363,7 @@ var require_ecdhes = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2363
2363
|
const invalid_key_input_js_1 = require_invalid_key_input();
|
|
2364
2364
|
const is_key_like_js_1 = require_is_key_like();
|
|
2365
2365
|
const generateKeyPair = (0, node_util_1$5.promisify)(node_crypto_1$10.generateKeyPair);
|
|
2366
|
-
async function deriveKey(publicKee, privateKee, algorithm, keyLength, apu = new Uint8Array(0), apv = new Uint8Array(0)) {
|
|
2366
|
+
async function deriveKey(publicKee, privateKee, algorithm, keyLength, apu = /* @__PURE__ */ new Uint8Array(0), apv = /* @__PURE__ */ new Uint8Array(0)) {
|
|
2367
2367
|
let publicKey;
|
|
2368
2368
|
if ((0, webcrypto_js_1.isCryptoKey)(publicKee)) {
|
|
2369
2369
|
(0, crypto_key_js_1.checkEncCryptoKey)(publicKee, "ECDH");
|
|
@@ -2391,7 +2391,10 @@ var require_ecdhes = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2391
2391
|
switch (key.asymmetricKeyType) {
|
|
2392
2392
|
case "x25519": return generateKeyPair("x25519");
|
|
2393
2393
|
case "x448": return generateKeyPair("x448");
|
|
2394
|
-
case "ec":
|
|
2394
|
+
case "ec": {
|
|
2395
|
+
const namedCurve = (0, get_named_curve_js_1.default)(key);
|
|
2396
|
+
return generateKeyPair("ec", { namedCurve });
|
|
2397
|
+
}
|
|
2395
2398
|
default: throw new errors_js_1.JOSENotSupported("Invalid or unsupported EPK");
|
|
2396
2399
|
}
|
|
2397
2400
|
}
|
|
@@ -2443,11 +2446,12 @@ var require_pbes2kw = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2443
2446
|
}
|
|
2444
2447
|
throw new TypeError((0, invalid_key_input_js_1.default)(key, ...is_key_like_js_1.types, "Uint8Array"));
|
|
2445
2448
|
}
|
|
2446
|
-
const encrypt = async (alg, key, cek, p2c = 2048, p2s = (0, random_js_1.default)(new Uint8Array(16))) => {
|
|
2449
|
+
const encrypt = async (alg, key, cek, p2c = 2048, p2s = (0, random_js_1.default)(/* @__PURE__ */ new Uint8Array(16))) => {
|
|
2447
2450
|
(0, check_p2s_js_1.default)(p2s);
|
|
2448
2451
|
const salt = (0, buffer_utils_js_1.p2s)(alg, p2s);
|
|
2449
2452
|
const keylen = parseInt(alg.slice(13, 16), 10) >> 3;
|
|
2450
|
-
const
|
|
2453
|
+
const password = getPassword(key, alg);
|
|
2454
|
+
const derivedKey = await pbkdf2(password, salt, p2c, keylen, `sha${alg.slice(8, 11)}`);
|
|
2451
2455
|
return {
|
|
2452
2456
|
encryptedKey: await (0, aeskw_js_1.wrap)(alg.slice(-6), derivedKey, cek),
|
|
2453
2457
|
p2c,
|
|
@@ -2459,7 +2463,8 @@ var require_pbes2kw = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2459
2463
|
(0, check_p2s_js_1.default)(p2s);
|
|
2460
2464
|
const salt = (0, buffer_utils_js_1.p2s)(alg, p2s);
|
|
2461
2465
|
const keylen = parseInt(alg.slice(13, 16), 10) >> 3;
|
|
2462
|
-
const
|
|
2466
|
+
const password = getPassword(key, alg);
|
|
2467
|
+
const derivedKey = await pbkdf2(password, salt, p2c, keylen, `sha${alg.slice(8, 11)}`);
|
|
2463
2468
|
return (0, aeskw_js_1.unwrap)(alg.slice(-6), derivedKey, encryptedKey);
|
|
2464
2469
|
};
|
|
2465
2470
|
exports.decrypt = decrypt;
|
|
@@ -2820,7 +2825,7 @@ var require_aesgcmkw = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2820
2825
|
const base64url_js_1 = require_base64url$1();
|
|
2821
2826
|
async function wrap(alg, key, cek, iv) {
|
|
2822
2827
|
const jweAlgorithm = alg.slice(0, 7);
|
|
2823
|
-
const wrapped = await (0, encrypt_js_1.default)(jweAlgorithm, cek, key, iv, new Uint8Array(0));
|
|
2828
|
+
const wrapped = await (0, encrypt_js_1.default)(jweAlgorithm, cek, key, iv, /* @__PURE__ */ new Uint8Array(0));
|
|
2824
2829
|
return {
|
|
2825
2830
|
encryptedKey: wrapped.ciphertext,
|
|
2826
2831
|
iv: (0, base64url_js_1.encode)(wrapped.iv),
|
|
@@ -2829,7 +2834,7 @@ var require_aesgcmkw = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2829
2834
|
}
|
|
2830
2835
|
async function unwrap(alg, key, encryptedKey, iv, tag) {
|
|
2831
2836
|
const jweAlgorithm = alg.slice(0, 7);
|
|
2832
|
-
return (0, decrypt_js_1.default)(jweAlgorithm, key, encryptedKey, iv, tag, new Uint8Array(0));
|
|
2837
|
+
return (0, decrypt_js_1.default)(jweAlgorithm, key, encryptedKey, iv, tag, /* @__PURE__ */ new Uint8Array(0));
|
|
2833
2838
|
}
|
|
2834
2839
|
}));
|
|
2835
2840
|
|
|
@@ -3590,7 +3595,7 @@ var require_node_key = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3590
3595
|
const get_named_curve_js_1 = require_get_named_curve();
|
|
3591
3596
|
const errors_js_1 = require_errors();
|
|
3592
3597
|
const check_key_length_js_1 = require_check_key_length();
|
|
3593
|
-
const ecCurveAlgMap = new Map([
|
|
3598
|
+
const ecCurveAlgMap = /* @__PURE__ */ new Map([
|
|
3594
3599
|
["ES256", "P-256"],
|
|
3595
3600
|
["ES256K", "secp256k1"],
|
|
3596
3601
|
["ES384", "P-384"],
|
|
@@ -3815,7 +3820,7 @@ var require_verify$3 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3815
3820
|
...parsedProt,
|
|
3816
3821
|
...jws.header
|
|
3817
3822
|
};
|
|
3818
|
-
const extensions = (0, validate_crit_js_1.default)(errors_js_1.JWSInvalid, new Map([["b64", true]]), options?.crit, parsedProt, joseHeader);
|
|
3823
|
+
const extensions = (0, validate_crit_js_1.default)(errors_js_1.JWSInvalid, /* @__PURE__ */ new Map([["b64", true]]), options?.crit, parsedProt, joseHeader);
|
|
3819
3824
|
let b64 = true;
|
|
3820
3825
|
if (extensions.has("b64")) {
|
|
3821
3826
|
b64 = parsedProt.b64;
|
|
@@ -4174,7 +4179,7 @@ var require_sign$3 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4174
4179
|
...this._protectedHeader,
|
|
4175
4180
|
...this._unprotectedHeader
|
|
4176
4181
|
};
|
|
4177
|
-
const extensions = (0, validate_crit_js_1.default)(errors_js_1.JWSInvalid, new Map([["b64", true]]), options?.crit, this._protectedHeader, joseHeader);
|
|
4182
|
+
const extensions = (0, validate_crit_js_1.default)(errors_js_1.JWSInvalid, /* @__PURE__ */ new Map([["b64", true]]), options?.crit, this._protectedHeader, joseHeader);
|
|
4178
4183
|
let b64 = true;
|
|
4179
4184
|
if (extensions.has("b64")) {
|
|
4180
4185
|
b64 = this._protectedHeader.b64;
|
|
@@ -6460,4 +6465,4 @@ var require_cjs = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
6460
6465
|
export default require_cjs();
|
|
6461
6466
|
|
|
6462
6467
|
export { };
|
|
6463
|
-
//# sourceMappingURL=cjs-
|
|
6468
|
+
//# sourceMappingURL=cjs-CY69zXGd.js.map
|