@daimo/pay-common 1.8.4 → 1.8.5

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daimo/pay-common",
3
- "version": "1.8.4",
3
+ "version": "1.8.5",
4
4
  "description": "Daimo Pay shared types and utilities",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,32 +0,0 @@
1
- export declare enum PaymentMethod {
2
- Binance = "Binance",
3
- Coinbase = "Coinbase",
4
- Daimo = "Daimo",
5
- ExternalChains = "ExternalChains",
6
- EVMWallets = "EVMWallets",
7
- Lemon = "Lemon",
8
- RampNetwork = "RampNetwork",
9
- SolanaWallets = "SolanaWallets"
10
- }
11
- export declare enum PaymentMethodType {
12
- /** Payment method that links out to a deposit address. */
13
- DepositAddress = "DepositAddress",
14
- /** Pay with an EVM wallet. */
15
- EVMWallets = "EVMWallets",
16
- /** Payment method that links out to an external website. */
17
- External = "External",
18
- /** Pay with a Solana wallet. */
19
- SolanaWallets = "SolanaWallets"
20
- }
21
- export type PaymentMethodMetadata = {
22
- id: PaymentMethod;
23
- type: PaymentMethodType;
24
- cta: string;
25
- disabled: boolean;
26
- logos?: {
27
- uri: string;
28
- shape: "circle" | "squircle";
29
- }[];
30
- message?: string;
31
- minimumUsd?: number;
32
- };
package/dist/apiTypes.js DELETED
@@ -1,27 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PaymentMethodType = exports.PaymentMethod = void 0;
4
- var PaymentMethod;
5
- (function (PaymentMethod) {
6
- PaymentMethod["Binance"] = "Binance";
7
- PaymentMethod["Coinbase"] = "Coinbase";
8
- PaymentMethod["Daimo"] = "Daimo";
9
- // ChangeNow chains. Bitcoin, Litecoin, Doge, Tron, etc.
10
- PaymentMethod["ExternalChains"] = "ExternalChains";
11
- PaymentMethod["EVMWallets"] = "EVMWallets";
12
- PaymentMethod["Lemon"] = "Lemon";
13
- PaymentMethod["RampNetwork"] = "RampNetwork";
14
- PaymentMethod["SolanaWallets"] = "SolanaWallets";
15
- })(PaymentMethod || (exports.PaymentMethod = PaymentMethod = {}));
16
- var PaymentMethodType;
17
- (function (PaymentMethodType) {
18
- /** Payment method that links out to a deposit address. */
19
- PaymentMethodType["DepositAddress"] = "DepositAddress";
20
- /** Pay with an EVM wallet. */
21
- PaymentMethodType["EVMWallets"] = "EVMWallets";
22
- /** Payment method that links out to an external website. */
23
- PaymentMethodType["External"] = "External";
24
- /** Pay with a Solana wallet. */
25
- PaymentMethodType["SolanaWallets"] = "SolanaWallets";
26
- })(PaymentMethodType || (exports.PaymentMethodType = PaymentMethodType = {}));
27
- //# sourceMappingURL=apiTypes.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"apiTypes.js","sourceRoot":"","sources":["../src/apiTypes.ts"],"names":[],"mappings":";;;AAAA,IAAY,aAUX;AAVD,WAAY,aAAa;IACvB,oCAAmB,CAAA;IACnB,sCAAqB,CAAA;IACrB,gCAAe,CAAA;IACf,wDAAwD;IACxD,kDAAiC,CAAA;IACjC,0CAAyB,CAAA;IACzB,gCAAe,CAAA;IACf,4CAA2B,CAAA;IAC3B,gDAA+B,CAAA;AACjC,CAAC,EAVW,aAAa,6BAAb,aAAa,QAUxB;AAED,IAAY,iBASX;AATD,WAAY,iBAAiB;IAC3B,0DAA0D;IAC1D,sDAAiC,CAAA;IACjC,8BAA8B;IAC9B,8CAAyB,CAAA;IACzB,4DAA4D;IAC5D,0CAAqB,CAAA;IACrB,gCAAgC;IAChC,oDAA+B,CAAA;AACjC,CAAC,EATW,iBAAiB,iCAAjB,iBAAiB,QAS5B"}