@sasjs/adapter 3.10.9 → 3.10.12

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 CHANGED
@@ -237,7 +237,8 @@ run;
237
237
  %webout(OBJ,a) /* Rows in table `a` are objects (easy to use) */
238
238
  %webout(ARR,b) /* Rows in table `b` are arrays (compact) */
239
239
  %webout(OBJ,c,fmt=N) /* Table `c` is sent unformatted (raw) */
240
- %webout(OBJ,c,label=d) /* Rename as `d` on JS side */
240
+ %webout(OBJ,c,label=d) /* Rename table as `d` in output JSON */
241
+ %webout(OBJ,c,label=e, maxobs=10) /* send only 10 rows back */
241
242
  %webout(CLOSE) /* Close the JSON and add default variables */
242
243
  ```
243
244
 
package/SASjs.d.ts CHANGED
@@ -285,20 +285,6 @@ export default class SASjs {
285
285
  } | null, config?: {
286
286
  [key: string]: any;
287
287
  }, loginRequiredCallback?: () => any, authConfig?: AuthConfig, extraResponseAttributes?: ExtraResponseAttributes[]): Promise<any>;
288
- /**
289
- * This function validates the input data structure and table naming convention
290
- *
291
- * @param data A json object that contains one or more tables, it can also be null
292
- * @returns An object which contains two attributes: 1) status: boolean, 2) msg: string
293
- */
294
- private validateInput;
295
- /**
296
- * this function returns the type of variable
297
- *
298
- * @param data it could be anything, like string, array, object etc.
299
- * @returns a string which tells the type of input parameter
300
- */
301
- private getType;
302
288
  /**
303
289
  * Creates the folders and services at the given location `appLoc` on the given server `serverUrl`.
304
290
  * @param serviceJson - the JSON specifying the folders and services to be created.