@carbonorm/carbonreact 1.2.5 → 1.2.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.
@@ -14,4 +14,4 @@ export declare enum eUpdateInsertMethod {
14
14
  * @param callback - if you want to do something with the updated state, you can pass a callback here. Run as the second
15
15
  * parameter of setState.
16
16
  */
17
- export default function updateRestfulObjectArray<ObjectType extends tRestfulObjectValues>(dataOrCallback: ((prev: Readonly<iCarbonORMState>) => ObjectType[]) | ObjectType[], uniqueObjectId: keyof ObjectType, stateKey: keyof iRestfulObjectArrayTypes, insertUpdateOrder?: eUpdateInsertMethod, callback?: () => void): void;
17
+ export default function updateRestfulObjectArray<ObjectType extends tRestfulObjectValues>(dataOrCallback: ((prev: Readonly<iCarbonORMState>) => ObjectType[]) | ObjectType[], stateKey: keyof iRestfulObjectArrayTypes, uniqueObjectId: keyof ObjectType, insertUpdateOrder?: eUpdateInsertMethod, callback?: () => void): void;
package/dist/esm/index.js CHANGED
@@ -2324,7 +2324,7 @@ var eUpdateInsertMethod;
2324
2324
  * @param callback - if you want to do something with the updated state, you can pass a callback here. Run as the second
2325
2325
  * parameter of setState.
2326
2326
  */
2327
- function updateRestfulObjectArray(dataOrCallback, uniqueObjectId, stateKey, insertUpdateOrder, callback) {
2327
+ function updateRestfulObjectArray(dataOrCallback, stateKey, uniqueObjectId, insertUpdateOrder, callback) {
2328
2328
  if (insertUpdateOrder === void 0) { insertUpdateOrder = eUpdateInsertMethod.LAST; }
2329
2329
  var bootstrap = CarbonReact.instance;
2330
2330
  return bootstrap.setState(function (previousBootstrapState) {