@magalu/webzord 1.4.0 → 1.4.1

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,22 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.4.1](https://gitlab.luizalabs.com/luizalabs/plataforma-mobile/webzord/compare/v1.4.0...v1.4.1) (2025-04-08)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * fix env ([](https://gitlab.luizalabs.com/luizalabs/plataforma-mobile/webzord/commit/14739fb))
9
+
10
+
11
+ ### Continuous Integration
12
+
13
+ * update dependency.yaml ([](https://gitlab.luizalabs.com/luizalabs/plataforma-mobile/webzord/commit/b0e8c26))
14
+
15
+
16
+ ### Improvements
17
+
18
+ * add authid as argument in request ([](https://gitlab.luizalabs.com/luizalabs/plataforma-mobile/webzord/commit/8a9751a))
19
+
3
20
  # [1.4.0](https://gitlab.luizalabs.com/luizalabs/plataforma-mobile/webzord/compare/v1.3.3...v1.4.0) (2024-12-17)
4
21
 
5
22
 
@@ -27,6 +27,7 @@ export interface ServiceCall {
27
27
  serviceArgs?: any;
28
28
  callbackId?: string;
29
29
  showLoading?: boolean;
30
+ authId?: string;
30
31
  callback?: ServiceCallback | undefined;
31
32
  }
32
33
  /**
@@ -10,8 +10,8 @@ class MagaluService {
10
10
  * @ignore
11
11
  */
12
12
  constructor() { }
13
- static request({ serviceName, serviceArgs, callbackId, callback, showLoading }, mockMode) {
14
- var _a;
13
+ static request({ serviceName, serviceArgs, callbackId, callback, showLoading, authId }, mockMode) {
14
+ var _a, _b;
15
15
  if (!this.didFoundSDK()) {
16
16
  console.warn("didn't found any sdk");
17
17
  return;
@@ -35,7 +35,7 @@ class MagaluService {
35
35
  const payload = {
36
36
  callbackId,
37
37
  serviceName,
38
- authId: (_a = this.hash) !== null && _a !== void 0 ? _a : '',
38
+ authId: (_b = (_a = this.hash) !== null && _a !== void 0 ? _a : authId) !== null && _b !== void 0 ? _b : '',
39
39
  arguments: argsString,
40
40
  showLoading
41
41
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magalu/webzord",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "Toolkit to consume superapp api",
5
5
  "main": "lib/magaluService.js",
6
6
  "types": "lib/magaluService.d.ts",