@bitgo/public-types 5.95.0 → 5.96.0

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.
@@ -1,2 +1,3 @@
1
+ export * from "./keyCurve";
1
2
  export * from "./keyGenState";
2
3
  export * from "./keyGenType";
@@ -14,6 +14,7 @@ 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
+ __exportStar(require("./keyCurve"), exports);
17
18
  __exportStar(require("./keyGenState"), exports);
18
19
  __exportStar(require("./keyGenType"), exports);
19
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/schema/keyGen/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,+CAA6B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/schema/keyGen/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,gDAA8B;AAC9B,+CAA6B"}
@@ -0,0 +1,7 @@
1
+ import * as t from "io-ts";
2
+ export declare enum KeyCurveEnum {
3
+ EdDSA = "EdDSA",
4
+ ECDSA = "ECDSA"
5
+ }
6
+ export declare const KeyCurve: t.KeyofC<typeof KeyCurveEnum>;
7
+ export type KeyCurve = t.TypeOf<typeof KeyCurve>;
@@ -0,0 +1,34 @@
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 (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.KeyCurve = exports.KeyCurveEnum = void 0;
27
+ const t = __importStar(require("io-ts"));
28
+ var KeyCurveEnum;
29
+ (function (KeyCurveEnum) {
30
+ KeyCurveEnum["EdDSA"] = "EdDSA";
31
+ KeyCurveEnum["ECDSA"] = "ECDSA";
32
+ })(KeyCurveEnum || (exports.KeyCurveEnum = KeyCurveEnum = {}));
33
+ exports.KeyCurve = t.keyof(KeyCurveEnum);
34
+ //# sourceMappingURL=keyCurve.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"keyCurve.js","sourceRoot":"","sources":["../../../../src/schema/keyGen/keyCurve.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAE3B,IAAY,YAGX;AAHD,WAAY,YAAY;IACtB,+BAAe,CAAA;IACf,+BAAe,CAAA;AACjB,CAAC,EAHW,YAAY,4BAAZ,YAAY,QAGvB;AACY,QAAA,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitgo/public-types",
3
- "version": "5.95.0",
3
+ "version": "5.96.0",
4
4
  "description": "Collection of types exposed externally as part of the BitGo public API",
5
5
  "license": "UNLICENSED",
6
6
  "author": "",
@@ -1,2 +1,3 @@
1
+ export * from "./keyCurve";
1
2
  export * from "./keyGenState";
2
3
  export * from "./keyGenType";
@@ -0,0 +1,8 @@
1
+ import * as t from "io-ts";
2
+
3
+ export enum KeyCurveEnum {
4
+ EdDSA = "EdDSA",
5
+ ECDSA = "ECDSA",
6
+ }
7
+ export const KeyCurve = t.keyof(KeyCurveEnum);
8
+ export type KeyCurve = t.TypeOf<typeof KeyCurve>;