@salesforce/lds-runtime-mobile 1.114.0 → 1.114.1

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.
@@ -20,7 +20,7 @@ export declare class NimbusDraftQueue implements DraftQueue {
20
20
  startQueue(): Promise<void>;
21
21
  stopQueue(): Promise<void>;
22
22
  replaceAction(_actionId: string, _withActionId: string): Promise<DraftAction<unknown, unknown>>;
23
- mergeAction<Data, Response>(_targetActionId: string, _sourceActionId: string): Promise<DraftAction<Data, Response>>;
23
+ mergeActions<Data, Response>(_targetActionId: string, _sourceActionId: string): Promise<DraftAction<Data, Response>>;
24
24
  setMetadata(_actionId: string, _metadata: DraftActionMetadata): Promise<DraftAction<unknown, unknown>>;
25
25
  addHandler(_handler: ActionHandler<unknown, unknown, unknown>): Promise<void>;
26
26
  addCustomHandler(_id: string, _executor: CustomActionExecutor): Promise<void>;
package/dist/main.js CHANGED
@@ -5182,7 +5182,7 @@ class DurableDraftQueue {
5182
5182
  this.replacingAction = replacing;
5183
5183
  return replacing;
5184
5184
  }
5185
- mergeAction(targetActionId, sourceActionId) {
5185
+ mergeActions(targetActionId, sourceActionId) {
5186
5186
  // ids must be unique
5187
5187
  if (targetActionId === sourceActionId) {
5188
5188
  return Promise.reject(new Error('target and source action ids cannot be the same'));
@@ -6082,8 +6082,8 @@ class DraftManager {
6082
6082
  * @param sourceActionId The draft action id to merge onto the target. This
6083
6083
  * action will be removed after the merge.
6084
6084
  */
6085
- mergeAction(targetActionId, sourceActionId) {
6086
- return this.draftQueue.mergeAction(targetActionId, sourceActionId).then((merged) => {
6085
+ mergeActions(targetActionId, sourceActionId) {
6086
+ return this.draftQueue.mergeActions(targetActionId, sourceActionId).then((merged) => {
6087
6087
  return this.buildDraftQueueItem(merged);
6088
6088
  });
6089
6089
  }
@@ -13919,8 +13919,8 @@ class NimbusDraftQueue {
13919
13919
  replaceAction(_actionId, _withActionId) {
13920
13920
  return Promise.reject('Cannot call replaceAction from the NimbusDraftQueue');
13921
13921
  }
13922
- mergeAction(_targetActionId, _sourceActionId) {
13923
- return Promise.reject('Cannot call mergeAction from the NimbusDraftQueue');
13922
+ mergeActions(_targetActionId, _sourceActionId) {
13923
+ return Promise.reject('Cannot call mergeActions from the NimbusDraftQueue');
13924
13924
  }
13925
13925
  setMetadata(_actionId, _metadata) {
13926
13926
  return Promise.reject('Cannot call setMetadata from the NimbusDraftQueue');
@@ -15585,4 +15585,4 @@ register({
15585
15585
  });
15586
15586
 
15587
15587
  export { getRuntime, registerReportObserver, reportGraphqlQueryParseError };
15588
- // version: 1.114.0-4ac6a5a61
15588
+ // version: 1.114.1-f3347d8bf
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-runtime-mobile",
3
- "version": "1.114.0",
3
+ "version": "1.114.1",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "LDS runtime for mobile/hybrid environments.",
6
6
  "main": "dist/main.js",
@@ -32,10 +32,10 @@
32
32
  "release:corejar": "yarn build && ../core-build/scripts/core.js --name=lds-runtime-mobile"
33
33
  },
34
34
  "dependencies": {
35
- "@salesforce/lds-adapters-uiapi": "^1.114.0",
36
- "@salesforce/lds-bindings": "^1.114.0",
37
- "@salesforce/lds-instrumentation": "^1.114.0",
38
- "@salesforce/lds-priming": "^1.114.0",
35
+ "@salesforce/lds-adapters-uiapi": "^1.114.1",
36
+ "@salesforce/lds-bindings": "^1.114.1",
37
+ "@salesforce/lds-instrumentation": "^1.114.1",
38
+ "@salesforce/lds-priming": "^1.114.1",
39
39
  "@salesforce/user": "0.0.12",
40
40
  "o11y": "244.0.0"
41
41
  },
@@ -43,16 +43,16 @@
43
43
  "@luvio/engine": "0.137.1",
44
44
  "@luvio/environments": "0.137.1",
45
45
  "@luvio/graphql-parser": "0.137.1",
46
- "@salesforce/lds-adapters-graphql": "^1.114.0",
47
- "@salesforce/lds-drafts": "^1.114.0",
48
- "@salesforce/lds-drafts-adapters-uiapi": "^1.114.0",
49
- "@salesforce/lds-graphql-eval": "^1.114.0",
50
- "@salesforce/lds-network-adapter": "^1.114.0",
51
- "@salesforce/lds-network-nimbus": "^1.114.0",
52
- "@salesforce/lds-store-binary": "^1.114.0",
53
- "@salesforce/lds-store-sql": "^1.114.0",
54
- "@salesforce/lds-utils-adapters": "^1.114.0",
55
- "@salesforce/nimbus-plugin-lds": "^1.114.0",
46
+ "@salesforce/lds-adapters-graphql": "^1.114.1",
47
+ "@salesforce/lds-drafts": "^1.114.1",
48
+ "@salesforce/lds-drafts-adapters-uiapi": "^1.114.1",
49
+ "@salesforce/lds-graphql-eval": "^1.114.1",
50
+ "@salesforce/lds-network-adapter": "^1.114.1",
51
+ "@salesforce/lds-network-nimbus": "^1.114.1",
52
+ "@salesforce/lds-store-binary": "^1.114.1",
53
+ "@salesforce/lds-store-sql": "^1.114.1",
54
+ "@salesforce/lds-utils-adapters": "^1.114.1",
55
+ "@salesforce/nimbus-plugin-lds": "^1.114.1",
56
56
  "babel-plugin-dynamic-import-node": "^2.3.3",
57
57
  "wait-for-expect": "^3.0.2"
58
58
  },
@@ -20,7 +20,7 @@ export declare class NimbusDraftQueue implements DraftQueue {
20
20
  startQueue(): Promise<void>;
21
21
  stopQueue(): Promise<void>;
22
22
  replaceAction(_actionId: string, _withActionId: string): Promise<DraftAction<unknown, unknown>>;
23
- mergeAction<Data, Response>(_targetActionId: string, _sourceActionId: string): Promise<DraftAction<Data, Response>>;
23
+ mergeActions<Data, Response>(_targetActionId: string, _sourceActionId: string): Promise<DraftAction<Data, Response>>;
24
24
  setMetadata(_actionId: string, _metadata: DraftActionMetadata): Promise<DraftAction<unknown, unknown>>;
25
25
  addHandler(_handler: ActionHandler<unknown, unknown, unknown>): Promise<void>;
26
26
  addCustomHandler(_id: string, _executor: CustomActionExecutor): Promise<void>;
package/sfdc/main.js CHANGED
@@ -5182,7 +5182,7 @@ class DurableDraftQueue {
5182
5182
  this.replacingAction = replacing;
5183
5183
  return replacing;
5184
5184
  }
5185
- mergeAction(targetActionId, sourceActionId) {
5185
+ mergeActions(targetActionId, sourceActionId) {
5186
5186
  // ids must be unique
5187
5187
  if (targetActionId === sourceActionId) {
5188
5188
  return Promise.reject(new Error('target and source action ids cannot be the same'));
@@ -6082,8 +6082,8 @@ class DraftManager {
6082
6082
  * @param sourceActionId The draft action id to merge onto the target. This
6083
6083
  * action will be removed after the merge.
6084
6084
  */
6085
- mergeAction(targetActionId, sourceActionId) {
6086
- return this.draftQueue.mergeAction(targetActionId, sourceActionId).then((merged) => {
6085
+ mergeActions(targetActionId, sourceActionId) {
6086
+ return this.draftQueue.mergeActions(targetActionId, sourceActionId).then((merged) => {
6087
6087
  return this.buildDraftQueueItem(merged);
6088
6088
  });
6089
6089
  }
@@ -13919,8 +13919,8 @@ class NimbusDraftQueue {
13919
13919
  replaceAction(_actionId, _withActionId) {
13920
13920
  return Promise.reject('Cannot call replaceAction from the NimbusDraftQueue');
13921
13921
  }
13922
- mergeAction(_targetActionId, _sourceActionId) {
13923
- return Promise.reject('Cannot call mergeAction from the NimbusDraftQueue');
13922
+ mergeActions(_targetActionId, _sourceActionId) {
13923
+ return Promise.reject('Cannot call mergeActions from the NimbusDraftQueue');
13924
13924
  }
13925
13925
  setMetadata(_actionId, _metadata) {
13926
13926
  return Promise.reject('Cannot call setMetadata from the NimbusDraftQueue');
@@ -15585,4 +15585,4 @@ register({
15585
15585
  });
15586
15586
 
15587
15587
  export { getRuntime, registerReportObserver, reportGraphqlQueryParseError };
15588
- // version: 1.114.0-4ac6a5a61
15588
+ // version: 1.114.1-f3347d8bf