@ama-sdk/core 11.0.0-prerelease.5 → 11.0.0-prerelease.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.
@@ -8,6 +8,10 @@ Object.defineProperty(exports, "isConstructorObject", {
8
8
  return isConstructorObject;
9
9
  }
10
10
  });
11
+ function _type_of(obj) {
12
+ "@swc/helpers - typeof";
13
+ return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
14
+ }
11
15
  function isConstructorObject(args) {
12
- return !!args && args.length === 1 && !!args[0] && typeof args[0] === 'object';
16
+ return !!args && args.length === 1 && !!args[0] && _type_of(args[0]) === 'object';
13
17
  }
@@ -40,8 +40,12 @@ function _define_property(obj, key, value) {
40
40
  }
41
41
  return obj;
42
42
  }
43
+ function _type_of(obj) {
44
+ "@swc/helpers - typeof";
45
+ return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
46
+ }
43
47
  var isPromise = function(result) {
44
- if (typeof result !== 'object') {
48
+ if ((typeof result === "undefined" ? "undefined" : _type_of(result)) !== 'object') {
45
49
  return false;
46
50
  }
47
51
  return true;
@@ -1,6 +1,10 @@
1
+ function _type_of(obj) {
2
+ "@swc/helpers - typeof";
3
+ return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
4
+ }
1
5
  /**
2
6
  * Determine if object passed to the constructor is valid
3
7
  * @param args
4
8
  */ export function isConstructorObject(args) {
5
- return !!args && args.length === 1 && !!args[0] && typeof args[0] === 'object';
9
+ return !!args && args.length === 1 && !!args[0] && _type_of(args[0]) === 'object';
6
10
  }
@@ -30,8 +30,12 @@ function _define_property(obj, key, value) {
30
30
  }
31
31
  return obj;
32
32
  }
33
+ function _type_of(obj) {
34
+ "@swc/helpers - typeof";
35
+ return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
36
+ }
33
37
  var isPromise = function(result) {
34
- if (typeof result !== 'object') {
38
+ if ((typeof result === "undefined" ? "undefined" : _type_of(result)) !== 'object') {
35
39
  return false;
36
40
  }
37
41
  return true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ama-sdk/core",
3
- "version": "11.0.0-prerelease.5",
3
+ "version": "11.0.0-prerelease.7",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -72,7 +72,7 @@
72
72
  "prepare:publish": "prepare-publish ./dist"
73
73
  },
74
74
  "dependencies": {
75
- "@swc/helpers": "^0.5.0",
75
+ "@swc/helpers": "~0.5.0",
76
76
  "tslib": "^2.6.2",
77
77
  "uuid": "^9.0.0"
78
78
  },
@@ -80,7 +80,7 @@
80
80
  "@angular-devkit/schematics": "~17.3.0",
81
81
  "@angular/cli": "~17.3.0",
82
82
  "@angular/common": "~17.3.0",
83
- "@o3r/schematics": "^11.0.0-prerelease.5",
83
+ "@o3r/schematics": "^11.0.0-prerelease.7",
84
84
  "@schematics/angular": "~17.3.0",
85
85
  "chokidar": "^3.5.2",
86
86
  "globby": "^11.1.0",
@@ -126,13 +126,13 @@
126
126
  "@angular/core": "~17.3.0",
127
127
  "@nx/eslint-plugin": "~18.3.0",
128
128
  "@nx/jest": "~18.3.0",
129
- "@o3r/build-helpers": "^11.0.0-prerelease.5",
130
- "@o3r/eslint-plugin": "^11.0.0-prerelease.5",
131
- "@o3r/test-helpers": "^11.0.0-prerelease.5",
129
+ "@o3r/build-helpers": "^11.0.0-prerelease.7",
130
+ "@o3r/eslint-plugin": "^11.0.0-prerelease.7",
131
+ "@o3r/test-helpers": "^11.0.0-prerelease.7",
132
132
  "@schematics/angular": "~17.3.0",
133
133
  "@stylistic/eslint-plugin-ts": "^1.5.4",
134
- "@swc/cli": "^0.3.0",
135
- "@swc/core": "1.5.7",
134
+ "@swc/cli": "~0.3.0",
135
+ "@swc/core": "~1.5.24",
136
136
  "@types/jest": "~29.5.2",
137
137
  "@types/minimist": "^1.2.2",
138
138
  "@types/node": "^20.0.0",