@percy/dom 1.20.3 → 1.21.0
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/bundle.js +2 -4
- package/package.json +2 -2
package/dist/bundle.js
CHANGED
|
@@ -130,13 +130,11 @@
|
|
|
130
130
|
let [, ext] = mimetype.split('/');
|
|
131
131
|
let path = `/__serialized__/${uid}.${ext}`;
|
|
132
132
|
let url = new URL(path, document.URL).toString();
|
|
133
|
-
// converts text to base64
|
|
134
|
-
let content = window.btoa(data);
|
|
135
133
|
|
|
136
|
-
// return the url,
|
|
134
|
+
// return the url, text content, and mimetype
|
|
137
135
|
return {
|
|
138
136
|
url,
|
|
139
|
-
content,
|
|
137
|
+
content: data,
|
|
140
138
|
mimetype
|
|
141
139
|
};
|
|
142
140
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@percy/dom",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.21.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"interactor.js": "^2.0.0-beta.10"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "44c63a3214f1fbfb0b1adcb6fcfe284a9f54d0cb"
|
|
38
38
|
}
|