@salesforce/lds-runtime-mobile 1.329.0 → 1.330.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.
package/dist/main.js CHANGED
@@ -42034,8 +42034,8 @@ class AbstractResourceRequestActionHandler {
42034
42034
  // to be updated
42035
42035
  for (const { draftId, draftKey, canonicalId, canonicalKey } of redirects) {
42036
42036
  if (basePath.search(draftId) >= 0 || stringifiedBody.search(draftId) >= 0) {
42037
- basePath = basePath.replace(draftId, canonicalId);
42038
- stringifiedBody = stringifiedBody.replace(draftId, canonicalId);
42037
+ basePath = basePath.replace(new RegExp(draftId, 'g'), canonicalId);
42038
+ stringifiedBody = stringifiedBody.replace(new RegExp(draftId, 'g'), canonicalId);
42039
42039
  queueOperationMutated = true;
42040
42040
  }
42041
42041
  // if the action is performed on a previous draft id, we need to replace the action
@@ -55332,4 +55332,4 @@ register({
55332
55332
  });
55333
55333
 
55334
55334
  export { O11Y_NAMESPACE_LDS_MOBILE, getRuntime, registerReportObserver, reportGraphqlQueryParseError };
55335
- // version: 1.329.0-9b52e8059d
55335
+ // version: 1.330.0-29e6947dcf
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-runtime-mobile",
3
- "version": "1.329.0",
3
+ "version": "1.330.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "LDS runtime for mobile/hybrid environments.",
6
6
  "main": "dist/main.js",
@@ -32,23 +32,23 @@
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.329.0",
36
- "@salesforce/lds-bindings": "^1.329.0",
37
- "@salesforce/lds-instrumentation": "^1.329.0",
35
+ "@salesforce/lds-adapters-uiapi": "^1.330.0",
36
+ "@salesforce/lds-bindings": "^1.330.0",
37
+ "@salesforce/lds-instrumentation": "^1.330.0",
38
38
  "@salesforce/user": "0.0.21",
39
39
  "o11y": "250.7.0"
40
40
  },
41
41
  "devDependencies": {
42
- "@salesforce/lds-adapters-graphql": "^1.329.0",
43
- "@salesforce/lds-drafts": "^1.329.0",
44
- "@salesforce/lds-durable-records": "^1.329.0",
45
- "@salesforce/lds-network-adapter": "^1.329.0",
46
- "@salesforce/lds-network-nimbus": "^1.329.0",
47
- "@salesforce/lds-store-binary": "^1.329.0",
48
- "@salesforce/lds-store-nimbus": "^1.329.0",
49
- "@salesforce/lds-store-sql": "^1.329.0",
50
- "@salesforce/lds-utils-adapters": "^1.329.0",
51
- "@salesforce/nimbus-plugin-lds": "^1.329.0",
42
+ "@salesforce/lds-adapters-graphql": "^1.330.0",
43
+ "@salesforce/lds-drafts": "^1.330.0",
44
+ "@salesforce/lds-durable-records": "^1.330.0",
45
+ "@salesforce/lds-network-adapter": "^1.330.0",
46
+ "@salesforce/lds-network-nimbus": "^1.330.0",
47
+ "@salesforce/lds-store-binary": "^1.330.0",
48
+ "@salesforce/lds-store-nimbus": "^1.330.0",
49
+ "@salesforce/lds-store-sql": "^1.330.0",
50
+ "@salesforce/lds-utils-adapters": "^1.330.0",
51
+ "@salesforce/nimbus-plugin-lds": "^1.330.0",
52
52
  "babel-plugin-dynamic-import-node": "^2.3.3",
53
53
  "wait-for-expect": "^3.0.2"
54
54
  },
package/sfdc/main.js CHANGED
@@ -42034,8 +42034,8 @@ class AbstractResourceRequestActionHandler {
42034
42034
  // to be updated
42035
42035
  for (const { draftId, draftKey, canonicalId, canonicalKey } of redirects) {
42036
42036
  if (basePath.search(draftId) >= 0 || stringifiedBody.search(draftId) >= 0) {
42037
- basePath = basePath.replace(draftId, canonicalId);
42038
- stringifiedBody = stringifiedBody.replace(draftId, canonicalId);
42037
+ basePath = basePath.replace(new RegExp(draftId, 'g'), canonicalId);
42038
+ stringifiedBody = stringifiedBody.replace(new RegExp(draftId, 'g'), canonicalId);
42039
42039
  queueOperationMutated = true;
42040
42040
  }
42041
42041
  // if the action is performed on a previous draft id, we need to replace the action
@@ -55332,4 +55332,4 @@ register({
55332
55332
  });
55333
55333
 
55334
55334
  export { O11Y_NAMESPACE_LDS_MOBILE, getRuntime, registerReportObserver, reportGraphqlQueryParseError };
55335
- // version: 1.329.0-9b52e8059d
55335
+ // version: 1.330.0-29e6947dcf