@builder.io/sdk 1.2.0 → 1.3.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/CHANGELOG.md +3 -0
- package/README.md +5 -3
- package/coverage/clover.xml +155 -0
- package/coverage/coverage-final.json +3 -0
- package/coverage/lcov-report/base.css +224 -0
- package/coverage/lcov-report/block-navigation.js +87 -0
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +131 -0
- package/coverage/lcov-report/prettify.css +1 -0
- package/coverage/lcov-report/prettify.js +2 -0
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +196 -0
- package/coverage/lcov-report/src/classes/index.html +116 -0
- package/coverage/lcov-report/src/classes/query-string.class.ts.html +328 -0
- package/coverage/lcov-report/src/index.html +116 -0
- package/coverage/lcov-report/src/url.ts.html +253 -0
- package/coverage/lcov.info +238 -0
- package/dist/index.browser.js +1 -1
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs.js +3 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +3 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +3 -3
- package/dist/index.umd.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/src/builder.class.js +1 -1
- package/dist/src/builder.class.js.map +1 -1
- package/dist/src/types/api-version.js +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -123,7 +123,7 @@ function assertAllowedPropertyName(name) {
|
|
|
123
123
|
throw new Error("Property name \"".concat(name, "\" is not allowed"));
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
var version = "1.
|
|
126
|
+
var version = "1.2.0";
|
|
127
127
|
|
|
128
128
|
var Subscription = /** @class */ (function () {
|
|
129
129
|
function Subscription(listeners, listener) {
|
|
@@ -963,7 +963,7 @@ function toError(err) {
|
|
|
963
963
|
return new Error(String(err));
|
|
964
964
|
}
|
|
965
965
|
|
|
966
|
-
var DEFAULT_API_VERSION = '
|
|
966
|
+
var DEFAULT_API_VERSION = 'v1';
|
|
967
967
|
|
|
968
968
|
function datePlusMinutes(minutes) {
|
|
969
969
|
if (minutes === void 0) { minutes = 30; }
|
|
@@ -2528,7 +2528,7 @@ var Builder = /** @class */ (function () {
|
|
|
2528
2528
|
if (options === void 0) { options = {}; }
|
|
2529
2529
|
var instance = this;
|
|
2530
2530
|
if (!Builder.isBrowser) {
|
|
2531
|
-
instance = new Builder(options.apiKey || this.apiKey, options.req, options.res, false, null, options.apiVersion);
|
|
2531
|
+
instance = new Builder(options.apiKey || this.apiKey, options.req, options.res, false, null, options.apiVersion || this.apiVersion);
|
|
2532
2532
|
instance.setUserAttributes(this.getUserAttributes());
|
|
2533
2533
|
}
|
|
2534
2534
|
else {
|