@lambdaorm/client 0.10.1 → 0.10.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/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.10.2
4
+
5
+ ### Patch Changes
6
+
7
+ - da5162e: `lambdaorm build` waits for the generation to end, so an error in it is reported and sets the exit code (it ran
8
+ without `await`). `lambdaorm script -u` and the client's `executeScript` say what the data gateway needs to run
9
+ scripts — `scripts.enabled: true` in its configuration and a credential with the `script` permission — instead of
10
+ the former service's `SCRIPT_ENABLED=true`.
11
+ - Updated dependencies [8be132e]
12
+ - @lambdaorm/base@3.3.3
13
+
3
14
  ## 0.10.1
4
15
 
5
16
  ### Patch Changes
@@ -80,8 +80,8 @@ export declare class Orm implements IOrm {
80
80
  execute(query: Function, data?: any, options?: QueryOptions): Promise<any>;
81
81
  execute(query: string, data?: any, options?: QueryOptions): Promise<any>;
82
82
  /**
83
- * Runs a 3xpr script whose orm.execute calls run in one transaction on the service (POST /script;
84
- * the service must run with SCRIPT_ENABLED=true)
83
+ * Runs a 3xpr script whose orm.execute calls run in one transaction on the gateway (POST /script; the gateway
84
+ * needs scripts.enabled: true in its configuration and the credential the script permission)
85
85
  * @param script statements calling orm.execute(query, data, options)
86
86
  * @param data variables of the script
87
87
  * @param options options of execution
@@ -124,8 +124,8 @@ class Orm {
124
124
  return this.queryService.execute(query, data, options);
125
125
  }
126
126
  /**
127
- * Runs a 3xpr script whose orm.execute calls run in one transaction on the service (POST /script;
128
- * the service must run with SCRIPT_ENABLED=true)
127
+ * Runs a 3xpr script whose orm.execute calls run in one transaction on the gateway (POST /script; the gateway
128
+ * needs scripts.enabled: true in its configuration and the credential the script permission)
129
129
  * @param script statements calling orm.execute(query, data, options)
130
130
  * @param data variables of the script
131
131
  * @param options options of execution
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lambdaorm/client",
3
- "version": "0.10.1",
3
+ "version": "0.10.2",
4
4
  "description": "Client for lambda ORM service",
5
5
  "author": "Flavio Lionel Rita <flaviolrita@proton.me>",
6
6
  "license": "MIT",
@@ -27,7 +27,7 @@
27
27
  "test": "npx jest --config ./jest-config.json"
28
28
  },
29
29
  "dependencies": {
30
- "@lambdaorm/base": "^3.3.2",
30
+ "@lambdaorm/base": "^3.3.3",
31
31
  "3xpr": "^5.3.1",
32
32
  "h3lp": "^5.0.0",
33
33
  "axios": "^1.6.3",