@pitcher/canvas-ui 2025.12.17-003734-beta → 2025.12.17-102152-beta
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/canvas-ui.js +2 -2
- package/canvas-ui.js.map +1 -1
- package/package.json +1 -1
package/canvas-ui.js
CHANGED
|
@@ -181565,8 +181565,8 @@ function useSmartStore(env) {
|
|
|
181565
181565
|
const generateTempSalesforceId = (objectPrefix) => {
|
|
181566
181566
|
const timestamp = Date.now().toString(36);
|
|
181567
181567
|
const randomStr = Math.random().toString(36).substring(2, 11);
|
|
181568
|
-
const uniqueId = (timestamp + randomStr).substring(0,
|
|
181569
|
-
return "
|
|
181568
|
+
const uniqueId = (timestamp + randomStr).substring(0, 12 - objectPrefix.length);
|
|
181569
|
+
return "local_" + objectPrefix + uniqueId.padEnd(12 - objectPrefix.length, "0");
|
|
181570
181570
|
};
|
|
181571
181571
|
return {
|
|
181572
181572
|
shouldUseSmartStore,
|