@budibase/string-templates 3.38.5 → 3.39.15

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/index.d.ts CHANGED
@@ -44,6 +44,10 @@ export declare function processObjectSync(object: {
44
44
  * @returns {string} The enriched string, all templates should have been replaced if they can be.
45
45
  */
46
46
  export declare function processStringSync(string: string, context?: object, opts?: ProcessOptions): string;
47
+ export type JsonTemplateValue = string | number | boolean | null | JsonTemplateValue[] | {
48
+ [key: string]: JsonTemplateValue;
49
+ };
50
+ export declare function processJsonStringSync(template: string, context?: object, opts?: ProcessOptions): JsonTemplateValue | string;
47
51
  /**
48
52
  * Same as function above, but allows logging to be returned - this is only for JS bindings.
49
53
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@budibase/string-templates",
3
- "version": "3.38.5",
3
+ "version": "3.39.15",
4
4
  "description": "Handlebars wrapper for Budibase templating.",
5
5
  "main": "dist/bundle.cjs",
6
6
  "module": "dist/bundle.mjs",
@@ -39,5 +39,5 @@
39
39
  "rollup-plugin-polyfill-node": "^0.13.0",
40
40
  "rollup-plugin-terser": "^7.0.2"
41
41
  },
42
- "gitHead": "5795ec6c95812463cba1d8cede8295f6c2b915cb"
42
+ "gitHead": "e409b00d4727dd9f3c5ba22401aa3d0d8c062cba"
43
43
  }