Skip to content
This repository was archived by the owner on Aug 30, 2022. It is now read-only.

Commit eff4653

Browse files
committed
enforce build before publish
1 parent 2e4ba27 commit eff4653

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

docs/react.makebidparams.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
```typescript
1010
export declare type MakeBidParams = {
1111
listingId: BigNumberish;
12-
bid: BigNumberish;
12+
bid: Price;
1313
};
1414
```

etc/react.api.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ import { NFTMetadata } from '@thirdweb-dev/sdk';
4646
import type { NFTMetadataOrUri } from '@thirdweb-dev/sdk/dist/src/schema';
4747
import { Offer } from '@thirdweb-dev/sdk';
4848
import { Pack } from '@thirdweb-dev/sdk';
49+
import type { Price } from '@thirdweb-dev/sdk';
4950
import type { PublishedMetadata } from '@thirdweb-dev/sdk/dist/src/schema/contracts/custom';
5051
import { QueryAllParams } from '@thirdweb-dev/sdk';
5152
import { QueryClient } from 'react-query';
@@ -170,7 +171,7 @@ export type MagicConnectorType = "magic" | {
170171
// @public (undocumented)
171172
export type MakeBidParams = {
172173
listingId: BigNumberish;
173-
bid: BigNumberish;
174+
bid: Price;
174175
};
175176

176177
// @public

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
"build": "yarn build:lib && yarn extract-api && yarn generate:md-docs && yarn generate-snippets",
2727
"test": "yarn build && yarn test-only",
2828
"test:watch": "vitest watch",
29-
"test-only": "vitest run"
29+
"test-only": "vitest run",
30+
"prepublishOnly": "yarn lint && yarn build"
3031
},
3132
"sideEffects:": false,
3233
"devDependencies": {

0 commit comments

Comments
 (0)