@lambdaorm/client 0.10.1 → 0.10.3

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,26 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.10.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 67cd58c: READMEs: the one of `@lambdaorm/lib` is about the library (installation, getting started, queries across databases,
8
+ dialects, stages), with the CLI, the Data Gateway, the client and the UI as related projects at the end; no emojis,
9
+ and only the npm and license badges.
10
+ - Updated dependencies [67cd58c]
11
+ - @lambdaorm/base@3.3.4
12
+
13
+ ## 0.10.2
14
+
15
+ ### Patch Changes
16
+
17
+ - da5162e: `lambdaorm build` waits for the generation to end, so an error in it is reported and sets the exit code (it ran
18
+ without `await`). `lambdaorm script -u` and the client's `executeScript` say what the data gateway needs to run
19
+ scripts — `scripts.enabled: true` in its configuration and a credential with the `script` permission — instead of
20
+ the former service's `SCRIPT_ENABLED=true`.
21
+ - Updated dependencies [8be132e]
22
+ - @lambdaorm/base@3.3.3
23
+
3
24
  ## 0.10.1
4
25
 
5
26
  ### Patch Changes
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  [![npm version](https://img.shields.io/npm/v/@lambdaorm/client.svg)](https://www.npmjs.com/package/@lambdaorm/client)
4
4
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
5
5
 
6
- 📖 **Documentation:** [lambda-orm.github.io/wiki](https://lambda-orm.github.io/wiki) (English, Deutsch, Español, Português)
6
+ **Documentation:** [lambda-orm.github.io/wiki](https://lambda-orm.github.io/wiki) (English, Deutsch, Español, Português)
7
7
 
8
8
  Query your databases from any Node.js application **without database drivers, connection strings or database
9
9
  credentials**: the queries run on a [λORM Data Gateway](https://lambda-orm.github.io/wiki/data-gateway/), which holds
@@ -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.3",
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.4",
31
31
  "3xpr": "^5.3.1",
32
32
  "h3lp": "^5.0.0",
33
33
  "axios": "^1.6.3",