@windmill-labs/shared-utils 1.0.0 → 1.0.2

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/appPolicy.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ import { App } from '../types';
2
+ import { Policy } from '../../../../../../src/lib/gen';
3
+ export declare function updatePolicy(app: App, currentPolicy: Policy | undefined): Promise<Policy>;
package/lib.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ import { App } from '../types';
2
+ import { Policy } from '../../../../../../src/lib/gen';
3
+ export declare function updatePolicy(app: App, currentPolicy: Policy | undefined): Promise<Policy>;
package/lib.es.js CHANGED
@@ -1314,7 +1314,7 @@ async function processRunnable(c, L, R, z) {
1314
1314
  let B = collectStaticFields(R), V = collectOneOfFields(R, z), H = Object.entries(R).map(([c, L]) => L.allowUserResources ? c : void 0).filter(Boolean);
1315
1315
  if (L?.type == "runnableByName") {
1316
1316
  let R = await hash(L.inlineScript?.content);
1317
- return console.log("hex", R, c), [`${c}:rawscript/${R}`, {
1317
+ return console.debug("hex", R, c), [`${c}:rawscript/${R}`, {
1318
1318
  static_inputs: B,
1319
1319
  one_of_inputs: V,
1320
1320
  allow_user_resources: H
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "@windmill-labs/shared-utils",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "type": "module",
5
+ "private": false,
5
6
  "main": "./lib.es.js",
6
7
  "module": "./lib.es.js",
7
8
  "exports": {