@coin-voyage/shared 2.2.0-beta.3 → 2.2.0-beta.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/dist/types/api.d.ts +3 -2
- package/package.json +20 -5
package/dist/types/api.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import z from "zod";
|
|
2
|
+
import { ChainId, ChainType, Currency, CurrencyAmount, CurrencyBase, CurrencyWithAmount, FiatCurrency, PaymentData, PayOrderStatus, QuoteWithCurrency, zPayOrderMetadata } from "../common";
|
|
2
3
|
export type PayOrderParams = {
|
|
3
4
|
/**
|
|
4
5
|
* Intent of the order.
|
|
@@ -7,7 +8,7 @@ export type PayOrderParams = {
|
|
|
7
8
|
/**
|
|
8
9
|
* Metadata to attach to the payOrder.
|
|
9
10
|
*/
|
|
10
|
-
metadata?:
|
|
11
|
+
metadata?: z.input<typeof zPayOrderMetadata>;
|
|
11
12
|
};
|
|
12
13
|
export type PayOrderQuoteParams = {
|
|
13
14
|
wallet_address: string;
|
package/package.json
CHANGED
|
@@ -1,21 +1,35 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coin-voyage/shared",
|
|
3
3
|
"description": "Shared utilities for Coin Voyage",
|
|
4
|
-
"version": "2.2.0-beta.
|
|
4
|
+
"version": "2.2.0-beta.5",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"exports": {
|
|
8
|
-
"./*":
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
"./*": {
|
|
9
|
+
"types": "./dist/*/index.d.ts",
|
|
10
|
+
"default": "./dist/*/index.js"
|
|
11
|
+
},
|
|
12
|
+
"./common": {
|
|
13
|
+
"types": "./dist/common/index.d.ts",
|
|
14
|
+
"default": "./dist/common/index.js"
|
|
15
|
+
},
|
|
16
|
+
"./common/chains": {
|
|
17
|
+
"types": "./dist/common/chains.d.ts",
|
|
18
|
+
"default": "./dist/common/chains.js"
|
|
19
|
+
}
|
|
11
20
|
},
|
|
12
21
|
"files": [
|
|
13
22
|
"dist"
|
|
14
23
|
],
|
|
15
24
|
"typesVersions": {
|
|
16
25
|
"*": {
|
|
26
|
+
"common": [
|
|
27
|
+
"dist/common/index.d.ts"
|
|
28
|
+
],
|
|
29
|
+
"common/chains": [
|
|
30
|
+
"dist/common/chains.d.ts"
|
|
31
|
+
],
|
|
17
32
|
"*": [
|
|
18
|
-
"dist/*",
|
|
19
33
|
"dist/*/index.d.ts"
|
|
20
34
|
]
|
|
21
35
|
}
|
|
@@ -31,6 +45,7 @@
|
|
|
31
45
|
"release:build": "pnpm clean && pnpm build",
|
|
32
46
|
"pre:release": "pnpm version prerelease --preid=beta",
|
|
33
47
|
"pre:publish": "pnpm publish --access public --tag beta --no-git-checks",
|
|
48
|
+
"pre:steps": "pnpm pre:release && pnpm release:build && pnpm pre:publish",
|
|
34
49
|
"release": "pnpm publish --access public --no-git-checks",
|
|
35
50
|
"type-check": "tsc --noEmit",
|
|
36
51
|
"test": "vitest run"
|