fast-simon-sdk 1.2.57 → 1.2.60
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/lib/config.js +1 -1
- package/lib/config.js.map +1 -1
- package/lib/index.js +3 -3
- package/lib/index.js.map +1 -1
- package/lib/models/common.d.ts +6 -2
- package/lib/models/common.js.map +1 -1
- package/lib/models/exports.js +1 -1
- package/lib/models/exports.js.map +1 -1
- package/lib/sections/contentSearch/index.js +13 -11
- package/lib/sections/contentSearch/index.js.map +1 -1
- package/lib/sections/eventReporter/index.js +233 -180
- package/lib/sections/eventReporter/index.js.map +1 -1
- package/lib/sections/eventReporter/utils.js +9 -8
- package/lib/sections/eventReporter/utils.js.map +1 -1
- package/lib/sections/fullTextSearch/index.js +37 -17
- package/lib/sections/fullTextSearch/index.js.map +1 -1
- package/lib/sections/fullTextSearch/utils.js +43 -36
- package/lib/sections/fullTextSearch/utils.js.map +1 -1
- package/lib/sections/index.js +166 -96
- package/lib/sections/index.js.map +1 -1
- package/lib/sections/initialization/index.js +14 -13
- package/lib/sections/initialization/index.js.map +1 -1
- package/lib/sections/initialization/utils.js +83 -40
- package/lib/sections/initialization/utils.js.map +1 -1
- package/lib/sections/instantSearch/index.d.ts +1 -1
- package/lib/sections/instantSearch/index.js +34 -17
- package/lib/sections/instantSearch/index.js.map +1 -1
- package/lib/sections/instantSearch/utils.d.ts +2 -1
- package/lib/sections/instantSearch/utils.js +72 -52
- package/lib/sections/instantSearch/utils.js.map +1 -1
- package/lib/sections/landingPage/index.js +34 -15
- package/lib/sections/landingPage/index.js.map +1 -1
- package/lib/sections/landingPage/utils.js +28 -22
- package/lib/sections/landingPage/utils.js.map +1 -1
- package/lib/sections/lookAlikeProductRecommendation/index.js +5 -4
- package/lib/sections/lookAlikeProductRecommendation/index.js.map +1 -1
- package/lib/sections/recommendations/index.d.ts +1 -1
- package/lib/sections/recommendations/index.js +16 -14
- package/lib/sections/recommendations/index.js.map +1 -1
- package/lib/sections/recommendations/utils.js +8 -8
- package/lib/sections/recommendations/utils.js.map +1 -1
- package/lib/sections/smartCollections/index.js +48 -26
- package/lib/sections/smartCollections/index.js.map +1 -1
- package/lib/sections/smartCollections/utils.js +56 -43
- package/lib/sections/smartCollections/utils.js.map +1 -1
- package/lib/services/autocomplete.d.ts +2 -1
- package/lib/services/autocomplete.js +11 -8
- package/lib/services/autocomplete.js.map +1 -1
- package/lib/services/common.d.ts +2 -1
- package/lib/services/common.js +23 -17
- package/lib/services/common.js.map +1 -1
- package/lib/services/content.js +11 -10
- package/lib/services/content.js.map +1 -1
- package/lib/services/fullTextSearch.js +12 -11
- package/lib/services/fullTextSearch.js.map +1 -1
- package/lib/services/landingPage.js +10 -9
- package/lib/services/landingPage.js.map +1 -1
- package/lib/services/lookAlikeProductRecommendation.js +6 -5
- package/lib/services/lookAlikeProductRecommendation.js.map +1 -1
- package/lib/services/related.d.ts +2 -1
- package/lib/services/related.js +14 -11
- package/lib/services/related.js.map +1 -1
- package/lib/services/reporting.js +24 -17
- package/lib/services/reporting.js.map +1 -1
- package/lib/services/smartCollections.js +11 -10
- package/lib/services/smartCollections.js.map +1 -1
- package/lib/services/utils.js +6 -5
- package/lib/services/utils.js.map +1 -1
- package/lib/utils/API.js +63 -9
- package/lib/utils/API.js.map +1 -1
- package/lib/utils/ArrayUtils.js +1 -1
- package/lib/utils/cookies.js +36 -23
- package/lib/utils/cookies.js.map +1 -1
- package/lib/utils/debug.js +5 -5
- package/lib/utils/debug.js.map +1 -1
- package/lib/utils/klaviyo.js +4 -4
- package/lib/utils/klaviyo.js.map +1 -1
- package/lib/utils/options.js +2 -2
- package/lib/utils/options.js.map +1 -1
- package/lib/utils/validation.js +9 -8
- package/lib/utils/validation.js.map +1 -1
- package/package.json +7 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation.js","sourceRoot":"","sources":["../../src/utils/validation.ts"],"names":[],"mappings":";;;AACA,
|
|
1
|
+
{"version":3,"file":"validation.js","sourceRoot":"","sources":["../../src/utils/validation.ts"],"names":[],"mappings":";;;AACA,oCAAwC;AAEjC,IAAM,YAAY,GAAG,UAAC,IAAY;IACrC,IAAI,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM,KAAK,CAAC,EAAE;QAC9B,OAAO,IAAI,CAAC;KACf;IACD,OAAO,CAAC,GAAG,CAAC,uCAAkC,EAAE,gDAAgD,CAAC,CAAC;IAClG,OAAO,KAAK,CAAC;AACjB,CAAC,CAAC;AANW,QAAA,YAAY,gBAMvB;AAEK,IAAM,cAAc,GAAG,UAAC,UAAoB,EAAE,KAAa;IAC9D,KAAgB,UAAU,EAAV,yBAAU,EAAV,wBAAU,EAAV,IAAU,EAAE;QAAvB,IAAM,CAAC,mBAAA;QACR,IAAI,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,EAAE;YACf,OAAO,CAAC,GAAG,CAAC,qCAA8B,CAAC,aAAU,EAAE,gDAAgD,CAAC,CAAC;YACzG,OAAO,KAAK,CAAC;SAChB;KACJ;IACD,OAAO,IAAI,CAAC;AAChB,CAAC,CAAC;AARW,QAAA,cAAc,kBAQzB;AAEK,IAAM,cAAc,GAAG,UAAC,QAAkB;IAC7C,IAAG,CAAC,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAC;QACtC,OAAO,CAAC,GAAG,CAAC,OAAK,sBAAe,EAAE,gDAAgD,CAAC,CAAC;QACpF,OAAO,KAAK,CAAC;KAChB;IACD,OAAO,IAAI,CAAC;AAChB,CAAC,CAAC;AANW,QAAA,cAAc,kBAMzB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fast-simon-sdk",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.60",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "Fast Simon inc",
|
|
6
6
|
"url": "",
|
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
"scripts": {
|
|
10
10
|
"clean": "node ./utils/clean.js",
|
|
11
11
|
"create-documentation": "node ./utils/markdown.js",
|
|
12
|
-
"build-cdn": "webpack",
|
|
12
|
+
"build-cdn": "webpack && npm run babel-ie11",
|
|
13
|
+
"babel-ie11": "npx babel dist/index.js --out-file dist/index.ie11.js",
|
|
13
14
|
"prepublishOnly": "tsc",
|
|
14
15
|
"webpack": "webpack",
|
|
15
16
|
"tsc": "tsc",
|
|
@@ -18,6 +19,10 @@
|
|
|
18
19
|
"main": "lib/index.js",
|
|
19
20
|
"types": "lib/index.d.ts",
|
|
20
21
|
"devDependencies": {
|
|
22
|
+
"@babel/cli": "^7.16.8",
|
|
23
|
+
"@babel/core": "^7.16.7",
|
|
24
|
+
"@babel/preset-env": "^7.16.8",
|
|
25
|
+
"babel-preset-minify": "^0.5.1",
|
|
21
26
|
"ts-loader": "^8.0.17",
|
|
22
27
|
"typescript": "^4.2.2",
|
|
23
28
|
"unminified-webpack-plugin": "^3.0.0",
|