@salesforce/lds-worker-api 1.311.0 → 1.312.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.
@@ -42,8 +42,8 @@ export declare function buildAdapterRequestContext(nativeRequestContext: NativeA
42
42
  * callback with data or error. Returns an unsubscribe function that should
43
43
  * be called to stop receiving updated snapshots.
44
44
  *
45
- * This function throws an error if the given adapterId cannot be found or is not
46
- * a GET wire adapter. It will also throw if it fails to parse the config string.
45
+ * This function returns an error if the given adapterId cannot be found or is not
46
+ * a GET wire adapter. It will also return an error if it fails to parse the config string.
47
47
  */
48
48
  export declare function subscribeToAdapter(adapterId: string, config: string, onSnapshot: NativeOnSnapshot, nativeAdapterRequestContext?: NativeAdapterRequestContext): Unsubscribe;
49
49
  /**
@@ -54,11 +54,11 @@ export declare function subscribeToAdapter(adapterId: string, config: string, on
54
54
  */
55
55
  export declare function invokeAdapterWithDraftToReplace(adapterId: string, config: string, draftIdToReplace: string, onResponse: NativeOnResponse, nativeAdapterRequestContext?: NativeAdapterRequestContext): void;
56
56
  /**
57
- * Executes the specified adapter with the given @param dapterId and @param config. Then
58
- * it merge the draft with the given id with the draft generated by
57
+ * Executes the specified adapter with the given @param adapterId and @param config. Then
58
+ * it merges the draft with the given id with the draft generated by
59
59
  * the mutating adapter. Will call onResult callback once with data or error.
60
60
  *
61
- * This function throws an error if the given adapterId cannot be found, or if the
61
+ * This function returns an error if the given adapterId cannot be found, or if the
62
62
  * adapterId is not a mutating adapter if a draft isn't created, or
63
63
  * if it fails to parse the given config string.
64
64
  *
@@ -71,7 +71,7 @@ export declare function invokeAdapterWithDraftToMerge(adapterId: string, config:
71
71
  * it sets the given metadata on the draft created by the mutating adapter. Will call
72
72
  * onResult callback once with data or error.
73
73
  *
74
- * This function throws an error if the given adapterId cannot be found, or if the
74
+ * This function returns an error if the given adapterId cannot be found, or if the
75
75
  * adapterId is not a mutating adapter, or if a draft isn't created, or if it
76
76
  * fails to parse the given config string.
77
77
  */
@@ -80,7 +80,7 @@ export declare function invokeAdapterWithMetadata(adapterId: string, config: str
80
80
  * Executes the specified adapter with the given adapterId and config. Will call
81
81
  * onResponse callback once with data or error.
82
82
  *
83
- * This function throws an error if the given adapterId cannot be found or if it
83
+ * This function returns an error if the given adapterId cannot be found or if it
84
84
  * fails to parse the given config string.
85
85
  */
86
86
  export declare function invokeAdapter(adapterId: string, config: string, onResponse: NativeOnResponse, nativeAdapterRequestContext?: NativeAdapterRequestContext): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-worker-api",
3
- "version": "1.311.0",
3
+ "version": "1.312.1",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "",
6
6
  "main": "dist/standalone/es/lds-worker-api.js",
@@ -35,15 +35,15 @@
35
35
  },
36
36
  "devDependencies": {
37
37
  "@oat-sa/rollup-plugin-wildcard-external": "^1.0.0",
38
- "@salesforce/lds-adapters-graphql": "^1.311.0",
39
- "@salesforce/lds-adapters-uiapi": "^1.311.0",
40
- "@salesforce/lds-default-luvio": "^1.311.0",
41
- "@salesforce/lds-drafts": "^1.311.0",
42
- "@salesforce/lds-graphql-parser": "^1.311.0",
43
- "@salesforce/lds-luvio-engine": "^1.311.0",
44
- "@salesforce/lds-priming": "^1.311.0",
45
- "@salesforce/lds-runtime-mobile": "^1.311.0",
46
- "@salesforce/nimbus-plugin-lds": "^1.311.0",
38
+ "@salesforce/lds-adapters-graphql": "^1.312.1",
39
+ "@salesforce/lds-adapters-uiapi": "^1.312.1",
40
+ "@salesforce/lds-default-luvio": "^1.312.1",
41
+ "@salesforce/lds-drafts": "^1.312.1",
42
+ "@salesforce/lds-graphql-parser": "^1.312.1",
43
+ "@salesforce/lds-luvio-engine": "^1.312.1",
44
+ "@salesforce/lds-priming": "^1.312.1",
45
+ "@salesforce/lds-runtime-mobile": "^1.312.1",
46
+ "@salesforce/nimbus-plugin-lds": "^1.312.1",
47
47
  "ajv": "^8.11.0",
48
48
  "glob": "^7.1.5",
49
49
  "nimbus-types": "^2.0.0-alpha1",
@@ -56,7 +56,7 @@
56
56
  "path": "./dist/sfdc/es/ldsWorkerApi.js",
57
57
  "maxSize": {
58
58
  "none": "45 kB",
59
- "min": "17.8 kB",
59
+ "min": "17.91 kB",
60
60
  "compressed": "8 kB"
61
61
  }
62
62
  }
@@ -59,6 +59,10 @@
59
59
  "displayValue": null,
60
60
  "value": null
61
61
  },
62
+ "LastFliedBy": {
63
+ "displayValue": null,
64
+ "value": null
65
+ },
62
66
  "LastFliedById": {
63
67
  "displayValue": null,
64
68
  "value": null
@@ -59,6 +59,10 @@
59
59
  "displayValue": null,
60
60
  "value": null
61
61
  },
62
+ "LastFliedBy": {
63
+ "displayValue": null,
64
+ "value": null
65
+ },
62
66
  "LastFliedById": {
63
67
  "displayValue": null,
64
68
  "value": null