@doordeck/doordeck-headless-sdk 0.83.0 → 0.84.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.
|
@@ -48,12 +48,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
48
48
|
};
|
|
49
49
|
}(Math.log, Math.LN2);
|
|
50
50
|
}
|
|
51
|
-
if (typeof String.prototype.startsWith === 'undefined') {
|
|
52
|
-
Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
|
|
53
|
-
position = position || 0;
|
|
54
|
-
return this.lastIndexOf(searchString, position) === position;
|
|
55
|
-
}});
|
|
56
|
-
}
|
|
57
51
|
if (typeof String.prototype.endsWith === 'undefined') {
|
|
58
52
|
Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
|
|
59
53
|
var subjectString = this.toString();
|
|
@@ -65,6 +59,12 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
65
59
|
return lastIndex !== -1 && lastIndex === position;
|
|
66
60
|
}});
|
|
67
61
|
}
|
|
62
|
+
if (typeof String.prototype.startsWith === 'undefined') {
|
|
63
|
+
Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
|
|
64
|
+
position = position || 0;
|
|
65
|
+
return this.lastIndexOf(searchString, position) === position;
|
|
66
|
+
}});
|
|
67
|
+
}
|
|
68
68
|
//endregion
|
|
69
69
|
(function (_) {
|
|
70
70
|
'use strict';
|
|
@@ -108,6 +108,7 @@
|
|
|
108
108
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.o;
|
|
109
109
|
var HeadersBuilder = kotlin_io_ktor_ktor_http.$_$.z;
|
|
110
110
|
var URLBuilder_0 = kotlin_io_ktor_ktor_http.$_$.d1;
|
|
111
|
+
var takeFrom_0 = kotlin_io_ktor_ktor_http.$_$.t1;
|
|
111
112
|
var KtorSimpleLogger = kotlin_io_ktor_ktor_utils.$_$.g;
|
|
112
113
|
var MalformedInputException = kotlin_io_ktor_ktor_io.$_$.o;
|
|
113
114
|
var Unit = kotlin_kotlin.$_$.wf;
|
|
@@ -150,7 +151,6 @@
|
|
|
150
151
|
var compareValues = kotlin_kotlin.$_$.b9;
|
|
151
152
|
var Companion_getInstance_2 = kotlin_io_ktor_ktor_http.$_$.j;
|
|
152
153
|
var get_authority = kotlin_io_ktor_ktor_http.$_$.h1;
|
|
153
|
-
var takeFrom_0 = kotlin_io_ktor_ktor_http.$_$.t1;
|
|
154
154
|
var isSecure = kotlin_io_ktor_ktor_http.$_$.p1;
|
|
155
155
|
var get_authority_0 = kotlin_io_ktor_ktor_http.$_$.g1;
|
|
156
156
|
var EventDefinition = kotlin_io_ktor_ktor_events.$_$.a;
|
|
@@ -2417,8 +2417,8 @@
|
|
|
2417
2417
|
protoOf(DefaultRequestBuilder).a2s = function () {
|
|
2418
2418
|
return this.k3j_1;
|
|
2419
2419
|
};
|
|
2420
|
-
protoOf(DefaultRequestBuilder).r3j = function (
|
|
2421
|
-
|
|
2420
|
+
protoOf(DefaultRequestBuilder).r3j = function (urlString) {
|
|
2421
|
+
takeFrom_0(this.l3j_1, urlString);
|
|
2422
2422
|
};
|
|
2423
2423
|
function DefaultRequest(block) {
|
|
2424
2424
|
Plugin_getInstance();
|