@bitgo/public-types 6.40.0 → 6.40.1

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.
@@ -44,7 +44,7 @@ export type ConcreteVaultConfig = t.TypeOf<typeof ConcreteVaultConfig>;
44
44
  export declare const Vault: t.IntersectionC<[t.TypeC<{
45
45
  id: t.StringC;
46
46
  name: t.StringC;
47
- provider: t.UnionC<[t.LiteralC<VaultProtocol.MORPHO>, t.LiteralC<VaultProtocol.CONCRETE_BTCCX>]>;
47
+ protocol: t.UnionC<[t.LiteralC<VaultProtocol.MORPHO>, t.LiteralC<VaultProtocol.CONCRETE_BTCCX>]>;
48
48
  status: t.UnionC<[t.LiteralC<VaultStatus.ACTIVE>, t.LiteralC<VaultStatus.PAUSED>, t.LiteralC<VaultStatus.DISABLED>]>;
49
49
  coin: t.StringC;
50
50
  assetToken: t.StringC;
@@ -68,7 +68,7 @@ export type Vault = t.TypeOf<typeof Vault>;
68
68
  export declare const GetVaultResponse: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
69
69
  id: t.StringC;
70
70
  name: t.StringC;
71
- provider: t.UnionC<[t.LiteralC<VaultProtocol.MORPHO>, t.LiteralC<VaultProtocol.CONCRETE_BTCCX>]>;
71
+ protocol: t.UnionC<[t.LiteralC<VaultProtocol.MORPHO>, t.LiteralC<VaultProtocol.CONCRETE_BTCCX>]>;
72
72
  status: t.UnionC<[t.LiteralC<VaultStatus.ACTIVE>, t.LiteralC<VaultStatus.PAUSED>, t.LiteralC<VaultStatus.DISABLED>]>;
73
73
  coin: t.StringC;
74
74
  assetToken: t.StringC;
@@ -110,7 +110,7 @@ export declare const ListVaultsResponse: t.TypeC<{
110
110
  vaults: t.ArrayC<t.IntersectionC<[t.TypeC<{
111
111
  id: t.StringC;
112
112
  name: t.StringC;
113
- provider: t.UnionC<[t.LiteralC<VaultProtocol.MORPHO>, t.LiteralC<VaultProtocol.CONCRETE_BTCCX>]>;
113
+ protocol: t.UnionC<[t.LiteralC<VaultProtocol.MORPHO>, t.LiteralC<VaultProtocol.CONCRETE_BTCCX>]>;
114
114
  status: t.UnionC<[t.LiteralC<VaultStatus.ACTIVE>, t.LiteralC<VaultStatus.PAUSED>, t.LiteralC<VaultStatus.DISABLED>]>;
115
115
  coin: t.StringC;
116
116
  assetToken: t.StringC;
@@ -81,7 +81,7 @@ exports.Vault = t.intersection([
81
81
  t.type({
82
82
  id: t.string,
83
83
  name: t.string,
84
- provider: exports.VaultProtocolType,
84
+ protocol: exports.VaultProtocolType,
85
85
  status: exports.VaultStatusType,
86
86
  coin: t.string,
87
87
  assetToken: t.string,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitgo/public-types",
3
- "version": "6.40.0",
3
+ "version": "6.40.1",
4
4
  "description": "Collection of types exposed externally as part of the BitGo public API",
5
5
  "license": "UNLICENSED",
6
6
  "author": "",
@@ -76,7 +76,7 @@ export const Vault = t.intersection([
76
76
  t.type({
77
77
  id: t.string,
78
78
  name: t.string,
79
- provider: VaultProtocolType,
79
+ protocol: VaultProtocolType,
80
80
  status: VaultStatusType,
81
81
  coin: t.string,
82
82
  assetToken: t.string,