@spider-mesh/core 2.0.41 → 2.0.43

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@spider-mesh/core",
3
3
  "type": "module",
4
- "version": "2.0.41",
4
+ "version": "2.0.43",
5
5
  "description": "Lightweight microservice framework for typescript, auto discovery, load-balancing, fault-torrent, multiple transporters",
6
6
  "main": "./build/src/index.js",
7
7
  "types": "./build/src/index.d.ts",
@@ -28,7 +28,8 @@
28
28
  }
29
29
  },
30
30
  "scripts": {
31
- "build": "rm -rf build && tsc -v && tsc -b tsconfig.json"
31
+ "build": "rm -rf build && tsc -v && tsc -b tsconfig.json",
32
+ "test:e2e": "bun test tests/*.test.ts"
32
33
  },
33
34
  "author": "Duong Van Ba",
34
35
  "license": "ISC",
package/tsconfig.json CHANGED
@@ -31,9 +31,7 @@
31
31
  "exclude": [
32
32
  "node_modules",
33
33
  "out",
34
- "src/schema.ts",
35
34
  "bin",
36
- "./build/**/*",
37
- "tests/**/*"
35
+ "./build/**/*"
38
36
  ]
39
37
  }
@@ -1 +0,0 @@
1
- export declare const randomUUID: () => string;
@@ -1,13 +0,0 @@
1
- import crypto from 'crypto';
2
- import rnuuid from 'react-native-uuid';
3
- export const randomUUID = () => {
4
- if (typeof process !== 'undefined' && process.versions != null && process.versions.node != null) {
5
- return crypto.randomUUID();
6
- }
7
- if (typeof navigator !== 'undefined' && navigator.product === 'ReactNative') {
8
- const v4 = rnuuid.v4;
9
- return v4();
10
- }
11
- return window.crypto.randomUUID();
12
- };
13
- //# sourceMappingURL=randomUUID.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"randomUUID.js","sourceRoot":"","sources":["../../../src/helpers/randomUUID.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAIvC,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,EAAE;IAC3B,IAAI,OAAO,OAAO,KAAK,WAAW,IAAI,OAAO,CAAC,QAAQ,IAAI,IAAI,IAAI,OAAO,CAAC,QAAQ,CAAC,IAAI,IAAI,IAAI,EAAE,CAAC;QAC9F,OAAO,MAAM,CAAC,UAAU,EAAE,CAAA;IAC9B,CAAC;IAED,IAAI,OAAO,SAAS,KAAK,WAAW,IAAI,SAAS,CAAC,OAAO,KAAK,aAAa,EAAE,CAAC;QAC1E,MAAM,EAAE,GAAI,MAAqC,CAAC,EAAE,CAAA;QACpD,OAAO,EAAE,EAAE,CAAA;IAEf,CAAC;IAGD,OAAO,MAAM,CAAC,MAAM,CAAC,UAAU,EAAE,CAAA;AACrC,CAAC,CAAA"}