@pioneer-platform/pioneer-caip 8.1.72

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/README.md ADDED
@@ -0,0 +1,2 @@
1
+ #
2
+
package/build.sh ADDED
@@ -0,0 +1,31 @@
1
+
2
+ #!/bin/bash
3
+
4
+ set -e
5
+ package="package_1"
6
+
7
+
8
+ function deployDevelop {
9
+ echo -e " THE ACTUAL DEVELOP DEPLOY FOR PACKAGE 1"
10
+ }
11
+
12
+ function deployProduction {
13
+ echo -e " THE ACTUAL PRODUCTION DEPLOY FOR PACKAGE 1"
14
+ }
15
+
16
+
17
+ echo -e "-- deploy script for package $package"
18
+ echo -e " selected branch $1"
19
+
20
+ case $1 in
21
+ develop )
22
+ deployDevelop
23
+ ;;
24
+ master )
25
+ deployProduction
26
+ ;;
27
+ *)
28
+ echo -e " no build steps expected for branch $1"
29
+ exit 0
30
+ ;;
31
+ esac
package/lib/data.d.ts ADDED
@@ -0,0 +1,19 @@
1
+ export declare const evmCaips: {
2
+ ethereum: string;
3
+ polygon: string;
4
+ pulsechain: string;
5
+ optimism: string;
6
+ 'gnosis-chain-(formerly-xdai)': string;
7
+ 'binance-smart-chain': string;
8
+ 'smart-bitcoin-cash': string;
9
+ 'arbitrum-one': string;
10
+ fuse: string;
11
+ 'bittorrent-chain': string;
12
+ celo: string;
13
+ 'avalanche-c-chain': string;
14
+ grli: string;
15
+ eos: string;
16
+ 'ethereum-classic': string;
17
+ evmos: string;
18
+ 'poa-network-core': string;
19
+ };
package/lib/data.js ADDED
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.evmCaips = void 0;
4
+ exports.evmCaips = {
5
+ ethereum: 'eip155:1/slip44:60',
6
+ polygon: 'eip155:137/slip44:60',
7
+ pulsechain: 'eip155:369/slip44:60',
8
+ optimism: 'eip155:10/slip44:60',
9
+ 'gnosis-chain-(formerly-xdai)': 'eip155:100/slip44:60',
10
+ 'binance-smart-chain': 'eip155:56/slip44:60',
11
+ 'smart-bitcoin-cash': 'eip155:10000/slip44:60',
12
+ 'arbitrum-one': 'eip155:42161/slip44:60',
13
+ fuse: 'eip155:122/slip44:60',
14
+ 'bittorrent-chain': 'eip155:199/slip44:60',
15
+ celo: 'eip155:42220/slip44:60',
16
+ 'avalanche-c-chain': 'eip155:43114/slip44:60',
17
+ grli: 'eip155:5/slip44:60',
18
+ eos: 'eip155:59/slip44:60',
19
+ 'ethereum-classic': 'eip155:61/slip44:60',
20
+ evmos: 'eip155:9001/slip44:60',
21
+ 'poa-network-core': 'eip155:99/slip44:60'
22
+ };
package/lib/index.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from "./data";
package/lib/index.js ADDED
@@ -0,0 +1,17 @@
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("./data"), exports);
package/package.json ADDED
@@ -0,0 +1,39 @@
1
+ {
2
+ "name": "@pioneer-platform/pioneer-caip",
3
+ "version": "8.1.72",
4
+ "main": "./lib/index.js",
5
+ "types": "./lib/main.d.ts",
6
+ "_moduleAliases": {
7
+ "@coins": "lib/coins"
8
+ },
9
+ "scripts": {
10
+ "npm": "npm i",
11
+ "build": "tsc -p .",
12
+ "test": "npm run build && node __tests__/test-module.js",
13
+ "build:watch": "npm run build && onchange 'src/**/*.ts' -- npm run build",
14
+ "prepublish": "npm run build"
15
+ },
16
+ "dependencies": {
17
+ "bech32": "^1.1.4",
18
+ "bignumber.js": "^9.0.1",
19
+ "bitcoin-regex": "^2.0.0",
20
+ "bitcoincash-regex": "^1.1.8",
21
+ "bs58check": "^3.0.1",
22
+ "crypto-js": "^4.0.0",
23
+ "dash-regex": "^1.0.10",
24
+ "dogecoin-regex": "^1.0.9",
25
+ "ethereum-regex": "^1.1.12",
26
+ "ethereum-tx-decoder": "^3.0.0",
27
+ "litecoin-regex": "^1.0.8",
28
+ "monero-regex": "^1.0.8",
29
+ "neo-regex": "^1.0.7",
30
+ "ripple-regex": "^1.1.8"
31
+ },
32
+ "devDependencies": {
33
+ "@types/express": "^4.17.6",
34
+ "@types/node": "^13.13.50",
35
+ "nodemon": "^2.0.3",
36
+ "typescript": "^5.0.2"
37
+ },
38
+ "gitHead": "8c626a669f7045d1eb9c00252d9a81845a57fa50"
39
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,13 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "es5",
4
+ "module": "commonjs",
5
+ "lib": ["es6", "es2015", "dom"],
6
+ "declaration": true,
7
+ "outDir": "lib",
8
+ "rootDir": "src",
9
+ "strict": true,
10
+ "types": ["node"],
11
+ "esModuleInterop": true
12
+ }
13
+ }