@cargolift-cdi/lib-payload 0.1.3 → 0.1.7

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.
@@ -6,6 +6,6 @@ export interface PayloadTransformationResult {
6
6
  }
7
7
  export declare class PayloadTransformation {
8
8
  static transform(expression: string, payload: any): Promise<PayloadTransformationResult>;
9
- static compileExpression(expression: string): jsonata.Expression | null;
10
- static evaluateCompiled(compiled: jsonata.Expression, payload: any): Promise<PayloadTransformationResult>;
9
+ static compile(expression: string): Promise<jsonata.Expression | null>;
10
+ static evaluate(compiled: jsonata.Expression, payload: any): Promise<PayloadTransformationResult>;
11
11
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cargolift-cdi/lib-payload",
3
3
  "private": false,
4
- "version": "0.1.3",
4
+ "version": "0.1.7",
5
5
  "description": "Lib de tratamento e validação de payloads para serviços do middleware da Cargolift CDI",
6
6
  "license": "MIT",
7
7
  "type": "module",
@@ -35,7 +35,7 @@
35
35
  "smoke": "npm run build:smoke && node ./dist/smoke/smoke-run.js",
36
36
  "smoke_debug": "npm run build:smoke && node ./dist/smoke/smoke-debug.js",
37
37
  "prepare": "npm run build",
38
- "prepublishOnly": "npm run build && npm test && npm version patch --no-git-tag-version",
38
+ "prepublishOnly": "npm run build && npm test && npm version patch --no-git-tag-version && git add . && git commit -m \"chore(release): bump version\"",
39
39
  "test": "vitest run --reporter=dot",
40
40
  "test:watch": "vitest"
41
41
  },