purecloud-flow-scripting-api-sdk-javascript 0.67.2 → 0.67.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "purecloud-flow-scripting-api-sdk-javascript",
3
- "version": "0.67.2",
3
+ "version": "0.67.4",
4
4
  "description": "JavaScript library for creating, editing, and managing Genesys Cloud Architect flows",
5
5
  "main": "build-scripting/release/scripting.bundle.js",
6
6
  "author": "Genesys",
package/types.d.ts CHANGED
@@ -12597,23 +12597,6 @@ export class ArchBaseActionWithSilenceDetection extends ArchBaseActionWithOutput
12597
12597
  traverse(callbackFunction: callbackTraverseInfo, traverseFilter?: ArchFilterObject): number;
12598
12598
  }
12599
12599
 
12600
- /**
12601
- * Produces a key safe to use on plain objects used as string-keyed maps during scripting traversal.
12602
- *
12603
- * **Security purpose:** Dynamic property names from flow/scripting objects are sometimes used as keys on
12604
- * bookkeeping maps (`propNamesProcessed`, `traversePropNameValMap`, hierarchy buckets). Without guarding,
12605
- * keys such as `__proto__`, `constructor`, or `prototype` can alter prototype chain behavior (prototype
12606
- * pollution) when assigned with bracket notation. This helper maps those dangerous names to an equivalent
12607
- * string that is not a prototype-polluting key (zero-width space prefix), preserving uniqueness for traversal
12608
- * bookkeeping while avoiding accidental prototype mutation.
12609
- *
12610
- * **Note:** Real property access on scripting objects still uses the original `propName`; only map keys are
12611
- * transformed so internal dedupe/visited sets remain safe.
12612
- * @param key - Property or hierarchy string intended for use as an object map key.
12613
- * @returns A string safe to use as a map key; dangerous names receive a `\u200B` prefix.
12614
- */
12615
- declare function safeTraversalMapKey(key: any): any;
12616
-
12617
12600
  /**
12618
12601
  * This callback function type is invoked by Architect Scripting where the callback function is passed a
12619
12602
  * [traverse info]{@link ArchTraverseInfo} object.
@@ -13126,26 +13109,6 @@ export class ArchBaseFlow extends ArchBaseCoreObjectWithId {
13126
13109
  * values in {@link ArchEnums#FLOW_TYPES} lists valid flow type values.
13127
13110
  */
13128
13111
  readonly flowType: string;
13129
- /**
13130
- * Resolves a filesystem path supplied by the Architect **scripting** API (Node) after the usual
13131
- * `_checkItemIsValidLiteralString` checks on the caller side.
13132
- *
13133
- * **Security purpose:** Static analysis flags raw `path.resolve` / `path.join` with scripting parameters
13134
- * as possible path traversal. This method centralizes defense-in-depth:
13135
- * - Strips NUL (`\\0`) bytes so paths cannot embed embedded-truncation tricks.
13136
- * - Applies `path.normalize` before resolving.
13137
- * - Resolves once via `path.resolve(cwd, normalized)` (Node: absolute `normalized` replaces the cwd prefix).
13138
- * - For **relative** input only, rejects results that sit **above** `process.cwd()` using `path.relative`
13139
- * (blocks `..` segments that escape the working directory). **Absolute** paths are allowed as-is after
13140
- * resolve (same behavior as typical CLI tools exporting outside the project tree).
13141
- *
13142
- * **Not a substitute for OS ACLs:** authors can still pass absolute paths to writable locations; this
13143
- * blocks a class of relative-path traversal from the scripting surface.
13144
- * @param inputPath - Directory or file path string from scripting (already validated as a literal string by callers).
13145
- * @param callerLabel - Label for error messages (e.g. method name + parameter).
13146
- * @returns Canonical resolved path string.
13147
- */
13148
- _resolveValidatedScriptFileSystemPath(inputPath: any, callerLabel: any): any;
13149
13112
  /**
13150
13113
  * This function will return the file path where a flow export will be written when calling the {@link ArchBaseFlow#exportToDirAsync}
13151
13114
  * method for the supplied destination directory and export flow format. A typical use case for this function would be