backendless 6.5.7 → 6.5.8

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/backendless.d.ts CHANGED
@@ -414,10 +414,6 @@ declare module Backendless {
414
414
 
415
415
  get(indexFrom: number, indexTo: number): Promise<Array<JSONValue>>
416
416
 
417
- set(values: Array<JSONValue>): Promise<number>;
418
-
419
- set(value: JSONValue, index: number): Promise<void>;
420
-
421
417
  insertBefore(valueToInsert: JSONValue, anchorValue: JSONValue): Promise<number>;
422
418
 
423
419
  insertAfter(valueToInsert: JSONValue, anchorValue: JSONValue): Promise<number>;
@@ -477,8 +473,6 @@ declare module Backendless {
477
473
 
478
474
  setWithOverwrite(key: string, value: JSONValue, overwrite?: boolean): Promise<boolean>;
479
475
 
480
- add(data: object): Promise<number>;
481
-
482
476
  increment(key: string, count?: number): Promise<number>;
483
477
 
484
478
  decrement(key: string, count?: number): Promise<number>;
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * ********************************************************************************************************************
3
- * Backendless SDK for JavaScript. Version: 6.5.7
3
+ * Backendless SDK for JavaScript. Version: 6.5.8
4
4
  *
5
5
  * Copyright 2012-2022 BACKENDLESS.COM. All Rights Reserved.
6
6
  *
@@ -19153,35 +19153,6 @@ var ListStore = /*#__PURE__*/function (_HiveStore) {
19153
19153
  url: this.getBaseURL()
19154
19154
  });
19155
19155
  }
19156
- }, {
19157
- key: "set",
19158
- value: function set(value, index) {
19159
- if (typeof index === 'undefined') {
19160
- if (!value || !Array.isArray(value) || !value.length || !(0, _utils.isHiveValueValid)(value)) {
19161
- throw new Error('Value must be provided and must be a list of valid JSON items.');
19162
- }
19163
-
19164
- return this.app.request.put({
19165
- url: this.getBaseURL(),
19166
- data: value
19167
- });
19168
- }
19169
-
19170
- if (!(0, _utils.isHiveValueValid)(value)) {
19171
- throw new Error('Value must be provided and must be one of types: string, number, boolean, object, array.');
19172
- }
19173
-
19174
- if (typeof index !== 'number' || isNaN(index)) {
19175
- throw new Error('Index must be a number.');
19176
- }
19177
-
19178
- return this.app.request.put({
19179
- url: "".concat(this.getBaseURL(), "/").concat(index),
19180
- data: {
19181
- value: value
19182
- }
19183
- });
19184
- }
19185
19156
  }, {
19186
19157
  key: "length",
19187
19158
  value: function length() {
@@ -19484,22 +19455,6 @@ var MapStore = /*#__PURE__*/function (_HiveStore) {
19484
19455
  }
19485
19456
  });
19486
19457
  }
19487
- }, {
19488
- key: "add",
19489
- value: function add(data) {
19490
- if (!_utils["default"].isObject(data)) {
19491
- throw new Error('Payload must be an object.');
19492
- }
19493
-
19494
- if (!Object.keys(data).length) {
19495
- throw new Error('Provided object must have at least 1 key.');
19496
- }
19497
-
19498
- return this.app.request.put({
19499
- url: "".concat(this.getBaseURL(), "/add"),
19500
- data: data
19501
- });
19502
- }
19503
19458
  }, {
19504
19459
  key: "increment",
19505
19460
  value: function increment(key, count) {