@cityofzion/bs-multichain 0.0.1 → 1.0.2
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/LICENSE +674 -0
- package/dist/BSAggregator.d.ts +14 -0
- package/dist/BSAggregator.js +65 -0
- package/dist/features/bridge/Neo3NeoXBridgeOrchestrator.d.ts +21 -0
- package/dist/features/bridge/Neo3NeoXBridgeOrchestrator.js +360 -0
- package/dist/features/bridge/index.d.ts +2 -0
- package/dist/features/bridge/index.js +18 -0
- package/dist/features/bridge/types.d.ts +6 -0
- package/dist/features/bridge/types.js +2 -0
- package/dist/features/swap/SimpleSwapApi.d.ts +23 -0
- package/dist/features/swap/SimpleSwapApi.js +258 -0
- package/dist/features/swap/SimpleSwapOrchestrator.d.ts +17 -0
- package/dist/features/swap/SimpleSwapOrchestrator.js +441 -0
- package/dist/features/swap/SimpleSwapService.d.ts +6 -0
- package/dist/features/swap/SimpleSwapService.js +56 -0
- package/dist/features/swap/index.d.ts +4 -0
- package/dist/features/swap/index.js +20 -0
- package/dist/features/swap/types.d.ts +64 -0
- package/dist/features/swap/types.js +2 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +19 -0
- package/package.json +38 -11
package/dist/index.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./features/swap"), exports);
|
|
18
|
+
__exportStar(require("./features/bridge"), exports);
|
|
19
|
+
__exportStar(require("./BSAggregator"), exports);
|
package/package.json
CHANGED
|
@@ -1,14 +1,41 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cityofzion/bs-multichain",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
|
|
3
|
+
"version": "1.0.2",
|
|
4
|
+
"main": "dist/index.js",
|
|
5
|
+
"types": "dist/index.d.ts",
|
|
6
|
+
"repository": "https://github.com/CityOfZion/blockchain-services",
|
|
7
|
+
"author": "Coz",
|
|
8
|
+
"license": "GPL-3.0-only",
|
|
9
|
+
"files": [
|
|
10
|
+
"/dist"
|
|
11
|
+
],
|
|
12
|
+
"dependencies": {
|
|
13
|
+
"axios": "~1.8.2",
|
|
14
|
+
"lodash": "~4.17.21",
|
|
15
|
+
"@cityofzion/blockchain-service": "1.19.2"
|
|
16
|
+
},
|
|
17
|
+
"devDependencies": {
|
|
18
|
+
"@types/jest": "29.5.3",
|
|
19
|
+
"dotenv": "16.3.1",
|
|
20
|
+
"eslint": "^8.48.0",
|
|
21
|
+
"jest": "29.6.2",
|
|
22
|
+
"ts-jest": "29.1.1",
|
|
23
|
+
"ts-node": "10.9.1",
|
|
24
|
+
"typescript": "4.9.5",
|
|
25
|
+
"typed-emitter": "~2.1.0",
|
|
26
|
+
"@types/lodash": "~4.17.12",
|
|
27
|
+
"@types/node": "~22.8.6",
|
|
28
|
+
"@typescript-eslint/eslint-plugin": "~8.12.2",
|
|
29
|
+
"@typescript-eslint/parser": "~8.12.2",
|
|
30
|
+
"@cityofzion/bs-neo3": "1.15.3",
|
|
31
|
+
"@cityofzion/bs-ethereum": "2.12.7",
|
|
32
|
+
"@cityofzion/bs-neo-legacy": "1.12.6",
|
|
33
|
+
"@cityofzion/bs-neox": "1.2.4"
|
|
9
34
|
},
|
|
10
|
-
"
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
35
|
+
"scripts": {
|
|
36
|
+
"build": "tsc --project tsconfig.build.json",
|
|
37
|
+
"test": "jest --config jest.config.ts",
|
|
38
|
+
"lint": "eslint .",
|
|
39
|
+
"format": "eslint --fix"
|
|
40
|
+
}
|
|
41
|
+
}
|