Skip to content

Commit d97f30d

Browse files
Merge pull request #1 from niekvangogh/master
Fixed npm publish
2 parents 48023f8 + 4102eaa commit d97f30d

File tree

6 files changed

+277
-6
lines changed

6 files changed

+277
-6
lines changed

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ jobs:
3030
registry-url: https://registry.npmjs.org/
3131
- run: npm ci
3232
- run: npm run build
33-
- run: npm publish
33+
- run: npm publish ./dist
3434
env:
3535
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

package-lock.json

Lines changed: 272 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "whmcs-node",
3-
"version": "1.0.4",
3+
"version": "1.0.5",
44
"description": "",
55
"main": "src/index.ts",
66
"scripts": {

src/interface/billing/update-invoice.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export interface UpdateInvoiceRequest {
88
date?: string;
99
duedate?: string;
1010
datepaid?: string;
11-
notes?: StorageManager;
11+
notes?: string;
1212
itemdescription?: string[];
1313
itemamount?: number[];
1414
itemtaxed?: boolean[];

src/interface/support/add-announcement.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export interface AddAnnouncementRequest {
22
date: string;
33
title: string;
4-
announcement: SVGAnimatedString;
4+
announcement: string;
55
published?: boolean;
66
}
77

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"compilerOptions": {
3+
"lib": [ "es2015" ],
34
"module": "commonjs",
45
"declaration": true,
56
"alwaysStrict": true,

0 commit comments

Comments
 (0)