@bitgo/public-types 2.6.0 → 2.6.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.
@@ -39,7 +39,12 @@ export declare const MPCv2SignatureShareRound1Output: t.IntersectionC<[t.TypeC<{
39
39
  readonly 1: 1;
40
40
  readonly 2: 2;
41
41
  }>;
42
- message: t.StringC;
42
+ to: t.KeyofC<{
43
+ readonly 0: 0;
44
+ readonly 1: 1;
45
+ readonly 2: 2;
46
+ }>;
47
+ encryptedMessage: t.StringC;
43
48
  signature: t.StringC;
44
49
  }>;
45
50
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"signingRound.d.ts","sourceRoot":"","sources":["../../../../../src/schema/mpcv2/signing/signingRound.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAI3B,eAAO,MAAM,uBAAuB;;EAElC,CAAC;AAKH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;IAWzC,CAAC;AAEH,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CACnD,OAAO,8BAA8B,CACtC,CAAC;AAKF,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;IAY1C,CAAC;AAEH,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,MAAM,CACpD,OAAO,+BAA+B,CACvC,CAAC;AAKF,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAYzC,CAAC;AAEH,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CACnD,OAAO,8BAA8B,CACtC,CAAC;AAKF,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;IAW1C,CAAC;AAEH,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,MAAM,CACpD,OAAO,+BAA+B,CACvC,CAAC;AAKF,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;IAWzC,CAAC;AAEH,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CACnD,OAAO,8BAA8B,CACtC,CAAC"}
1
+ {"version":3,"file":"signingRound.d.ts","sourceRoot":"","sources":["../../../../../src/schema/mpcv2/signing/signingRound.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAI3B,eAAO,MAAM,uBAAuB;;EAElC,CAAC;AAKH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;IAWzC,CAAC;AAEH,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CACnD,OAAO,8BAA8B,CACtC,CAAC;AAKF,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAY1C,CAAC;AAEH,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,MAAM,CACpD,OAAO,+BAA+B,CACvC,CAAC;AAKF,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAYzC,CAAC;AAEH,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CACnD,OAAO,8BAA8B,CACtC,CAAC;AAKF,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;IAW1C,CAAC;AAEH,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,MAAM,CACpD,OAAO,+BAA+B,CACvC,CAAC;AAKF,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;IAWzC,CAAC;AAEH,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CACnD,OAAO,8BAA8B,CACtC,CAAC"}
@@ -45,7 +45,7 @@ exports.MPCv2SignatureShareRound1Output = t.intersection([
45
45
  type: t.literal("round1Output"),
46
46
  data: t.type({
47
47
  msg1: common_1.MPCv2BroadcastMessage,
48
- msg2: common_1.MPCv2BroadcastMessage,
48
+ msg2: common_1.MPCv2P2PMessage,
49
49
  }),
50
50
  }, "MPCv2SignatureShareRound1Output"),
51
51
  ]);
@@ -1 +1 @@
1
- {"version":3,"file":"signingRound.js","sourceRoot":"","sources":["../../../../../src/schema/mpcv2/signing/signingRound.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,sCAAmE;AACnE,2DAAwD;AAE3C,QAAA,uBAAuB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC5C,IAAI,EAAE,qCAAiB;CACxB,CAAC,CAAC;AAKU,QAAA,8BAA8B,GAAG,CAAC,CAAC,YAAY,CAAC;IAC3D,+BAAuB;IACvB,CAAC,CAAC,IAAI,CACJ;QACE,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC;QAC9B,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC;YACX,IAAI,EAAE,8BAAqB;SAC5B,CAAC;KACH,EACD,2BAA2B,CAC5B;CACF,CAAC,CAAC;AASU,QAAA,+BAA+B,GAAG,CAAC,CAAC,YAAY,CAAC;IAC5D,+BAAuB;IACvB,CAAC,CAAC,IAAI,CACJ;QACE,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC;QAC/B,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC;YACX,IAAI,EAAE,8BAAqB;YAC3B,IAAI,EAAE,8BAAqB;SAC5B,CAAC;KACH,EACD,iCAAiC,CAClC;CACF,CAAC,CAAC;AASU,QAAA,8BAA8B,GAAG,CAAC,CAAC,YAAY,CAAC;IAC3D,+BAAuB;IACvB,CAAC,CAAC,IAAI,CACJ;QACE,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC;QAC9B,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC;YACX,IAAI,EAAE,wBAAe;YACrB,IAAI,EAAE,wBAAe;SACtB,CAAC;KACH,EACD,gCAAgC,CACjC;CACF,CAAC,CAAC;AASU,QAAA,+BAA+B,GAAG,CAAC,CAAC,YAAY,CAAC;IAC5D,+BAAuB;IACvB,CAAC,CAAC,IAAI,CACJ;QACE,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC;QAC/B,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC;YACX,IAAI,EAAE,wBAAe;SACtB,CAAC;KACH,EACD,iCAAiC,CAClC;CACF,CAAC,CAAC;AASU,QAAA,8BAA8B,GAAG,CAAC,CAAC,YAAY,CAAC;IAC3D,+BAAuB;IACvB,CAAC,CAAC,IAAI,CACJ;QACE,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC;QAC9B,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC;YACX,IAAI,EAAE,8BAAqB;SAC5B,CAAC;KACH,EACD,gCAAgC,CACjC;CACF,CAAC,CAAC"}
1
+ {"version":3,"file":"signingRound.js","sourceRoot":"","sources":["../../../../../src/schema/mpcv2/signing/signingRound.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,sCAAmE;AACnE,2DAAwD;AAE3C,QAAA,uBAAuB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC5C,IAAI,EAAE,qCAAiB;CACxB,CAAC,CAAC;AAKU,QAAA,8BAA8B,GAAG,CAAC,CAAC,YAAY,CAAC;IAC3D,+BAAuB;IACvB,CAAC,CAAC,IAAI,CACJ;QACE,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC;QAC9B,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC;YACX,IAAI,EAAE,8BAAqB;SAC5B,CAAC;KACH,EACD,2BAA2B,CAC5B;CACF,CAAC,CAAC;AASU,QAAA,+BAA+B,GAAG,CAAC,CAAC,YAAY,CAAC;IAC5D,+BAAuB;IACvB,CAAC,CAAC,IAAI,CACJ;QACE,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC;QAC/B,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC;YACX,IAAI,EAAE,8BAAqB;YAC3B,IAAI,EAAE,wBAAe;SACtB,CAAC;KACH,EACD,iCAAiC,CAClC;CACF,CAAC,CAAC;AASU,QAAA,8BAA8B,GAAG,CAAC,CAAC,YAAY,CAAC;IAC3D,+BAAuB;IACvB,CAAC,CAAC,IAAI,CACJ;QACE,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC;QAC9B,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC;YACX,IAAI,EAAE,wBAAe;YACrB,IAAI,EAAE,wBAAe;SACtB,CAAC;KACH,EACD,gCAAgC,CACjC;CACF,CAAC,CAAC;AASU,QAAA,+BAA+B,GAAG,CAAC,CAAC,YAAY,CAAC;IAC5D,+BAAuB;IACvB,CAAC,CAAC,IAAI,CACJ;QACE,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC;QAC/B,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC;YACX,IAAI,EAAE,wBAAe;SACtB,CAAC;KACH,EACD,iCAAiC,CAClC;CACF,CAAC,CAAC;AASU,QAAA,8BAA8B,GAAG,CAAC,CAAC,YAAY,CAAC;IAC3D,+BAAuB;IACvB,CAAC,CAAC,IAAI,CACJ;QACE,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC;QAC9B,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC;YACX,IAAI,EAAE,8BAAqB;SAC5B,CAAC;KACH,EACD,gCAAgC,CACjC;CACF,CAAC,CAAC"}
@@ -6,7 +6,6 @@ export declare const AddWalletWebhookRequestBody: {
6
6
  numConfirmations: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC, t.UndefinedC]>;
7
7
  allToken: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
8
8
  listenToFailureStates: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
9
- includeRbf: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
10
9
  txRequestStates: t.UnionC<[t.Type<("pendingApproval" | "canceled" | "rejected" | "initialized" | "pendingDelivery" | "delivered" | "pendingUserSignature" | "pendingUserCommitment" | "pendingUserRShare" | "pendingUserGShare" | "readyToSend" | "signed" | "failed")[], ("pendingApproval" | "canceled" | "rejected" | "initialized" | "pendingDelivery" | "delivered" | "pendingUserSignature" | "pendingUserCommitment" | "pendingUserRShare" | "pendingUserGShare" | "readyToSend" | "signed" | "failed")[], unknown>, t.UndefinedC]>;
11
10
  txRequestTransactionStates: t.UnionC<[t.Type<("rejected" | "initialized" | "delivered" | "signed" | "pendingSignature" | "eddsaPendingCommitment" | "eddsaPendingRShare" | "eddsaPendingGShare" | "readyToCombineShares" | "held" | "invalidSignature")[], ("rejected" | "initialized" | "delivered" | "signed" | "pendingSignature" | "eddsaPendingCommitment" | "eddsaPendingRShare" | "eddsaPendingGShare" | "readyToCombineShares" | "held" | "invalidSignature")[], unknown>, t.UndefinedC]>;
12
11
  };
@@ -17,7 +16,6 @@ export declare const AddWalletWebhookRequestBodyC: t.TypeC<{
17
16
  numConfirmations: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC, t.UndefinedC]>;
18
17
  allToken: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
19
18
  listenToFailureStates: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
20
- includeRbf: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
21
19
  txRequestStates: t.UnionC<[t.Type<("pendingApproval" | "canceled" | "rejected" | "initialized" | "pendingDelivery" | "delivered" | "pendingUserSignature" | "pendingUserCommitment" | "pendingUserRShare" | "pendingUserGShare" | "readyToSend" | "signed" | "failed")[], ("pendingApproval" | "canceled" | "rejected" | "initialized" | "pendingDelivery" | "delivered" | "pendingUserSignature" | "pendingUserCommitment" | "pendingUserRShare" | "pendingUserGShare" | "readyToSend" | "signed" | "failed")[], unknown>, t.UndefinedC]>;
22
20
  txRequestTransactionStates: t.UnionC<[t.Type<("rejected" | "initialized" | "delivered" | "signed" | "pendingSignature" | "eddsaPendingCommitment" | "eddsaPendingRShare" | "eddsaPendingGShare" | "readyToCombineShares" | "held" | "invalidSignature")[], ("rejected" | "initialized" | "delivered" | "signed" | "pendingSignature" | "eddsaPendingCommitment" | "eddsaPendingRShare" | "eddsaPendingGShare" | "readyToCombineShares" | "held" | "invalidSignature")[], unknown>, t.UndefinedC]>;
23
21
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"addWalletWebhookRequest.d.ts","sourceRoot":"","sources":["../../../../src/schema/webhook/addWalletWebhookRequest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAO3B,eAAO,MAAM,2BAA2B;;;;;;;;;;CAUvC,CAAC;AACF,eAAO,MAAM,4BAA4B;;;;;;;;;;EAEvC,CAAC;AAEH,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAChD,OAAO,4BAA4B,CACpC,CAAC"}
1
+ {"version":3,"file":"addWalletWebhookRequest.d.ts","sourceRoot":"","sources":["../../../../src/schema/webhook/addWalletWebhookRequest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAO3B,eAAO,MAAM,2BAA2B;;;;;;;;;CASvC,CAAC;AACF,eAAO,MAAM,4BAA4B;;;;;;;;;EAEvC,CAAC;AAEH,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAChD,OAAO,4BAA4B,CACpC,CAAC"}
@@ -37,7 +37,6 @@ exports.AddWalletWebhookRequestBody = {
37
37
  numConfirmations: t.union([t.number, io_ts_types_1.NumberFromString, t.undefined]),
38
38
  allToken: (0, optional_1.Optional)(t.boolean),
39
39
  listenToFailureStates: (0, optional_1.Optional)(t.boolean),
40
- includeRbf: (0, optional_1.Optional)(t.boolean),
41
40
  txRequestStates: (0, optional_1.Optional)(t.array(transactionRequestState_1.TransactionRequestState)),
42
41
  txRequestTransactionStates: (0, optional_1.Optional)(t.array(transactionState_1.TransactionState)),
43
42
  };
@@ -1 +1 @@
1
- {"version":3,"file":"addWalletWebhookRequest.js","sourceRoot":"","sources":["../../../../src/schema/webhook/addWalletWebhookRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA+D;AAC/D,mDAAgD;AAChD,2FAAwF;AACxF,6EAA0E;AAC1E,+CAAkD;AAErC,QAAA,2BAA2B,GAAG;IACzC,IAAI,EAAE,+BAAiB;IACvB,GAAG,EAAE,4BAAc;IACnB,KAAK,EAAE,IAAA,mBAAQ,EAAC,CAAC,CAAC,MAAM,CAAC;IACzB,gBAAgB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,8BAAgB,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC;IACpE,QAAQ,EAAE,IAAA,mBAAQ,EAAC,CAAC,CAAC,OAAO,CAAC;IAC7B,qBAAqB,EAAE,IAAA,mBAAQ,EAAC,CAAC,CAAC,OAAO,CAAC;IAC1C,UAAU,EAAE,IAAA,mBAAQ,EAAC,CAAC,CAAC,OAAO,CAAC;IAC/B,eAAe,EAAE,IAAA,mBAAQ,EAAC,CAAC,CAAC,KAAK,CAAC,iDAAuB,CAAC,CAAC;IAC3D,0BAA0B,EAAE,IAAA,mBAAQ,EAAC,CAAC,CAAC,KAAK,CAAC,mCAAgB,CAAC,CAAC;CAChE,CAAC;AACW,QAAA,4BAA4B,GAAG,CAAC,CAAC,IAAI,CAAC;IACjD,GAAG,mCAA2B;CAC/B,CAAC,CAAC"}
1
+ {"version":3,"file":"addWalletWebhookRequest.js","sourceRoot":"","sources":["../../../../src/schema/webhook/addWalletWebhookRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA+D;AAC/D,mDAAgD;AAChD,2FAAwF;AACxF,6EAA0E;AAC1E,+CAAkD;AAErC,QAAA,2BAA2B,GAAG;IACzC,IAAI,EAAE,+BAAiB;IACvB,GAAG,EAAE,4BAAc;IACnB,KAAK,EAAE,IAAA,mBAAQ,EAAC,CAAC,CAAC,MAAM,CAAC;IACzB,gBAAgB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,8BAAgB,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC;IACpE,QAAQ,EAAE,IAAA,mBAAQ,EAAC,CAAC,CAAC,OAAO,CAAC;IAC7B,qBAAqB,EAAE,IAAA,mBAAQ,EAAC,CAAC,CAAC,OAAO,CAAC;IAC1C,eAAe,EAAE,IAAA,mBAAQ,EAAC,CAAC,CAAC,KAAK,CAAC,iDAAuB,CAAC,CAAC;IAC3D,0BAA0B,EAAE,IAAA,mBAAQ,EAAC,CAAC,CAAC,KAAK,CAAC,mCAAgB,CAAC,CAAC;CAChE,CAAC;AACW,QAAA,4BAA4B,GAAG,CAAC,CAAC,IAAI,CAAC;IACjD,GAAG,mCAA2B;CAC/B,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitgo/public-types",
3
- "version": "2.6.0",
3
+ "version": "2.6.2",
4
4
  "description": "Collection of types exposed externally as part of the BitGo public API",
5
5
  "license": "UNLICENSED",
6
6
  "author": "",