@percy/core 1.28.0-beta.0 → 1.28.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/browser.js CHANGED
@@ -17,8 +17,8 @@ export class Browser extends EventEmitter {
17
17
  #callbacks = new Map();
18
18
  #lastid = 0;
19
19
  args = [
20
- // disable the translate popup
21
- '--disable-features=Translate',
20
+ // disable the translate popup and optimization downloads
21
+ '--disable-features=Translate,OptimizationGuideModelDownloading',
22
22
  // disable several subsystems which run network requests in the background
23
23
  '--disable-background-networking',
24
24
  // disable task throttling of timer tasks from background pages
package/dist/percy.js CHANGED
@@ -151,7 +151,7 @@ export class Percy {
151
151
  if (!this.skipDiscovery) yield this.#discovery.start();
152
152
  // start a local API server for SDK communication
153
153
  if (this.server) yield this.server.listen();
154
- const snapshotType = this.client.tokenType() === 'web' ? 'snapshot' : 'comparison';
154
+ const snapshotType = this.projectType === 'web' ? 'snapshot' : 'comparison';
155
155
  this.syncQueue = new WaitForJob(snapshotType, this);
156
156
  // log and mark this instance as started
157
157
  this.log.info('Percy has started!');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@percy/core",
3
- "version": "1.28.0-beta.0",
3
+ "version": "1.28.0",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -9,7 +9,7 @@
9
9
  },
10
10
  "publishConfig": {
11
11
  "access": "public",
12
- "tag": "beta"
12
+ "tag": "latest"
13
13
  },
14
14
  "engines": {
15
15
  "node": ">=14"
@@ -43,11 +43,11 @@
43
43
  "test:types": "tsd"
44
44
  },
45
45
  "dependencies": {
46
- "@percy/client": "1.28.0-beta.0",
47
- "@percy/config": "1.28.0-beta.0",
48
- "@percy/dom": "1.28.0-beta.0",
49
- "@percy/logger": "1.28.0-beta.0",
50
- "@percy/webdriver-utils": "1.28.0-beta.0",
46
+ "@percy/client": "1.28.0",
47
+ "@percy/config": "1.28.0",
48
+ "@percy/dom": "1.28.0",
49
+ "@percy/logger": "1.28.0",
50
+ "@percy/webdriver-utils": "1.28.0",
51
51
  "content-disposition": "^0.5.4",
52
52
  "cross-spawn": "^7.0.3",
53
53
  "extract-zip": "^2.0.1",
@@ -58,5 +58,5 @@
58
58
  "rimraf": "^3.0.2",
59
59
  "ws": "^8.0.0"
60
60
  },
61
- "gitHead": "d188893f1b45f6e4a1b3196b326a47174340c6ce"
61
+ "gitHead": "9d95f18e45e37aa3683e5b8276fd85cf07dba8cb"
62
62
  }