@mushi-mushi/web 1.31.0 → 1.31.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/README.md +56 -265
- package/dist/index.cjs +4 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/mushi.loader.global.js +2 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -5293,6 +5293,7 @@ function createLiteReplay(maxMs) {
|
|
|
5293
5293
|
};
|
|
5294
5294
|
}
|
|
5295
5295
|
var DEFAULT_REDACT_SELECTORS2 = ['input[type="password"]', "[data-mushi-redact]"];
|
|
5296
|
+
var RRWEB_SPECIFIER = "rrweb";
|
|
5296
5297
|
var rrwebModule = null;
|
|
5297
5298
|
var warnedMissingRrweb = false;
|
|
5298
5299
|
function asRrweb(mod) {
|
|
@@ -5314,8 +5315,9 @@ async function loadRrweb(loader) {
|
|
|
5314
5315
|
rrwebModule = asRrweb(globalThis.rrweb);
|
|
5315
5316
|
if (rrwebModule) return rrwebModule;
|
|
5316
5317
|
try {
|
|
5317
|
-
const specifier =
|
|
5318
|
+
const specifier = globalThis.__MUSHI_RRWEB_SPECIFIER__ || RRWEB_SPECIFIER;
|
|
5318
5319
|
rrwebModule = asRrweb(await import(
|
|
5320
|
+
/* webpackIgnore: true */
|
|
5319
5321
|
/* @vite-ignore */
|
|
5320
5322
|
specifier
|
|
5321
5323
|
));
|
|
@@ -5860,7 +5862,7 @@ function createProactiveManager(config = {}) {
|
|
|
5860
5862
|
|
|
5861
5863
|
// src/version.ts
|
|
5862
5864
|
var MUSHI_SDK_PACKAGE = "@mushi-mushi/web";
|
|
5863
|
-
var MUSHI_SDK_VERSION = "1.31.
|
|
5865
|
+
var MUSHI_SDK_VERSION = "1.31.2" ;
|
|
5864
5866
|
function resolveReportAppVersion(config, environment) {
|
|
5865
5867
|
if (config.appVersion) return config.appVersion;
|
|
5866
5868
|
const vercelId = config.integrations?.vercel?.analyticsId;
|