@saasquatch/squatch-js 2.6.0-0 → 2.6.0-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/cucumber.js CHANGED
@@ -24,7 +24,7 @@ exports.default = [
24
24
  `--parallel ${CPU_COUNT}`,
25
25
 
26
26
  // "test/**/*.feature",
27
- "../blackbox-testing/features/**/*.feature",
27
+ "test/specs/**/*.feature",
28
28
 
29
29
  `--tags "@testsuite:squatch-js and not @skip"`,
30
30
 
@@ -38,8 +38,8 @@ exports.default = [
38
38
  // "--require tests/cucumber-setup/loaders.ts",
39
39
 
40
40
  // Step definitions go last
41
- "--require test/step_definitions/**/*.ts",
42
- "--require test/step_definitions/**/*.tsx",
41
+ "--require test/step_definitions/**/steps.ts",
42
+ // "--require test/step_definitions/**/*.tsx",
43
43
 
44
44
  // '--format usage',
45
45
  ].join(" ");
package/dist/squatch.d.ts CHANGED
@@ -74,21 +74,6 @@ export declare function ready(fn: () => any): void;
74
74
  * @returns {void}
75
75
  */
76
76
  export declare function autofill(selector: string): void;
77
- /**
78
- * Overrides the default function that submits the user email. If you have
79
- * Security enabled, the email needs to be signed before it's submitted.
80
- *
81
- * @param {function} fn Callback function for the 'submit_email' event.
82
- * @returns {void}
83
- *
84
- * @example
85
- * squatch.submitEmail(function(target, widget, email) {
86
- * // Sign email and generate jwt token
87
- * var jwt = 'token';
88
- * widget.reload(email, jwt);
89
- * });
90
- */
91
- export declare function submitEmail(fn: (target: any, widget: any, email: any) => any): void;
92
77
  /**
93
78
  * Manually set the _saasquatch cookie as a 1st party cookie if available as a URL parameter on the current page.
94
79
  * This runs automatically immediately when squatch-js is loaded, except when window.SaaSquatchDoNotAutoDrop is true.