@builder.io/sdk 2.1.1 → 2.2.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.
Files changed (55) hide show
  1. package/CHANGELOG.md +31 -17
  2. package/coverage/clover.xml +3918 -0
  3. package/coverage/coverage-final.json +19 -0
  4. package/coverage/lcov-report/base.css +224 -0
  5. package/coverage/lcov-report/block-navigation.js +87 -0
  6. package/coverage/lcov-report/favicon.png +0 -0
  7. package/coverage/lcov-report/index.html +176 -0
  8. package/coverage/lcov-report/prettify.css +1 -0
  9. package/coverage/lcov-report/prettify.js +2 -0
  10. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  11. package/coverage/lcov-report/sorter.js +196 -0
  12. package/coverage/lcov-report/src/builder.class.ts.html +8323 -0
  13. package/coverage/lcov-report/src/classes/animator.class.ts.html +847 -0
  14. package/coverage/lcov-report/src/classes/cookies.class.ts.html +559 -0
  15. package/coverage/lcov-report/src/classes/index.html +176 -0
  16. package/coverage/lcov-report/src/classes/observable.class.ts.html +400 -0
  17. package/coverage/lcov-report/src/classes/promise.class.ts.html +607 -0
  18. package/coverage/lcov-report/src/classes/query-string.class.ts.html +328 -0
  19. package/coverage/lcov-report/src/functions/assign.function.ts.html +139 -0
  20. package/coverage/lcov-report/src/functions/fetch.function.ts.html +427 -0
  21. package/coverage/lcov-report/src/functions/get-top-level-domain.ts.html +121 -0
  22. package/coverage/lcov-report/src/functions/index.html +236 -0
  23. package/coverage/lcov-report/src/functions/next-tick.function.ts.html +166 -0
  24. package/coverage/lcov-report/src/functions/omit.function.ts.html +106 -0
  25. package/coverage/lcov-report/src/functions/server-only-require.function.ts.html +121 -0
  26. package/coverage/lcov-report/src/functions/throttle.function.ts.html +181 -0
  27. package/coverage/lcov-report/src/functions/to-error.ts.html +133 -0
  28. package/coverage/lcov-report/src/functions/uuid.ts.html +136 -0
  29. package/coverage/lcov-report/src/index.html +131 -0
  30. package/coverage/lcov-report/src/polyfills/custom-event-polyfill.js.html +121 -0
  31. package/coverage/lcov-report/src/polyfills/index.html +116 -0
  32. package/coverage/lcov-report/src/types/api-version.ts.html +91 -0
  33. package/coverage/lcov-report/src/types/index.html +116 -0
  34. package/coverage/lcov-report/src/url.ts.html +253 -0
  35. package/coverage/lcov.info +4426 -0
  36. package/dist/index.browser.js +20 -4
  37. package/dist/index.browser.js.map +1 -1
  38. package/dist/index.cjs.js +20 -4
  39. package/dist/index.cjs.js.map +1 -1
  40. package/dist/index.esm.js +20 -4
  41. package/dist/index.esm.js.map +1 -1
  42. package/dist/index.umd.js +20 -4
  43. package/dist/index.umd.js.map +1 -1
  44. package/dist/package.json +2 -1
  45. package/dist/src/builder.class.d.ts +39 -8
  46. package/dist/src/builder.class.js +19 -3
  47. package/dist/src/builder.class.js.map +1 -1
  48. package/dist/src/builder.class.test.d.ts +1 -0
  49. package/dist/src/builder.class.test.js +23 -0
  50. package/dist/src/builder.class.test.js.map +1 -0
  51. package/dist/src/classes/cookies.class.d.ts +1 -1
  52. package/dist/src/functions/server-only-require.function.d.ts +1 -1
  53. package/dist/src/url.d.ts +1 -1
  54. package/dist/tsconfig.tsbuildinfo +1 -1
  55. package/package.json +2 -1
package/CHANGELOG.md CHANGED
@@ -1,71 +1,85 @@
1
- ### 2.1.0
1
+ # @builder.io/sdk
2
+
3
+ ## 2.2.0
4
+
5
+ - Stricter checking of trusted hosts.
6
+
7
+ ## 2.1.2
8
+
9
+ - Fix secure cookie spacing.
10
+
11
+ ## 2.1.1
12
+
13
+ - Accept `authToken` option in `getAll` to fetch private models.
14
+
15
+ ## 2.1.0
2
16
 
3
17
  - Setting `noTraverse` option's default to `true` when fetching multiple content entries.
4
18
 
5
- ### 2.0.8
19
+ ## 2.0.8
6
20
 
7
21
  - Fix: remove `setImmediate` usage to fix issue with next.js edge runtime.
8
22
 
9
- ### 2.0.7
23
+ ## 2.0.7
10
24
 
11
25
  - Fix: remove dev dependency from `dependencies` (`nx` and `nx-cloud`)
12
26
 
13
- ### 2.0.6
27
+ ## 2.0.6
14
28
 
15
29
  - Allow `builder.get` to be awaited: https://github.com/BuilderIO/builder/pull/2512
16
30
 
17
- ### 2.0.5
31
+ ## 2.0.5
18
32
 
19
33
  - Add `setServerContext` to allow user to set the execution context of custom code bindings on the server.
20
34
 
21
- ### 2.0.4
35
+ ## 2.0.4
22
36
 
23
37
  - change the way we import ApiVersion type
24
38
 
25
- ### 2.0.3
39
+ ## 2.0.3
26
40
 
27
41
  - Feature: Add support for `enrich` API flag.
28
42
  - Mark `includeRefs` as deprecated.
29
43
 
30
- ### 2.0.0
44
+ ## 2.0.0
31
45
 
32
46
  - `apiVersion` property now defaults to `v3`.
33
47
 
34
- ### 1.3.0
48
+ ## 1.3.0
35
49
 
36
50
  - `apiVersion` property now defaults to `v1`.
37
51
 
38
- ### 1.2.0
52
+ ## 1.2.0
39
53
 
40
54
  - `apiVersion` property now defaults to `v3`.
41
55
 
42
- ### 1.1.35
56
+ ## 1.1.35
43
57
 
44
58
  - Add new `apiVersion` property to toggle between Builder API versions. Defaults to `v1`. Possible values: `v1` and `v3`.
45
59
 
46
- ### 1.1.34
60
+ ## 1.1.34
47
61
 
48
62
  - Use correct types for enum, fixes remix type checks.
49
63
  - Use fetch fallback safely, fixes issues on Salesforce managed runtime.
50
64
 
51
- ### 1.1.33
65
+ ## 1.1.33
52
66
 
53
67
  - Use correct types for `responsiveStyles`, fixes remix type checks.
54
68
 
55
- ### 1.1.30
69
+ ## 1.1.30
56
70
 
57
71
  - Add support for threhold and repeat inputs on `ScrollInvView` animations.
58
72
 
59
- ### 1.1.29
73
+ ## 1.1.29
60
74
 
61
75
  - added types for `override` option
62
76
 
63
- ### 1.1.27
77
+ ## 1.1.27
64
78
 
65
79
  - improved logging during JSON.parse errors
66
80
  - deprecation notice on `Builder.VERSION`
67
81
  - stop tracking impressions for content with no id
68
82
 
69
- ### 1.1.26
83
+ ## 1.1.26
70
84
 
71
85
  - fix: respect `builder.canTrack` for not setting the session cookie https://github.com/BuilderIO/builder/pull/900