@sprig-technologies/sprig-browser 2.14.8 → 2.14.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sprig-technologies/sprig-browser",
3
- "version": "2.14.8",
3
+ "version": "2.14.9",
4
4
  "description": "npm package for the sprig web sdk",
5
5
  "browser": "index.js",
6
6
  "scripts": {
@@ -37,13 +37,11 @@ export namespace CSS_CONSTANTS {
37
37
  const QUESTION_HEADER_CLASS: string;
38
38
  const CAPTION_CLASS: string;
39
39
  const FADE_IN_CLASS: string;
40
- const CARD_MAIN_CONTENT: string;
41
40
  }
42
41
  export namespace EXPERIMENT_FLAGS {
43
42
  const SURVEY_MOBILE_STYLING: string;
44
43
  }
45
44
  export const MOBILE_MAX_WIDTH: 500;
46
45
  export function getClasses(baseClass: any, useMobileStyling: any): any[];
47
- export function getPlatformClass(baseClass: any, platform: any): any[];
48
46
  export const MOBILE_PLATFORM_HEADERS: string[];
49
47
  //# sourceMappingURL=constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../sprig-browser/shared/constants.js"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,4BAEE;AAEF,4CAA6C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2C7C,mCAAoC;AAE7B,yEAIN;AAEM,uEAEN;AAED,+CAA0D"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../sprig-browser/shared/constants.js"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,4BAEE;AAEF,4CAA6C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0C7C,mCAAoC;AAE7B,yEAIN;AAED,+CAA0D"}
package/shared/network.js CHANGED
@@ -25,7 +25,7 @@ export function getHttpHeaders(Sprig = {}) {
25
25
  const headers = {
26
26
  'Content-Type': 'application/json',
27
27
  'userleap-platform': 'web',
28
- 'x-ul-sdk-version': '2.14.8', //version here doesn't matter. it is string-replaced when compiled
28
+ 'x-ul-sdk-version': '2.14.9', //version here doesn't matter. it is string-replaced when compiled
29
29
  };
30
30
  if (Sprig.envId) headers[HEADERS.ENVIRONMENT_ID] = Sprig.envId;
31
31
  if (Sprig.token) headers['Authorization'] = 'Bearer ' + Sprig.token;
package/LICENSE DELETED
@@ -1,22 +0,0 @@
1
- (The MIT License)
2
-
3
- Copyright (c) 2022 Sprig Technologies Inc. <support@sprig.com>
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining
6
- a copy of this software and associated documentation files (the
7
- 'Software'), to deal in the Software without restriction, including
8
- without limitation the rights to use, copy, modify, merge, publish,
9
- distribute, sublicense, and/or sell copies of the Software, and to
10
- permit persons to whom the Software is furnished to do so, subject to
11
- the following conditions:
12
-
13
- The above copyright notice and this permission notice shall be
14
- included in all copies or substantial portions of the Software.
15
-
16
- THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19
- IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20
- CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21
- TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22
- SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.