@salesforce/platform-sdk 6.0.0 → 7.0.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/README.md +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -49,7 +49,7 @@ The chat, view, lightning, telemetry, and analytics surfaces follow the same pat
|
|
|
49
49
|
|
|
50
50
|
## Migrating from individual SDK packages
|
|
51
51
|
|
|
52
|
-
This package
|
|
52
|
+
This package replaced the seven previously-published per-domain SDK packages. The deprecation shims published as their final 5.x.x versions forwarded every export to `@salesforce/platform-sdk` and have now been removed:
|
|
53
53
|
|
|
54
54
|
- `@salesforce/platform-sdk-core`
|
|
55
55
|
- `@salesforce/platform-sdk-chat`
|
|
@@ -59,4 +59,4 @@ This package replaces and consolidates:
|
|
|
59
59
|
- `@salesforce/platform-sdk-telemetry`
|
|
60
60
|
- `@salesforce/platform-sdk-analytics`
|
|
61
61
|
|
|
62
|
-
|
|
62
|
+
If you're still on those package names, replace each import with `@salesforce/platform-sdk` and remove the old entries from your `package.json`. Every factory function and type that was previously published is exported from this package under the same name.
|
package/dist/index.js
CHANGED
|
@@ -872,7 +872,7 @@ class Me {
|
|
|
872
872
|
})).structuredContent;
|
|
873
873
|
}
|
|
874
874
|
}
|
|
875
|
-
const Ee = "X-SFDC-Client-Name", ke = "X-SFDC-Client-Version", De = "@salesforce/platform-sdk", Pe = "
|
|
875
|
+
const Ee = "X-SFDC-Client-Name", ke = "X-SFDC-Client-Version", De = "@salesforce/platform-sdk", Pe = "7.0.0", Le = (s) => {
|
|
876
876
|
let e = S(Ee, De, s);
|
|
877
877
|
return e = S(ke, Pe, e), C(e);
|
|
878
878
|
}, Re = "X-CSRF-Token";
|