@bitgo-beta/utxo-staking 0.0.0-semantic-release-managed

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.
Files changed (50) hide show
  1. package/LICENSE +191 -0
  2. package/README.md +3 -0
  3. package/dist/src/babylon/delegationMessage.d.ts +38 -0
  4. package/dist/src/babylon/delegationMessage.d.ts.map +1 -0
  5. package/dist/src/babylon/delegationMessage.js +259 -0
  6. package/dist/src/babylon/descriptor.d.ts +48 -0
  7. package/dist/src/babylon/descriptor.d.ts.map +1 -0
  8. package/dist/src/babylon/descriptor.js +97 -0
  9. package/dist/src/babylon/index.d.ts +6 -0
  10. package/dist/src/babylon/index.d.ts.map +1 -0
  11. package/dist/src/babylon/index.js +49 -0
  12. package/dist/src/babylon/network.d.ts +7 -0
  13. package/dist/src/babylon/network.d.ts.map +1 -0
  14. package/dist/src/babylon/network.js +66 -0
  15. package/dist/src/babylon/params.mainnet.json +152 -0
  16. package/dist/src/babylon/params.testnet.json +212 -0
  17. package/dist/src/babylon/parseDescriptor.d.ts +26 -0
  18. package/dist/src/babylon/parseDescriptor.d.ts.map +1 -0
  19. package/dist/src/babylon/parseDescriptor.js +159 -0
  20. package/dist/src/babylon/stakingManager.d.ts +6 -0
  21. package/dist/src/babylon/stakingManager.d.ts.map +1 -0
  22. package/dist/src/babylon/stakingManager.js +120 -0
  23. package/dist/src/babylon/stakingParams.d.ts +40 -0
  24. package/dist/src/babylon/stakingParams.d.ts.map +1 -0
  25. package/dist/src/babylon/stakingParams.js +132 -0
  26. package/dist/src/babylon/undelegation/UndelegationResponse.d.ts +24 -0
  27. package/dist/src/babylon/undelegation/UndelegationResponse.d.ts.map +1 -0
  28. package/dist/src/babylon/undelegation/UndelegationResponse.js +55 -0
  29. package/dist/src/babylon/undelegation/index.d.ts +3 -0
  30. package/dist/src/babylon/undelegation/index.d.ts.map +1 -0
  31. package/dist/src/babylon/undelegation/index.js +19 -0
  32. package/dist/src/babylon/undelegation/unbonding.d.ts +16 -0
  33. package/dist/src/babylon/undelegation/unbonding.d.ts.map +1 -0
  34. package/dist/src/babylon/undelegation/unbonding.js +111 -0
  35. package/dist/src/coreDao/descriptor.d.ts +18 -0
  36. package/dist/src/coreDao/descriptor.d.ts.map +1 -0
  37. package/dist/src/coreDao/descriptor.js +38 -0
  38. package/dist/src/coreDao/index.d.ts +4 -0
  39. package/dist/src/coreDao/index.d.ts.map +1 -0
  40. package/dist/src/coreDao/index.js +20 -0
  41. package/dist/src/coreDao/opReturn.d.ts +41 -0
  42. package/dist/src/coreDao/opReturn.d.ts.map +1 -0
  43. package/dist/src/coreDao/opReturn.js +183 -0
  44. package/dist/src/coreDao/transaction.d.ts +28 -0
  45. package/dist/src/coreDao/transaction.d.ts.map +1 -0
  46. package/dist/src/coreDao/transaction.js +34 -0
  47. package/dist/src/index.d.ts +3 -0
  48. package/dist/src/index.d.ts.map +1 -0
  49. package/dist/src/index.js +39 -0
  50. package/package.json +62 -0
@@ -0,0 +1,39 @@
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.babylon = exports.coreDao = void 0;
37
+ exports.coreDao = __importStar(require("./coreDao"));
38
+ exports.babylon = __importStar(require("./babylon"));
39
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQUEscURBQXFDO0FBQ3JDLHFEQUFxQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGFzIGNvcmVEYW8gZnJvbSAnLi9jb3JlRGFvJztcbmV4cG9ydCAqIGFzIGJhYnlsb24gZnJvbSAnLi9iYWJ5bG9uJztcbiJdfQ==
package/package.json ADDED
@@ -0,0 +1,62 @@
1
+ {
2
+ "name": "@bitgo-beta/utxo-staking",
3
+ "version": "0.0.0-semantic-release-managed",
4
+ "description": "BitGo SDK for build UTXO staking transactions",
5
+ "main": "./dist/src/index.js",
6
+ "types": "./dist/src/index.d.ts",
7
+ "files": [
8
+ "dist/src"
9
+ ],
10
+ "scripts": {
11
+ "build": "yarn tsc --build --incremental --verbose .",
12
+ "fmt": "prettier --write .",
13
+ "check-fmt": "prettier --check .",
14
+ "clean": "rm -r ./dist",
15
+ "lint": "eslint --quiet .",
16
+ "prepare": "npm run build",
17
+ "coverage": "nyc -- npm run unit-test",
18
+ "unit-test": "mocha --recursive \"test/**/*.ts\""
19
+ },
20
+ "author": "BitGo SDK Team <sdkteam@bitgo.com>",
21
+ "license": "MIT",
22
+ "engines": {
23
+ "node": ">=20 <23"
24
+ },
25
+ "repository": {
26
+ "type": "git",
27
+ "url": "https://github.com/BitGo/BitGoJS.git",
28
+ "directory": "modules/utxo-staking"
29
+ },
30
+ "lint-staged": {
31
+ "*.{js,ts}": [
32
+ "yarn prettier --write",
33
+ "yarn eslint --fix"
34
+ ]
35
+ },
36
+ "publishConfig": {
37
+ "access": "public"
38
+ },
39
+ "nyc": {
40
+ "extension": [
41
+ ".ts"
42
+ ]
43
+ },
44
+ "type": "commonjs",
45
+ "dependencies": {
46
+ "@babylonlabs-io/babylon-proto-ts": "1.0.0",
47
+ "@bitgo-beta/babylonlabs-io-btc-staking-ts": "0.0.0-semantic-release-managed",
48
+ "@bitgo-beta/utxo-core": "0.0.0-semantic-release-managed",
49
+ "@bitgo-beta/utxo-lib": "0.0.0-semantic-release-managed",
50
+ "@bitgo/wasm-miniscript": "2.0.0-beta.7",
51
+ "bip174": "npm:@bitgo-forks/bip174@3.1.0-master.4",
52
+ "bip322-js": "^2.0.0",
53
+ "bitcoinjs-lib": "^6.1.7",
54
+ "fp-ts": "^2.16.2",
55
+ "io-ts": "npm:@bitgo-forks/io-ts@2.1.4",
56
+ "io-ts-types": "^0.5.19"
57
+ },
58
+ "devDependencies": {
59
+ "yargs": "^17.7.2"
60
+ },
61
+ "gitHead": "cf1b83546a50fba7d18cf9af363c5663dbec2059"
62
+ }