@castleio/sdk 2.2.0 → 2.2.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 +5 -0
- package/dist/index.d.ts +3 -2
- package/dist/index.js +4 -5
- package/dist/index.js.map +1 -1
- package/dist/package.json +5 -5
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
export { Castle } from './src/Castle';
|
|
2
2
|
export { ConfigurationProperties as CastleConfiguration } from './src/configuration';
|
|
3
3
|
export * from './src/constants';
|
|
4
|
+
export * from './src/models';
|
|
4
5
|
export * from './src/errors';
|
|
5
|
-
export
|
|
6
|
-
export
|
|
6
|
+
export * from './src/failover/failover.module';
|
|
7
|
+
export * from './src/payload/payload.module';
|
|
7
8
|
export { ContextPrepareService } from './src/context/context.module';
|
package/dist/index.js
CHANGED
|
@@ -14,15 +14,14 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.ContextPrepareService = exports.
|
|
17
|
+
exports.ContextPrepareService = exports.Castle = void 0;
|
|
18
18
|
var Castle_1 = require("./src/Castle");
|
|
19
19
|
Object.defineProperty(exports, "Castle", { enumerable: true, get: function () { return Castle_1.Castle; } });
|
|
20
20
|
__exportStar(require("./src/constants"), exports);
|
|
21
|
+
__exportStar(require("./src/models"), exports);
|
|
21
22
|
__exportStar(require("./src/errors"), exports);
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
var payload_module_1 = require("./src/payload/payload.module");
|
|
25
|
-
Object.defineProperty(exports, "PayloadPrepareService", { enumerable: true, get: function () { return payload_module_1.PayloadPrepareService; } });
|
|
23
|
+
__exportStar(require("./src/failover/failover.module"), exports);
|
|
24
|
+
__exportStar(require("./src/payload/payload.module"), exports);
|
|
26
25
|
var context_module_1 = require("./src/context/context.module");
|
|
27
26
|
Object.defineProperty(exports, "ContextPrepareService", { enumerable: true, get: function () { return context_module_1.ContextPrepareService; } });
|
|
28
27
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,uCAAsC;AAA7B,gGAAA,MAAM,OAAA;AAEf,kDAAgC;AAChC,+CAA6B;AAC7B
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,uCAAsC;AAA7B,gGAAA,MAAM,OAAA;AAEf,kDAAgC;AAChC,+CAA6B;AAC7B,+CAA6B;AAC7B,iEAA+C;AAC/C,+DAA6C;AAC7C,+DAAqE;AAA5D,uHAAA,qBAAqB,OAAA"}
|
package/dist/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "http://json.schemastore.org/package",
|
|
3
3
|
"name": "@castleio/sdk",
|
|
4
4
|
"description": "Castle SDK for Node",
|
|
5
|
-
"version": "2.2.
|
|
5
|
+
"version": "2.2.1",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"repository": "git@github.com:castle/castle-node.git",
|
|
8
8
|
"author": {
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"test": "jest",
|
|
20
20
|
"lint-fix": "eslint --fix --quiet '{src,test}/**/*.{js,ts,tsx}' '*.{js,ts,tsx}'",
|
|
21
21
|
"lint-verify": "eslint '{src,test}/**/*.{js,ts,tsx}' '*.{js,ts,tsx}'",
|
|
22
|
-
"prepush": "yarn build && yarn lint-fix
|
|
22
|
+
"prepush": "yarn build && yarn lint-fix",
|
|
23
23
|
"prepublishOnly": "yarn build"
|
|
24
24
|
},
|
|
25
25
|
"files": [
|
|
@@ -42,11 +42,12 @@
|
|
|
42
42
|
"@types/node-fetch": "2.6.3",
|
|
43
43
|
"@typescript-eslint/eslint-plugin": "5.59.2",
|
|
44
44
|
"@typescript-eslint/parser": "5.59.2",
|
|
45
|
-
"eslint": "8.
|
|
45
|
+
"eslint": "8.40.0",
|
|
46
46
|
"eslint-config-prettier": "8.8.0",
|
|
47
47
|
"eslint-plugin-import": "2.27.5",
|
|
48
48
|
"eslint-plugin-prefer-arrow": "1.2.3",
|
|
49
49
|
"eslint-plugin-prettier": "4.2.1",
|
|
50
|
+
"express": "4.18.2",
|
|
50
51
|
"fetch-mock": "9.11.0",
|
|
51
52
|
"husky": "8.0.3",
|
|
52
53
|
"jest": "29.5.0",
|
|
@@ -57,8 +58,7 @@
|
|
|
57
58
|
"timeout-signal": "2.0.0",
|
|
58
59
|
"ts-jest": "29.1.0",
|
|
59
60
|
"ts-node": "10.9.1",
|
|
60
|
-
"typescript": "5.0.4"
|
|
61
|
-
"express": "4.18.2"
|
|
61
|
+
"typescript": "5.0.4"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
64
|
"abort-controller": "^3.0.0",
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "http://json.schemastore.org/package",
|
|
3
3
|
"name": "@castleio/sdk",
|
|
4
4
|
"description": "Castle SDK for Node",
|
|
5
|
-
"version": "2.2.
|
|
5
|
+
"version": "2.2.1",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"repository": "git@github.com:castle/castle-node.git",
|
|
8
8
|
"author": {
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"test": "jest",
|
|
20
20
|
"lint-fix": "eslint --fix --quiet '{src,test}/**/*.{js,ts,tsx}' '*.{js,ts,tsx}'",
|
|
21
21
|
"lint-verify": "eslint '{src,test}/**/*.{js,ts,tsx}' '*.{js,ts,tsx}'",
|
|
22
|
-
"prepush": "yarn build && yarn lint-fix
|
|
22
|
+
"prepush": "yarn build && yarn lint-fix",
|
|
23
23
|
"prepublishOnly": "yarn build"
|
|
24
24
|
},
|
|
25
25
|
"files": [
|
|
@@ -42,11 +42,12 @@
|
|
|
42
42
|
"@types/node-fetch": "2.6.3",
|
|
43
43
|
"@typescript-eslint/eslint-plugin": "5.59.2",
|
|
44
44
|
"@typescript-eslint/parser": "5.59.2",
|
|
45
|
-
"eslint": "8.
|
|
45
|
+
"eslint": "8.40.0",
|
|
46
46
|
"eslint-config-prettier": "8.8.0",
|
|
47
47
|
"eslint-plugin-import": "2.27.5",
|
|
48
48
|
"eslint-plugin-prefer-arrow": "1.2.3",
|
|
49
49
|
"eslint-plugin-prettier": "4.2.1",
|
|
50
|
+
"express": "4.18.2",
|
|
50
51
|
"fetch-mock": "9.11.0",
|
|
51
52
|
"husky": "8.0.3",
|
|
52
53
|
"jest": "29.5.0",
|
|
@@ -57,8 +58,7 @@
|
|
|
57
58
|
"timeout-signal": "2.0.0",
|
|
58
59
|
"ts-jest": "29.1.0",
|
|
59
60
|
"ts-node": "10.9.1",
|
|
60
|
-
"typescript": "5.0.4"
|
|
61
|
-
"express": "4.18.2"
|
|
61
|
+
"typescript": "5.0.4"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
64
|
"abort-controller": "^3.0.0",
|