@distilled.cloud/coinbase 1.0.0-rc.2 → 1.0.0-rc.4

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.
@@ -207,13 +207,11 @@ export const CreateEndUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
207
207
  export const MFAMethodsTotp = /*@__PURE__*/ S.suspend(() => S.Struct({
208
208
  enrolledAt: S.String,
209
209
  })).annotate({ identifier: "MFAMethodsTotp" });
210
- export const MFAMethodsSms = /*@__PURE__*/ S.suspend(() => S.Struct({
211
- enrolledAt: S.String,
212
- })).annotate({ identifier: "MFAMethodsSms" });
210
+ export const MFAMethodsSms = MFAMethodsTotp;
213
211
  export const MFAMethods = /*@__PURE__*/ S.suspend(() => S.Struct({
214
212
  enrollmentPromptedAt: S.optional(S.String),
215
213
  totp: S.optional(MFAMethodsTotp),
216
- sms: S.optional(MFAMethodsSms),
214
+ sms: S.optional(MFAMethodsTotp),
217
215
  })).annotate({ identifier: "MFAMethods" });
218
216
  export const EndUserEvmAccountsList = /*@__PURE__*/ S.Array(S.String);
219
217
  export const EndUserEvmAccountObjectsList = /*@__PURE__*/ S.Array(EndUserEvmAccount);
@@ -1624,38 +1622,16 @@ export const GetEvmSwapPriceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1624
1622
  }).pipe(T.Http({ method: "GET", uri: "/v2/evm/swaps/quote", code: 200 }))).annotate({
1625
1623
  identifier: "GetEvmSwapPriceRequest",
1626
1624
  });
1627
- export const GetSwapPriceResponseFees = /*@__PURE__*/ S.suspend(() => S.Struct({
1628
- gasFee: S.NullOr(TokenFee),
1629
- protocolFee: S.NullOr(TokenFee),
1630
- })).annotate({
1631
- identifier: "GetSwapPriceResponseFees",
1632
- });
1633
- export const GetSwapPriceResponseIssuesAllowance = /*@__PURE__*/ S.suspend(() => S.Struct({
1634
- currentAllowance: S.String,
1635
- spender: S.String,
1636
- })).annotate({
1637
- identifier: "GetSwapPriceResponseIssuesAllowance",
1638
- });
1639
- export const GetSwapPriceResponseIssuesBalance = /*@__PURE__*/ S.suspend(() => S.Struct({
1640
- token: S.String,
1641
- currentBalance: S.String,
1642
- requiredBalance: S.String,
1643
- })).annotate({
1644
- identifier: "GetSwapPriceResponseIssuesBalance",
1645
- });
1646
- export const GetSwapPriceResponseIssues = /*@__PURE__*/ S.suspend(() => S.Struct({
1647
- allowance: S.NullOr(GetSwapPriceResponseIssuesAllowance),
1648
- balance: S.NullOr(GetSwapPriceResponseIssuesBalance),
1649
- simulationIncomplete: S.Boolean,
1650
- })).annotate({
1651
- identifier: "GetSwapPriceResponseIssues",
1652
- });
1625
+ export const GetSwapPriceResponseFees = CreateSwapQuoteResponseFees;
1626
+ export const GetSwapPriceResponseIssuesAllowance = CreateSwapQuoteResponseIssuesAllowance;
1627
+ export const GetSwapPriceResponseIssuesBalance = CreateSwapQuoteResponseIssuesBalance;
1628
+ export const GetSwapPriceResponseIssues = CreateSwapQuoteResponseIssues;
1653
1629
  export const GetSwapPriceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
1654
1630
  blockNumber: S.String,
1655
1631
  toAmount: S.String,
1656
1632
  toToken: S.String,
1657
- fees: GetSwapPriceResponseFees,
1658
- issues: GetSwapPriceResponseIssues,
1633
+ fees: CreateSwapQuoteResponseFees,
1634
+ issues: CreateSwapQuoteResponseIssues,
1659
1635
  liquidityAvailable: S.Boolean,
1660
1636
  minToAmount: S.String,
1661
1637
  fromAmount: S.String,